X
Tap here to go to the mobile version of the site.

Support Forum

Firefox not running js on local page but ok on internet

Posted

For some reason firefox has doesnt run a site how it supposed to on my local hard drive. Which is a pain when you are designing. The web site works fine live from the hosting page. It seems to have stopped running js files.

I have even downloaded them from the server and i get exactly the same again. The local site works fine with the dreaded "edge" etc. I am pulling my hair out with this one.

For some reason firefox has doesnt run a site how it supposed to on my local hard drive. Which is a pain when you are designing. The web site works fine live from the hosting page. It seems to have stopped running js files. I have even downloaded them from the server and i get exactly the same again. The local site works fine with the dreaded "edge" etc. I am pulling my hair out with this one.
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17277 solutions 156165 answers

Helpful Reply

See this thread:

  • [/questions/1264400] Is anyone else finding that new (as of couple days ago) Firefox isn't displaying embedded fonts correctly?

A vulnerability exists where if a user opens a locally saved HTML file, this file can use file: URIs to access other files in the same directory or sub-directories if the names are known or guessed.

See this thread: *[[/questions/1264400]] Is anyone else finding that new (as of couple days ago) Firefox isn't displaying embedded fonts correctly? *https://www.mozilla.org/en-US/security/advisories/mfsa2019-21/#CVE-2019-11730 ''A vulnerability exists where if a user opens a locally saved HTML file, this file can use file: URIs to access other files in the same directory or sub-directories if the names are known or guessed.''
Was this helpful to you? 1
Quote

Question owner

So far i have removed all protection from my machne, i have also put the site on memory stick, it works on firefox on all machines i have tested, not the machine i design on.

I have changed the name of the html file and still no different. i even went for a system restore, no effect. safe mode, no effect.

The website is www.bethesdachapel.co.uk. the page uses js to load a common .html page onto all the pages, i called header.html called via js.

If it was something other than just firefox havinghte problem i would have thought it was a general problem, it seams to be a problem only on this machine.

I hope i dont need to to a complete reinstall of windows 10.

So far i have removed all protection from my machne, i have also put the site on memory stick, it works on firefox on all machines i have tested, not the machine i design on. I have changed the name of the html file and still no different. i even went for a system restore, no effect. safe mode, no effect. The website is www.bethesdachapel.co.uk. the page uses js to load a common .html page onto all the pages, i called header.html called via js. If it was something other than just firefox havinghte problem i would have thought it was a general problem, it seams to be a problem only on this machine. I hope i dont need to to a complete reinstall of windows 10.
Was this helpful to you?
Quote

Question owner

one thing i didnt do, and have just done was to check the version of firefox, the other machine were running v67 and all worked fine, when i updated one to v68 they had the problem.

So it seems to be a serious bug in the latest version... a bit of a bugger when i cannot preview a web design except when it goes live.

one thing i didnt do, and have just done was to check the version of firefox, the other machine were running v67 and all worked fine, when i updated one to v68 they had the problem. So it seems to be a serious bug in the latest version... a bit of a bugger when i cannot preview a web design except when it goes live.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17277 solutions 156165 answers

This is a security vulnerability that has been fixed in Firefox 68 and placed behind a pref, so you can override at your own risk as you can read in the report.

All resolved fixed security vulnerabilities:

This is a security vulnerability that has been fixed in Firefox 68 and placed behind a pref, so you can override at your own risk as you can read in the report. All resolved fixed security vulnerabilities: *https://www.mozilla.org/security/known-vulnerabilities/firefox.html *https://www.mozilla.org/en-US/security/advisories/mfsa2019-21/
Was this helpful to you?
Quote

Question owner

ok i just cannot find the preferences this setting is at.

ok i just cannot find the preferences this setting is at.
Was this helpful to you?
Quote

Question owner

sorted, a bit of a pain though, i wonder how many other web designers that use firefox will have this problem..

sorted, a bit of a pain though, i wonder how many other web designers that use firefox will have this problem..
Was this helpful to you?
Quote
mackerbootle 0 solutions 7 answers

YEP, it's a known issue for web designers. I started a thread over on the Mobirise forum because it is breaking icons displaying locally. No issues using all other web browsers, it's only Firefox 68.0 with the issue.

http://forums.mobirise.com/discussion/21485/issues-with-latest-firefox-68-0-previewing-sites-locally

Mack

YEP, it's a known issue for web designers. I started a thread over on the Mobirise forum because it is breaking icons displaying locally. No issues using all other web browsers, it's only Firefox 68.0 with the issue. http://forums.mobirise.com/discussion/21485/issues-with-latest-firefox-68-0-previewing-sites-locally Mack
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8516 solutions 69567 answers

Hi atarian and Mack, I filed a bug proposing an exception for fonts. Those are pretty easy to understand.

However, I don't think there is going to be any built-in exception for XMLHttpRequest() to fetch local files. You'll need to turn off the patch (set privacy.file_unique_origin=false) for those cases.

Hi atarian and Mack, I filed a bug proposing an exception for fonts. Those are pretty easy to understand. However, I don't think there is going to be any built-in exception for XMLHttpRequest() to fetch local files. You'll need to turn off the patch (set privacy.file_unique_origin=false) for those cases.
Was this helpful to you?
Quote
mackerbootle 0 solutions 7 answers

Thankyou jscher2000

Mack

Thankyou jscher2000 Mack
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.