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

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox Shows odd script when accessing Facebook

  • 5 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Slate

more options

My mothers ASUS laptop with Windows 10 recently started to show a script like page when access facebook on firefox. This always happens the first time the page is accessed after firefox is launched and again sometimes randomly. This does not appear to affect any other browser. So far I have tried to remove firefox and reinstall. Delete all cookies and saved information. Ran a virus scan with Kaspersky Ran a Malware Scan with Malwarebytes. Neither scan came up with any virus/malware.

Any suggestions.

My mothers ASUS laptop with Windows 10 recently started to show a script like page when access facebook on firefox. This always happens the first time the page is accessed after firefox is launched and again sometimes randomly. This does not appear to affect any other browser. So far I have tried to remove firefox and reinstall. Delete all cookies and saved information. Ran a virus scan with Kaspersky Ran a Malware Scan with Malwarebytes. Neither scan came up with any virus/malware. Any suggestions.

被選擇的解決方法

Users toward the end of the Kaspersky forum thread indicated that Kaspersky has patched this problem and if you (A) update Kaspersky and (B) clear cache (see: How to clear the Firefox cache), then it should work again. Success?


If you still need a workaround and you want to keep Kaspersksy's intercept-and-filter feature running, you can set Firefox NOT to tell sites it can read Brotli encoding. I suspect this won't slow your browsing down very much. Here's how:

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

(2) In the search box above the list, type or paste enco and pause while the list is filtered

(3) Double-click the network.http.accept-encoding.secure preference and edit as follows: delete the , br from the end so it just reads gzip, deflate like the preference above it in the list, and then click OK

Reference for this preference change working for another Kaspersky user: https://twitter.com/lildingus/status/730493386461982720

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

所有回覆 (5)

more options

Here's an image

more options

Firefox 44+ accepts a new kind of encoding (compression) called Brotli (br) for secure connections and Facebook turned on Brotli encoding recently.

Kapsersky doesn't know about this encoding and strips it from the HTTP response headers if you have "Inject script" checked in Kapsersky Settings -> Additional -> Network -> Traffic Processing

https://forum.kaspersky.com/index.php?s=bbdfcf797a91bc90230472c52c4b103e&showtopic=351027

more options

Hi

I recommend you follow this article which will help you to fix this.

I hope this helps but if not, please come back here and we can look into a different solution for you.

more options

選擇的解決方法

Users toward the end of the Kaspersky forum thread indicated that Kaspersky has patched this problem and if you (A) update Kaspersky and (B) clear cache (see: How to clear the Firefox cache), then it should work again. Success?


If you still need a workaround and you want to keep Kaspersksy's intercept-and-filter feature running, you can set Firefox NOT to tell sites it can read Brotli encoding. I suspect this won't slow your browsing down very much. Here's how:

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

(2) In the search box above the list, type or paste enco and pause while the list is filtered

(3) Double-click the network.http.accept-encoding.secure preference and edit as follows: delete the , br from the end so it just reads gzip, deflate like the preference above it in the list, and then click OK

Reference for this preference change working for another Kaspersky user: https://twitter.com/lildingus/status/730493386461982720

more options

jscher2000 said

Users toward the end of the Kaspersky forum thread indicated that Kaspersky has patched this problem and if you (A) update Kaspersky and (B) clear cache (see: How to clear the Firefox cache), then it should work again. Success?

Success! The update must have been very recent as I requested an update last night and none were found! I'm glad this didn't end and some odd work arounds like others posted. Thank you!

由 Slate 於 修改