Top "Userscripts" questions

Use the Tampermonkey tag if running Tampermonkey or Violentmonkey, use the "Greasemonkey-4" tag if running that engine on Firefox.

Including a Greasemonkey script across multiple domains

This is a bit of an oddly specific question. I'm writing a Greasemonkey script that will run across ten domains. …

greasemonkey userscripts
Why is window (and unsafeWindow) not the same from a userscript as from a <script> tag?

I was facing an issue while developing this small userscript. When I wanted to block every XMLHttpRequest from the running …

javascript greasemonkey scope userscripts
How to run a modern userscript on Internet Explorer?

I've found it's pretty easy to take a Greasemonkey-type userscript and turn it into extensions/addons for Chrome, Safari, and …

internet-explorer cross-browser userscripts browser-extension
Adding jQuery UI to Greasemonkey script fails with external CSS file

I'm trying to add jquery-ui to a Greasemonkey script. my full code: test.user.js: // ==UserScript== // @name Test // @namespace rajat.…

jquery jquery-ui firefox greasemonkey userscripts
How to use GM_xmlhttpRequest in Injected Code?

I am writing a userscript that is injected into a webpage. The script reads some data from a web-server and …

javascript google-chrome-extension greasemonkey userscripts
Native javascript equivalent of jQuery :contains() selector

I am writing a UserScript that will remove elements from a page that contain a certain string. If I understand …

javascript jquery userscripts
Handler for dynamically created DOM nodes as they are inserted

I enjoy running custom scripts on pages that I do not own or control. Many times these pages have dynamically …

javascript jquery dom bookmarklet userscripts
How to disable div blocks having a certain id pattern?

I would like to write a greasemonkey script to disable a div on a certain page. On any given load …

javascript html dom userscripts
Apply a Greasemonkey/Tampermonkey/userscript to an iframe?

The title is pretty much the question: Is it possible to add a Greasemonkey script to an iframed website? If …

iframe greasemonkey userscripts tampermonkey
How to load the google maps api via a userscript / synchronously?

I'm writing a userscript (greasemonkey script) that needs to add a google map to a page on a website that …

javascript google-maps google-maps-api-3 userscripts