為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox failing to render US government website https://maps.nwcg.gov/sa/

  • 2 回覆
  • 1 有這個問題
  • 9 次檢視
  • 最近回覆由 firefox928

more options

I have firefox 80.0 on two machines one succesfully renders https://maps.nwcg.gov/sa/ then other does not. Minimal extentions installed and both are on the same firefox account so the extentions are the same

The only difference between the two setups is the failing machine is win10 pro and the working one is win10 home. Infrastructure wise both are on the same LAN with the same setup.

The failing machine gets a js error Error: scriptError

   _ https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   r https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25

vendor.js:25:10839

   <anonymous> https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   signal https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   g https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   signal https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25
   r https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25

Also on the failing machine I tried creating a brand new clean profile (about:profiles) and it still fails with the same JS error.

I have firefox 80.0 on two machines one succesfully renders https://maps.nwcg.gov/sa/ then other does not. Minimal extentions installed and both are on the same firefox account so the extentions are the same The only difference between the two setups is the failing machine is win10 pro and the working one is win10 home. Infrastructure wise both are on the same LAN with the same setup. The failing machine gets a js error Error: scriptError _ https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 r https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 vendor.js:25:10839 <anonymous> https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 signal https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 g https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 signal https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 r https://maps.nwcg.gov/sa/js/vendor.js?v=1.5.202006020329:25 Also on the failing machine I tried creating a brand new clean profile (about:profiles) and it still fails with the same JS error.
附加的畫面擷圖

被選擇的解決方法

Thanks TyDraniu,

Your suggestion actually led to me figuring it out. Screenshot 1 showed 1 important looking 404 on gregorian.js - so I went to the machine that works and it doesn't try and load that script, but then I noticed that there was "en-gb.js" on the machine that doesn't work. So checking language, even in a brand new profile it copied it from my install and was set to British English, changing the browser to American english worked. Obviously there is some language/locale dependent code in the site.

TL;DR - Locale settings were different. British English doesn't work on US gov website.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

Can you go to the Network tab and see, if there any 404 errors for this site?

more options

選擇的解決方法

Thanks TyDraniu,

Your suggestion actually led to me figuring it out. Screenshot 1 showed 1 important looking 404 on gregorian.js - so I went to the machine that works and it doesn't try and load that script, but then I noticed that there was "en-gb.js" on the machine that doesn't work. So checking language, even in a brand new profile it copied it from my install and was set to British English, changing the browser to American english worked. Obviously there is some language/locale dependent code in the site.

TL;DR - Locale settings were different. British English doesn't work on US gov website.