搜尋 Mozilla 技術支援網站

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

了解更多

Javascript on pages won't load

  • 18 回覆
  • 1 有這個問題
  • 7 次檢視
  • 最近回覆由 woodyj1978

more options

Since FF 58, the browser won't fully load the js for many pages.

Since FF 58, the browser won't fully load the js for many pages.
附加的畫面擷圖

由 woodyj1978 於 修改

所有回覆 (18)

more options

Are you using any blocking programs/add-ons?

Start Firefox in Safe Mode {web link} by holding down the <Shift> (Mac=Options) key, and then starting Firefox.

A small dialog should appear. Click Start In Safe Mode (not Refresh). Is the problem still there?

more options

In addition to protective extensions, are you using Tracking Protection? Usually if content is blocked by tracking protection, you'll see a "shield" icon toward the left end of the address bar. More info in this article: What happened to Tracking Protection?.

more options

I am not able to recreate the problem in Safe Mode. However, I do not have any Add-Ons installed. I am not using Tracking Protection outside of Private Browsing.

more options

Could you cross-check the extensions list on the Troubleshooting Information page? Either:

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

Scroll down past Application Basics and Firefox Features and there should be an Extensions heading, followed by a table with any installed extensions listed. Anything?

I should also note that Nightly sometimes has new bugs introduced overnight and removed the next. Since we mostly see users with the stable version in the forum, we usually can't tell you whether this is a known issue likely to go away tomorrow. You might also check recent threads on Reddit: https://www.reddit.com/r/firefox/new/

more options

No extensions enabled.

more options

Hello, just to be sure, is your javascript enabled?

  1. In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
  1. In the search box above the list, type or paste java and pause while the list is filtered
  1. If javascript.enabled is not set to its default value of true, double-click it to switch it back to true.

If Javascript is enabled, it's a good point, next I'd like the URL you are testing, please. My aim is to test too and try to reproduce and check the situation deeper with the developer tools.

Thanks.

more options

Javascript is enabled. Indeed is an example of a site I just visited where the console was reporting various js failed to load.

http://www.indeed.com

more options

Does the Network Monitor give any more information?

more options

I'm not seeing anything useful in the Network Monitor.

more options

woodyj1978 said

Javascript is enabled. Indeed is an example of a site I just visited where the console was reporting various js failed to load.
http://www.indeed.com

Those all seem like tracking/analytics scripts being blocked. Consistent with using something like Firefox's Tracking Protection feature, or an extension like Privacy Badger, Ghostery, Disconnect or Blur, or perhaps uBlock Origin or uMatrix.

If you have ruled out all of that, and yet it still works in Firefox's Safe Mode, I don't know what the difference is.

more options

If I enable Tracking Protection then I see that the scripts I see in your screenshot are blocked.

The resource at “https://connect.facebook.net/en_US/fbevents.js” was blocked because tracking protection is enabled.
The resource at “https://sb.scorecardresearch.com/beacon.js” was blocked because tracking protection is enabled.
Loading failed for the <script> with source “https://bs.serving-sys.com/Serving/ActivityServer.bs?cn=as&ActivityID=662044&rnd=189606.35835950766”.
Loading failed for the <script> with source “https://www.google-analytics.com/analytics.js”.
Loading failed for the <script> with source “https://connect.facebook.net/en_US/fbevents.js”.
Loading failed for the <script> with source “https://sb.scorecardresearch.com/beacon.js”.
more options

I have tracking disabled... even in PB mode. I also disabled the security for dangerous and deceptive content.

more options

Here some questions which can help us:

  • Can you reproduce with the Firefox stable version?
  • Are you under a proxy?
  • Can you disable your firewall and/or your antivirus and test again?
more options

I am not able to reproduce the issue within the stable FF release. I am not connected via proxy, and I have disabled firewall and AV, but the problem still persists. This is just weird. I appreciate everyone's thoughts/help.

more options

Great, if it's related to the 58 version, I think we should escalate this issue to the developers. What do other contributors think about?

more options

Can you load these scripts directly via the location/address bar in a tab?

Does disabling multi-process has any effect?

more options

smorele said

Great, if it's related to the 58 version, I think we should escalate this issue to the developers. What do other contributors think about?

Sure. A new bug report can be filed here: https://bugzilla.mozilla.org/enter_bug.cgi

The original poster may need to do a regression test to try to figure out which release caused the problem. https://github.com/mozilla/mozregression

more options

cor-el said

Can you load these scripts directly via the location/address bar in a tab? Does disabling multi-process has any effect?

I've gone ahead and submitted a bug report. You may be on to something regarding the multi-process. I disabled it and have not observed the issue yet. Which would explain why I don't see the bug when in safe mode since safe mode disables multi-process.

由 woodyj1978 於 修改