Top "Greasemonkey" questions

OBSOLETE as of Firefox 57.

Use GM_xmlhttpRequest to POST data on Chrome?

I'm writing a user script to take an image from a page, and upload it to a server. The script …

google-chrome greasemonkey tampermonkey gm-xmlhttprequest ninjakit
How do I close a firefox tab from a greasemonkey script?

I have a greasemonkey user script with this single line of code... window.close(); but firefox does not allow a …

javascript firefox greasemonkey
Save File using Greasemonkey

I have some screen scraped tabular data that I want to export to a CSV file (currently I am just …

javascript greasemonkey
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
Storing into file using JavaScript/GreaseMonkey

I have captured list of data from the page using Greasemonkey. GM Script var hit = GM_getValue("hit") || 0; var _url = "…

javascript greasemonkey
ReferenceError: GM_xmlhttpRequest is not defined

I get a ReferenceError in the following userscript code: // ==UserScript== // @name ... // @namespace ... // @description ... // @include ... // @grant GM_xmlhttpRequest // ==/UserScript== console.log(…

javascript greasemonkey referenceerror gm-xmlhttprequest
How to get a Greasemonkey script to run both at @run-at document-start AND at @run-at document-end?

For my Greasemonkey script, there is part of the code that should run before the page is loaded (@run-at document-start) …

javascript greasemonkey startup
Run a Greasemonkey script only once per page load?

If you create a Greasemonkey script with @include * and go to a site like youtube, it runs the script 20+ times …

javascript greasemonkey tampermonkey
Run Greasemonkey on html files located on the local filesystem?

I have an API documentation lying around on my Harddrive and to ease my workflow, I have written a simple …

javascript greasemonkey userscripts local-files
Run Javascript on the body of a Gmail message

I want to display LaTeX math in the gmail messages that I receive, so that for example $\mathbb P^2$ would …

math latex gmail greasemonkey mathml