Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I run some Javascript after a page has loaded?

  • 1 ŋuɖoɖo
  • 1 masɔmasɔ sia le esi
  • 443 views
  • Nuɖoɖo mlɔetɔ Jack

more options

I'd like to add a couple of lines of Javascript that will automatically log me in my email once the page loads (my provider has no "remember me" option. I found an extension [an extension](https://addons.mozilla.org/en-US/firefox/addon/javascript/) that allows me to do this, but unfortunately, my email provider has a strict [CSP](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and the extension is blocked.

Is there any way around this? Can I tell Firefox to ignore the CSP for this one webpage, or maybe run some Javascript automatically via dev tools?

I'd like to add a couple of lines of Javascript that will automatically log me in my email once the page loads (my provider has no "remember me" option. I found an extension [an extension](https://addons.mozilla.org/en-US/firefox/addon/javascript/) that allows me to do this, but unfortunately, my email provider has a strict [CSP](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and the extension is blocked. Is there any way around this? Can I tell Firefox to ignore the CSP for this one webpage, or maybe run some Javascript automatically via dev tools?

Ŋuɖoɖo si wotia

Turns out if I use Greasemonkey instead of the other extension, the script isn't rejected. Never mind!

Xle ŋuɖoɖo sia le goya me 👍 0

All Replies (1)

more options

Ɖɔɖɔɖo si wotia

Turns out if I use Greasemonkey instead of the other extension, the script isn't rejected. Never mind!