NikkelM / Random-YouTube-Video

A browser extension that allows you to truly randomly shuffle videos from any YouTube channel, offering many customization options.
https://chromewebstore.google.com/detail/random-youtube-video/kijgnjhogkjodpakfmhgleobifempckf
GNU Lesser General Public License v3.0
15 stars 3 forks source link

Inject content script at `document_start` #310

Closed NikkelM closed 2 weeks ago

NikkelM commented 2 weeks ago

Closes #308

Injecting the content script earlier means it is added before any DOM or events fire, which greatly decreases false negatives, where a channel is not detected due to the yt-navigate-finish event firing before the content script can attach an event listener.

coveralls commented 2 weeks ago

Pull Request Test Coverage Report for Build 9733230457

Details


Totals Coverage Status
Change from base Build 9732529582: 0.0%
Covered Lines: 1429
Relevant Lines: 1521

💛 - Coveralls
coveralls commented 2 weeks ago

Pull Request Test Coverage Report for Build 9733238285

Details


Totals Coverage Status
Change from base Build 9732529582: 0.0%
Covered Lines: 1429
Relevant Lines: 1521

💛 - Coveralls