Greasy Fork

Modal_Ad_Removal_thevideo.me

Removes recurring modal ad that covers the playback area every .5 seconds.

作者
GammaLogic
日安装量
0
总安装量
103
评分
0 0 0
版本
1.4
创建于
2016-02-12
更新于
2016-03-23
大小
708 字节
许可证
暂无
适用于

Site uses a full page overlay that reappears in intervals, which causes a popup redirect to spawn when the user clicks anywhere on the screen, including the video player itself. I feel this is abuse. Interfering with the user's ability to use the video player controls when that is the site's main purpose is malicious.

This script removes it every 0.5 seconds.

Hacked together from examples + trial & error. Probably contains redundant code due to a lack of javascript knowledge. Works on my setup (Linux + Chrome) but may fail for any number of reasons on another setup.

Improvements / Fixes welcome!