Greasy Fork is available in English.

Remove PlayWire Auto Video

06/05/2022, 12:55:13

Tekijä
squonkldn
Päivittäiset asennukset
0
Asennuskerrat
1
Arvostelut
0 0 0
Versio
1.1
Luotu
6.5.2022
Päivitetty
9.5.2022
Size
808 tavua
Lisenssi
MIT
Käytössä
Kaikki sivustot

Very simply removes playwire videos from sites that run them.

I've noted that the mutationObserver interferes with (for example) wp-admin if you use specific sites for a blog. So for 1.1 I've switched the @match to an @exclude with this:


I'd thought about using an @include with this regex:
^(http|https)\:\/\/(?:[^\/:]+){1}((?!wp-admin).)*$
But that's too complicated for others to add more excludes.

Future revisions will include GM_config and your own additional excludes OR just a list of sites to whitelist the script to run-on.