Added channel whitelisting.

Known issue: Does not work with 0 second sponsors.

Resolves https://github.com/ajayyy/SponsorBlock/issues/38
This commit is contained in:
Ajay Ramachandran
2019-08-03 21:35:41 -04:00
parent 809be3b2fb
commit a5580daebd
4 changed files with 220 additions and 1 deletions

View File

@@ -25,7 +25,18 @@
<div id="downloadedSponsorMessageTimes" class="popupElement">
</div>
<br/>
<div>
<button id="whitelistChannel" class="whitelistButton popupElement">Whitelist Channel</button>
<button id="unwhitelistChannel" class="whitelistButton popupElement" style="display: none">Remove Channel From Whitelist</button>
</div>
<sub class="popupElement">
Whitelist the channels who do sponsorships ethically to encourage good behavior, or maybe if they are just entertaining and funny. Or don't, that's your call.
</sub>
<br/>
<br/>
<button id="reportAnIssue" class="dangerButton popupElement">Vote On A Sponsor Time</button>