Remove PlayWire Auto Video

06/05/2022, 12:55:13

作者
squonkldn
日安装量
0
总安装量
1
评分
0 0 0
版本
1.1
创建于
2022-05-06
更新于
2022-05-09
大小
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.