Questions tagged [greasemonkey-4]

Greasemonkey 4 is a major milestone, breaking most of the Greasemonkey scripts for earlier versions (although a polyfill restores some compatibility).

Note that for maximum compatibility of existing scripts, Greasemonkey recommends that you switch to Tampermonkey or Violentmonkey:

As mentioned in the main post, Greasemonkey 4 is changing how it runs user scripts. Many user scripts will continue to run as expected, but this will break some scripts. If you rely on such scripts, you might want to install Violentmonkey or Tampermonkey, both of which provide better compatibility for existing scripts.


Additional references:

97 questions
-1
votes
1 answer

Problem with hiding DIV from website using GreaseMonkey

There's one site, where without ads you cannot view the content. I tried Anti-Ad Blocker already, but scripts made all links unusable. I tried writing Greasemonkey script to hide those few ads by hand, but so far it doesn't work (and I have no idea…
Gaben
  • 345
  • 1
  • 12
-1
votes
1 answer

Receive data from localStorage

I've been working with the codes involving GM_getvalue and GM_setValue. I'd like to access data in my server through ajax. I've been working with the codes involving GM_getvalue and GM_setValue. Stored data can be found in Storage located in…
-1
votes
1 answer

Finding URL on a page by giving a search string

I am learning to use Greasemonkey on Firefox. On a Google search results page, I am trying to find a link and click on it. I gave the search query "cookie cutter".. Among the results, there is a result for the url merriam-webster.com which I am…
CuriousDev
  • 1,255
  • 1
  • 21
  • 44
-1
votes
1 answer

Printing the `event` object inside a greasemonkey script silently terminates execution, how can I view the `event`?

Here is my script (intentionally simplified): // ==UserScript== // @name StackOverflowExample // @include https://stackoverflow.com/* // @version 1 // @grant none // ==/UserScript== document.addEventListener('keydown', (e)…
JasoonS
  • 1,432
  • 3
  • 13
  • 26
-1
votes
1 answer

Greasemonkey add parameter to end of URL

I am having a little bit of Greasmonkey trouble I want to write a scrip that automatically adds a "?" to the end of every url fetched when using a forum (long story, but doing this prevents the caching issues the owners are having) I have this, but…
Shaun
  • 3
  • 1
-1
votes
1 answer

GM_xmlhttprequest pyload

I'm trying to authenticate through PyLoad's API using tampermonkey/greasemonkey but the cookie isn't sent neither in the response nor in the headers. It succeed to login but the answer is different from that of firefox console (cookie is missing).…
-1
votes
1 answer

how to change anchor onclick event

I would like to change the following onclick event, from: view_tree_element('subscription','45592063',1); focusit('1_45592063',true) to onclick="show_dialog('feed_info_dialog',{subscription_id: 45592063} i.e. get the number 45592063 from the…
1 2 3 4 5 6
7