搜尋 Mozilla 技術支援網站

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

了解更多

Hit counter no longer working in Firefox

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

more options

I have used a free Hit Counter for many years that I got from https://www.freecounterstat.com/

I have 3 such counters and have stopped working in the latest version of Firefox on my desktop. They work with Firefox on my iPad and Android phone. They also work fine if I use the Edge Browser but I prefer using Firefox as I have for many years.

The embedded code is pretty simple, here it is for one of my counters... <a href="https://www.freecounterstat.com" title="visitor counter">Hit Counter for Financials</a> Can you help? Thanks, Bill T

I have used a free Hit Counter for many years that I got from https://www.freecounterstat.com/ I have 3 such counters and have stopped working in the latest version of Firefox on my desktop. They work with Firefox on my iPad and Android phone. They also work fine if I use the Edge Browser but I prefer using Firefox as I have for many years. The embedded code is pretty simple, here it is for one of my counters... <a href="https://www.freecounterstat.com" title="visitor counter"><img src="https://counter11.optistats.ovh/private/freecounterstat.php?c=elxwcf75xs8eh6n2lh76ckr4xlkkq746" border="0" title="visitor counter" alt="Hit Counter for Financials" width="96" height="20"></a> Can you help? Thanks, Bill T
附加的畫面擷圖

所有回覆 (7)

more options

Do you have uBlock Origin?

more options

No I don't.

more options

Anything red in the Network console? (Ctrl + Shift + I -> Network)

more options

I don't understand what you are asking?

more options

Go to Network tab of Developer Tools (Ctrl + Shift + I), refresh your website and check if there are any error messages about this domain "https://www.freecounterstat.com".

由 TyDraniu 於 修改

more options

I do see this... Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “style-src 'self' https://*.webservices.mozgcp.net https://*.jsdelivr.net 'nonce-mR8Kp7BJ+b7J1fAVl0mHdg=='” 672.2aa5f418a3ec2171.js:2:65854

​When the website page displays, it looks like the 2nd image below. When I right-mouse click on that box and select "Open Image in New Tab" the counter displays in a new tab (see 1st image below).

All this has been in place for several years. Since Firefox just updated this week, I thought that is what broke this.

more options

The problem has been resolved. After doing what you suggested I could see that it was a Superantispyware extension in Firefox that was blocking the counters. Once I deactivated that extension, all 3 counters now are working. Not sure I would have ever found this without your help, thank you very much.