弹出网页视频为独立窗口,中文介绍见此
Popup online video out of the webpage. I will try to make it support all sites in a robust way.
currently known unsupported website
- youtube html5 player
- sina video
- ...
Only tested in chrome
There are two ways to use this script. Since bookmarklet will affected by CSP, so the second one is recommended.
Just add
javascript:(function(){var vp=document.createElement('script');vp.setAttribute('src','https://rawgit.com/archion/videopop/master/videopop.js');document.getElementsByTagName('head')[0].appendChild(vp);})();
to your browser as bookmark
If use bookmarklet, click the bookmark on a webpage and then click the video which you want to popup
If use userscript, click the "popup" button in bottom right of the page and then the same as bookmarklet
Any contribution as well as bug reports will be appreciated.