Greasy Fork

9GAG Show Controls

Automatically adds the controls attribute to all video elements.

当前为 2017-08-06 提交的版本,查看 最新版本

作者
Riccardo Geraci
评分
0 0 0
版本
0.1
创建于
2017-08-06
更新于
2017-08-06
大小
1.7 KB
许可证
暂无
适用于

On gif/videos on 9gag, controls for the video player are shown by automatically, without having to right click and 'show controls', which doesn't always work.

It works by calculating pixels scrolled by user, once the threshold has been passed it will rerun the code add the attribute to the HTML elements.

Please report bugs...
Works for me.