Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

my javascript or my website breaks under Firefox 20 and latest release and works well with chrome and IE, what is the problem?

  • 5 antwurd
  • 2 hawwe dit probleem
  • 57 werjeftes
  • Lêste antwurd fan cor-el
  • Oplost

Hi, my website cannot load many thing in firefox 20. My search ajax breaks, it only work for the first time you visit and it disappeared forever after that. Lots of things happen. But its all working fine in IE and Chrome. This is so embarrassing to me. You can view my site at http://www.apasaja.biz

Hi, my website cannot load many thing in firefox 20. My search ajax breaks, it only work for the first time you visit and it disappeared forever after that. Lots of things happen. But its all working fine in IE and Chrome. This is so embarrassing to me. You can view my site at http://www.apasaja.biz

Keazen oplossing

There are CSP (Content Security Policy) warnings in the error log that show that Firefox isn't loading the scripts.
So, you need to look into this.

  • x-content-security-policy:allow 'self'; options inline-script; im$
CSP WARN:  allow directive is deprecated, use the equivalent default-source directive instead
CSP WARN:  Couldn't process unknown directive 'im$'

CSP WARN:  Directive default-src https://www.apasaja.biz:443 violated by https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
CSP WARN:  Directive default-src https://www.apasaja.biz:443 violated by https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js
CSP WARN:  Directive default-src https://www.apasaja.biz:443 violated by https://secure.comodo.net/trustlogo/javascript/cot.js

Dit antwurd yn kontekst lêze 👍 1

Alle antwurden (5)

Can you give some more precise steps to produce this problem?

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

Hi, first time you log in to my website you will notice that the search button is on top of the site rite? click it once, then try to navigate to any other page. After that, try to click the search button again,

second, first time you went to my site, you will notice about comodo trust seal on the right corner of the site. Navigate to another page and see where is the trust logo again. I have cleared every things in order to view the search button and the trust logo, but then i went back to the same state. tested on few pc with ff20.

Keazen oplossing

There are CSP (Content Security Policy) warnings in the error log that show that Firefox isn't loading the scripts.
So, you need to look into this.

  • x-content-security-policy:allow 'self'; options inline-script; im$
CSP WARN:  allow directive is deprecated, use the equivalent default-source directive instead
CSP WARN:  Couldn't process unknown directive 'im$'

CSP WARN:  Directive default-src https://www.apasaja.biz:443 violated by https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
CSP WARN:  Directive default-src https://www.apasaja.biz:443 violated by https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js
CSP WARN:  Directive default-src https://www.apasaja.biz:443 violated by https://secure.comodo.net/trustlogo/javascript/cot.js

Bewurke troch cor-el op

thanks, it looks like my vhost csp is screwed up. thanks again, this is now solve

You're welcome.

Yes, I see that it is working now.