Not a bug

Javascript not working in preview

Michael Reynolds 9 years ago in General updated by Alexander Blach (Developer) 9 years ago 3
My sample has 3 files: index.html, screen.css, and screen.js in the same directory. The preview shows my styled html but the javascript will not run. Checking firebug lite script>inspect screen.js shows in the dropdown but the script window says "Access to restricted URI denied". The javascript code runs when I export it using Dropbox elsewhere so I know it is accessible and working.
Update: The javascript does run! It was my error for not putting 'window.onload' first. Firebug still does say "Access to restricted URI denied" though
Yes, the Firebug integration could be better. I'll try to improve this in future updates.