9GAG Show Controls

Automatically adds the controls attribute to all video elements.

Author
Riccardo Geraci
Daily installs
0
Total installs
345
Ratings
0 0 0
Version
0.1
Created
2017-08-06
Updated
2017-08-06
Size
1.66 KB
License
N/A
Applies to

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.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元