Allowing Firefox to access local javascript files
If you have HTML/javascript files sitting on your harddisk and you want to open them in firefox and actually use the javascript, you need to change one simple setting.
First, go to about:config (just type it in the address bar and hit enter)
Then filter for “origin”.
Change “security.fileuri.strict_origin_policy” to false.
You should now be able to use local javascript files.