6 votes

Can a greasemonkey script know what's been loaded into another tab?

Greasemonkey cannot: See other tabs. Check the URLs of other tabs. Check for DOM nodes/elements in other tabs. The reason is that Greasemonkey, Tampermonkey, etc. do not expose these APIs to/for ...
  • 2,130
6 votes
Accepted

Force Facebook to play videos in background tab

I just enabled uBlock origin on Facebook again and now I can play videos in the background. Seriously Facebook, what the hell?
  • 494
4 votes
Accepted

How can I make a favicon stay static?

You can write a Greasemonkey script that uses a Javascript mutation observer to observe when the favicon changes and then change it back immediately before you notice anything. Here is how to do this: ...
  • 2,443
3 votes

How to disable Flash plugin on Firefox, but with a whitelist? I mean *really* disable it

Tools->Add-ons->Plugins: in there when I go to Shockwave Flash I get three options: Always activate, Ask to activate, and Never activate. If you select the second option, Ask to activate, then ...
  • 563
3 votes

Where does Greasemonkey cache scripts that are added with the "@require" keyword?

That's no longer true with recent Firefox - check this answer which tells that they are hidden away in a sqlite database.
  • 286
2 votes

How to auto update a userstyle

I need a greasemonkey/stylish script that can auto update Greasemonkey scripts can already auto update (since 2012) There is an active discussion (last update 2014) regarding adding auto update to ...
  • 150k
2 votes
Accepted

Automatically update a greasemonkey script under development

As janot suggested, I am posting what worked for me as an answer here. The following is from my original question update: I just tried "edit this user script" as ov1d1u suggested. There are two ...
  • 893
2 votes

How do I copy a hyperlink without the stuff past . html?

I often just do it backwards in the address field. Put the cursor at the end of the ".html", and click and drag to the left to highlight the rest of the URL. That way you don't have to be as precise ...
  • 309
2 votes

Force Facebook to play videos in background tab

Here's another simple workaround to execute in the dev console: document.onblur = null document.onvisibilitychange = null
  • 319
1 vote
Accepted

Extract Checkbox Titles within Multiple Divs (Javascript)

Several issues: This may be more on topic at Stack Overflow. That's not how you use getElementsByClassName; it doesn't do multiple classes at once. For proper CSS selectors, you want ...
  • 2,130
1 vote
Accepted

What does the color coding in Greasemonkey's manage scripts dialog mean?

Inspecting Firefox chrome, I can see a CSS yellow highlight on those flagged for the attribute notification="warning". Digging through the Greasemonkey source, this is assigned when a script cannot be ...
1 vote
Accepted

A way to stop websites from detecting that you're using an adblocker

I've successfully done this using greasemonkey add-on and firefox. Steps are to subscribe to aaklist found here: https://github.com/reek/anti-adblock-killer/ for adblockplus or download greasemonkey ...
  • 1,532
1 vote

How can I disable the css {position:fixed} side-bar on Slashdot?

Install this addon (if you haven't already) and this user script. This appears to disable position: fixed everywhere; if for some bizzare reason that is a problem for you, edit the @include line to ...
  • 484
1 vote
Accepted

How to disable Flash plugin on Firefox, but with a whitelist? I mean *really* disable it

FlashHider does exactly this, it hides Flash from the sites where it's blocked.
  • 26

Only top scored, non community-wiki answers of a minimum length are eligible