GithubHelp home page GithubHelp logo

bilibili-never-stop's Introduction

bilibili-never-stop

bilibili will never stop in the background

介紹

Bilibili 是一個我很喜歡的播放平台,相較於 Youtube的影片都只能在下方留言,Bilibili上面的彈幕可以即時看到片段人家分享的心得或感受。所以一樣的影片在 Youtube上看過後,會再去 Bilibili 找一樣或差不多的影片看大家的心得。

可是某一次改版後,似乎沒有登入帳號的使用者在播放到一半就會彈出視窗把影片停下來,請你登入會員,必須要把視窗點掉後,再按播放影片。播放一支影片彈出一次,比 Youtube 廣告播完後會繼續自動播放還要惱人,因此自己做了一個擴充套件,在影片彈出視窗後,自動關閉視窗並且自動繼續播放影片

看伍佰突然的自我的影片看到一半突然被停下來 bilibili_stop bilibili_play

原理

原理很簡單,只用幾行 Javascript 就實現本功能。在進入 Bilibili 網站的時候,擴充套件會自動抓取並監聽頁面上的 Video 元素。一旦 Video 元素被停止播放,套件會將彈出來的視窗元素刪掉,並且強制播放影片。

bilibili-never-stop's People

Contributors

tso1158687 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.