Greasy Fork is available in English.

Remove PlayWire Auto Video

06/05/2022, 12:55:13

יוצר
squonkldn
התקנות יומיות
0
סה"כ התקנות
1
דירוגים
0 0 0
גרסה
1.1
נוצר
06-05-2022
עודכן
09-05-2022
Size
808 בתים
רישיון
MIT
חל על
כל האתרים

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.