Questions tagged [greasemonkey]

OBSOLETE as of Firefox 57. Use [greasemonkey-4] or [tampermonkey] as applicable. If using some other browser userscript engine, use [userscripts].

OBSOLETE as of Greasemonkey 4 -- which is a major change that is not backwards compatible.


Usage Hint

Use this tag if you are using Firefox, pre version 57. Use the tag if you are using Tampermonkey on Chrome. For all other userscripts, please use the tag.

GreasemonkeyMain add-on page is a userscript manager for Firefox. Userscripts are written in JavaScript, and run in every page as specified by the @include, @exclude, and @match rules.

Greasemonkey also permits special operations that ordinary javascript is not allowed to do. See the Greasemonkey API.

Userscripts are also available on/for other browsers; see the tag wiki of .
Important: Please use only if you are running the Firefox browser and/or using the add-on.
For all others, use , if it applies, or .


Premade userscripts:

Premade userscripts can be found at:


References:

2842 questions
1
vote
1 answer

jQuery .ready not getting called from within Greasemonkey script

I'm trying to write a simple Greasemonkey script, but as a beginner in Javascript and a complete newbie to Greasemonkey, I keep encountering issues. Here's my code so far: // ==UserScript== // @name TEDToYoutube // @include …
Sundar R
  • 13,776
  • 6
  • 49
  • 76
1
vote
3 answers

Formatting Content of document.write()

I am making a GreaseMonkey script that sticks a button on a page. When this button is clicked, it pulls up a new page. Ideally, I'd like to be able to format this page like a regular HTML page. The constraint I have is that I can't make a new…
Yuna Wu
  • 37
  • 5
1
vote
1 answer

form.submit() causes uncaught exception in greasemonkey

I'm using a greasemonkey script to load a page with ajax and automatically fill in the form fields inside the page and submit the form. The problem is that when the form.submit() statement is executed I get an uncaught exception error: "uncaught…
flyon
  • 31
  • 3
1
vote
2 answers

Greasemonkey popup loop not waiting for load-event listener

I'm writing a Greasemonkey script to automatically delete my notifications from a site, based on words I enter into a search box. The delete "button" is basically a link, so I'm trying to open the first link in a new tab. Then, after it loads…
Kat Cox
  • 3,469
  • 2
  • 17
  • 29
1
vote
2 answers

greasemonkey currency converter

I m making a greasmonkey script to convert currency in a specific page to INR using API. I am able to get the current currency rate of USD-INR and also able to replace currencies symbols to INR but m not able to convert the currency value to current…
Vaibhav Gupta
  • 1,592
  • 1
  • 13
  • 23
1
vote
1 answer

Convert a greasemonkey Script after E4x is not supported

How to convert this script which use deprecadted E4X ? Flickr Functional Suite. i am not a programmer, but if you explain to me where i need to start, i do my best. In first , it seems not a problem of CDATA ... Here a link, in Buggzilla , where i…
1
vote
2 answers

addEventListener and setInterval fail silently in a Greasemonkey script

I am trying to get code to execute every x amount of time and begin doing so after the page has loaded for the first time, while my debug throws no errors, the script doesn't actually do anything. So, I am at a bit of a loss and I am thinking it has…
GµårÐïåñ
  • 2,846
  • 5
  • 31
  • 35
1
vote
3 answers

Can a greasemonkey script launch an application under windows xp

I would like to allow some users to be able to launch a voip application from a web page, ie in response to clicking a button to dial the telephone number for the record they are looking at. My question is can i use greasemonkey to launch the exe…
user183402
1
vote
1 answer

Cloning a css style from a style sheet using jquery/greasemonkey

I am writing a Greasemonkey script using jquery, and I want to add information from multiple pages, but the object i want to load is a div with an Id, is there any way I can retrieve the style information, so that I can apply it to the added…
Rixius
  • 2,223
  • 3
  • 24
  • 33
1
vote
2 answers

Replace specific table values using a Greasemonkey script

This is the first table on the page by the way. I want to be able to change the value of the td elements by referencing their position. So, if I could state the 3rd td element in a specific table>tr pathway that would be great. And then to replace…
user2558570
  • 11
  • 1
  • 2
1
vote
3 answers

Is nested XMLHttpRequests with multiple closures a good idea?

I have a Greasemonkey script which operates on a search results page at a video site. The function of the script is to take a javascript link that opens a new window with a flash player, jump through some redirection hoops, and insert a regular…
Bribles
  • 938
  • 9
  • 23
1
vote
1 answer

JavaScript userscript does not run itself

I'm using Greasemonkey and I was trying to write my own userscript. I've already got the code, but it's not "running", dunno why. // ==UserScript== // @name Image link // @version 0.1 // @include http://*.* // @run-at …
VixinG
  • 1,387
  • 1
  • 17
  • 31
1
vote
1 answer

Unbind .onselectstart return false

I am trying to write a userscript that will remove the effects of onselectstart from an id on a page. So far I am assuming that I can rebind the original function using something like this: document.getElementById('nodrag').onselectstart =…
onmylemon
  • 724
  • 8
  • 25
1
vote
1 answer

jQuery data() function in GreaseMonkey

I'm trying to use jQuery's data() function to store and retrieve data on an element. I want to retrieve the data stored in a textarea whenever the user enters the space bar1. However, everytime I do this I get undefined back from data(). Now, if I…
Kip
  • 107,154
  • 87
  • 232
  • 265
1
vote
1 answer

Replace Tumblr, Pinterest, Flickr images with larger versions in InoReader (RSS Reader)

I'm looking to make a Greasemonkey script that will replace the images in Tumblr, Pinterest, Flickr, Facebook, and Webstagram RSS feeds with larger versions in InoReader. I had been successfully using the following scripts in Google Reader for…
1 2 3
99
100