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

搜尋 Mozilla 技術支援網站

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

了解更多

Repeated script error messages from unvisited websites

more options

I get over 10 Script error messages per day telling me that "an error has occurred in the script on this page" from websites I have not visited. This is the one just now:

URL:http://graphics2.asiafriendfinder.com/javascript/live_mod/ffz-prototype-1284506343.js

This is the script error message: Line: 85 Char: 230 Error: Object doesn't support property or method 'getElementsByTagName' Code: 0 URL:http://graphics2.asiafriendfinder.com/javascript/live_mod/ffz-prototype-1284506343.js

Do you want to continue running scripts on this page?

I always press No.

I get over 10 Script error messages per day telling me that "an error has occurred in the script on this page" from websites I have not visited. This is the one just now: URL:http://graphics2.asiafriendfinder.com/javascript/live_mod/ffz-prototype-1284506343.js This is the script error message: Line: 85 Char: 230 Error: Object doesn't support property or method 'getElementsByTagName' Code: 0 URL:http://graphics2.asiafriendfinder.com/javascript/live_mod/ffz-prototype-1284506343.js Do you want to continue running scripts on this page? I always press No.

所有回覆 (1)

more options

Sites tend to be composed of components from numerous servers, some of which are controlled by the site and many of which are external servers, especially ad servers. These components are not limited to images, but include scripts, Flash media, sometimes entire pages.

You may simply be seeing errors associated with ads -- which is not to say they aren't annoying.

There are multiple options for filtering scripts (e.g., the YesScript and NoScript extensions) and ads (e.g., Adblock Plus). You might try one of those to see whether this problem goes away.


If you are seeing these sites in search results but not visiting them, consider the following:

Firefox supports a feature called link prefetching which can cause a page to load in the background if the site designates a link for prefetching. To turn that off:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste fetch and pause while the list is filtered

(3) Double-click network.prefetch-next to switch its value from true to false.


Bad add-ons or external malware are a possibility. If the above doesn't help, try this:

(1) Disable ALL nonessential or unrecognized add-ons on these two tabs:

orange Firefox button (or Tools menu) > Add-ons > Plugins category
orange Firefox button (or Tools menu) > Add-ons > Extensions category

Restart Firefox.

(2) If that doesn't help, run some supplemental scans. These three tools are highly regarded (and free) and don't conflict with our regular real-time security software: