It doesn\'t give an error, and I put a console.log(\'loaded userscript wifi-autologin\'), the console.log works, but the intended effect of the doc
console.log(\'loaded userscript wifi-autologin\')
console.log
To get the value of my drop down box on page load, I use
document.addEventListener('DOMContentLoaded',fnName);
Hope this helps some one.