为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改