Top "Userscripts" questions

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

window.onload works in Firefox+Greasemonkey script but not in a Chrome userscript?

There is a page http://example.com/1.php that includes javascript file as usual: <script type="text/javascript" src="/…

javascript google-chrome cross-browser greasemonkey userscripts
Userscripts vs. Chrome Extension

I am developing an extension that will read HTML elements value, then make API calls to an external website, get …

google-chrome-extension userscripts tampermonkey
Make my userscript wait for other scripts to load

[Edit: I'm replacing the original, confusing question with a simplified example demonstrating the problem.] Background I'm trying to write a …

javascript google-chrome userscripts
Why is usage of the downloadURL & updateURL keys called unusual and how do they work?

I was reading GM's wiki to determine the difference between @downloadURL & @updateURL (which I didn't). But what confused me …

greasemonkey userscripts tampermonkey
User Script Debugging in Google Chrome

What's the best way to debug custom User Scripts (aka Greasemonkey) in Chrome? Is there a way to enable User …

google-chrome greasemonkey userscripts
Clicking a button on a page using a Greasemonkey/userscript in Chrome

I'm going to be as absolutely verbose here as possible as I've run into a few solutions that didn't end …

javascript automation dom-events greasemonkey userscripts
Adding a custom keyboard shortcut using userscript to Chrome with Tampermonkey

I would like to add some custom keyboard shortcuts to a certain web page. Using the accepted answer from this …

javascript google-chrome keyboard-shortcuts userscripts tampermonkey
Add parameters to the URL (redirect) via a Greasemonkey/Tampermonkey/Userscript

I'd like to write a Greasemonkey/userscript that automatically adds .compact to URLs starting with https://pay.reddit.com/ so …

url redirect greasemonkey tampermonkey userscripts
Accessing iframes from a Chrome content-script extension

I'm writing a Chrome extension that needs to alter a popular web app when loaded. Unfortunately, most of the UI …

iframe google-chrome-extension userscripts