2019-07-09 05:43:06 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Set Page Color Popup</title>
|
2019-07-11 22:19:28 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="/libs/Source+Sans+Pro.css"/>
|
2019-07-09 05:43:06 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="popup.css"/>
|
|
|
|
</head>
|
2019-07-09 06:05:27 +02:00
|
|
|
|
2019-07-09 23:51:49 +02:00
|
|
|
<center>
|
|
|
|
<div id="app">
|
2019-07-11 22:15:47 +02:00
|
|
|
<img src="icons/LogoSponsorBlocker256px.png" height="64px"/>
|
|
|
|
|
2019-07-09 23:51:49 +02:00
|
|
|
<h1>SponsorBlock</h1>
|
2019-07-09 06:05:27 +02:00
|
|
|
|
2019-07-09 23:51:49 +02:00
|
|
|
<!-- Loading text -->
|
|
|
|
<p id="loadingIndicator">Loading...</p>
|
2019-07-09 06:05:27 +02:00
|
|
|
|
2019-07-09 23:51:49 +02:00
|
|
|
<!-- Hidden until loading complete -->
|
|
|
|
<div id="mainControls" class="main" style="display: none">
|
2019-07-10 21:00:48 +02:00
|
|
|
<!-- If the video was found in the database -->
|
|
|
|
<div id="videoFound">
|
|
|
|
|
|
|
|
</div>
|
2019-07-10 00:03:56 +02:00
|
|
|
|
2019-07-10 21:00:48 +02:00
|
|
|
<div id="downloadedSponsorMessageTimes">
|
2019-07-10 04:23:35 +02:00
|
|
|
|
2019-07-10 21:00:48 +02:00
|
|
|
</div>
|
2019-07-18 04:53:42 +02:00
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<button id="reportAnIssue" class="dangerButton">Vote On A Sponsor Time</button>
|
|
|
|
|
|
|
|
<div id="issueReporterContainer" style="display: none">
|
|
|
|
|
|
|
|
<h3 style="margin-top: 0px">Vote On A Sponsor Time</h3>
|
|
|
|
|
|
|
|
<div id="issueReporterTimeButtons">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2019-07-23 01:08:21 +02:00
|
|
|
<h2 class="recordingSubtitle">Record the times of a sponsorship</h2>
|
|
|
|
|
2019-07-24 00:32:05 +02:00
|
|
|
<p>
|
|
|
|
<span id=sponsorTimesContributionsContainer style="display: none">
|
|
|
|
So far, you've submitted
|
|
|
|
<span id="sponsorTimesContributionsDisplay">
|
|
|
|
0
|
|
|
|
</span>
|
|
|
|
<span id="sponsorTimesContributionsDisplayEndWord">
|
|
|
|
sponsors.
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span id=sponsorTimesViewsContainer style="display: none">
|
|
|
|
You have saved people from
|
|
|
|
<span id="sponsorTimesViewsDisplay">
|
|
|
|
0
|
|
|
|
</span>
|
|
|
|
<span id="sponsorTimesViewsDisplayEndWord">
|
|
|
|
sponsor segments.
|
|
|
|
</span>
|
|
|
|
</span>
|
2019-07-23 01:08:21 +02:00
|
|
|
</p>
|
2019-07-10 04:23:35 +02:00
|
|
|
|
2019-07-10 21:00:48 +02:00
|
|
|
<p>
|
|
|
|
Click the button below when the sponsorship starts and ends to record and
|
|
|
|
submit it to the database.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<button id="sponsorStart" class="greenButton">Sponsorship Starts Now</button>
|
|
|
|
</div>
|
2019-07-27 02:23:13 +02:00
|
|
|
|
|
|
|
<sub>Hint: Press the semicolon key while focused on a video report the start/end of a sponsor and quote to submit.</sub>
|
|
|
|
|
2019-07-10 21:00:48 +02:00
|
|
|
<div id="submissionSection" style="display: none">
|
|
|
|
<h3>Latest Sponsor Message Times Chosen</h3>
|
|
|
|
<b>
|
|
|
|
<div id="sponsorMessageTimes">
|
2019-07-10 04:23:35 +02:00
|
|
|
|
2019-07-10 21:00:48 +02:00
|
|
|
</div>
|
|
|
|
</b>
|
|
|
|
|
|
|
|
<button id="clearTimes" class="smallButton">Clear Times</button>
|
|
|
|
|
2019-07-10 18:20:29 +02:00
|
|
|
<br/>
|
2019-07-10 04:10:25 +02:00
|
|
|
<br/>
|
2019-07-20 22:03:42 +02:00
|
|
|
|
|
|
|
<div id="submitTimesContainer" style="display: none">
|
|
|
|
<button id="submitTimes" class="smallButton">Submit Times</button>
|
|
|
|
|
|
|
|
<div id="submitTimesInfoMessageContainer" style="display: none">
|
|
|
|
<h3 id="submitTimesInfoMessage">
|
|
|
|
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2019-07-10 21:00:48 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2019-07-29 05:52:32 +02:00
|
|
|
<div id="discordButtonContainer" style="display: none">
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<a href="https://discord.gg/QnmVMpU" target="_blank"><img src="https://www.logolynx.com/images/logolynx/1b/1bcc0f0aefe71b2c8ce66ffe8645d365.png" height="32px"/></a>
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
Come join the official discord server to give suggestions and feedback!
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<span id="hideDiscordButton" class="smallLink">Hide this</span>
|
|
|
|
</div>
|
|
|
|
|
2019-07-13 01:11:09 +02:00
|
|
|
<div id="optionsButtonContainer">
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<button id="optionsButton" class="dangerButton">Options</button>
|
|
|
|
</div>
|
2019-07-13 01:04:24 +02:00
|
|
|
|
2019-07-13 01:11:09 +02:00
|
|
|
<div id="options" style="display: none">
|
|
|
|
<br/>
|
2019-07-13 01:04:24 +02:00
|
|
|
|
2019-07-13 01:11:09 +02:00
|
|
|
<h3>Options</h3>
|
2019-07-10 21:00:48 +02:00
|
|
|
|
2019-07-13 01:11:09 +02:00
|
|
|
<button id="hideVideoPlayerControls" class="warningButton">Hide Button On YouTube Player</button>
|
|
|
|
<button id="showVideoPlayerControls" style="display: none" class="warningButton">Show Button On YouTube Player</button>
|
2019-07-24 03:06:36 +02:00
|
|
|
<br/>
|
|
|
|
<sub>
|
|
|
|
This hides the button that appears on the YouTube player to submit sponsors. I can see this being annoying for some
|
|
|
|
people. Instead of using the button there, this popup can be used to submit sponsors. To hide the notice that appears,
|
|
|
|
use the button that appears on the notice saying "Don't show this again". You can always enable these settings again
|
|
|
|
later.
|
|
|
|
</sub>
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<button id="disableSponsorViewTracking" class="warningButton">Disable Sponsor View Tracking</button>
|
|
|
|
<button id="enableSponsorViewTracking" style="display: none" class="warningButton">Enable Sponsor View Tracking</button>
|
|
|
|
<br/>
|
|
|
|
<sub>
|
|
|
|
This feature tracks which sponsors you have skipped to let users know how much their submission has helped others and
|
|
|
|
used as a metric along with upvotes to ensure that spam doesn't get into the database. The extension sends a message
|
|
|
|
to the server each time you skip a sponsor. Hopefully most people don't change this setting so that the view numbers
|
|
|
|
are accurate. :)
|
|
|
|
</sub>
|
2019-07-13 01:11:09 +02:00
|
|
|
|
|
|
|
<br/>
|
|
|
|
<br/>
|
2019-07-24 03:06:36 +02:00
|
|
|
|
2019-07-13 01:11:09 +02:00
|
|
|
<button id="showNoticeAgain" style="display: none" class="dangerButton">Show Notice Again</button>
|
|
|
|
</div>
|
2019-07-09 05:43:06 +02:00
|
|
|
</div>
|
2019-07-09 23:51:49 +02:00
|
|
|
</div>
|
|
|
|
</center>
|
2019-07-24 00:32:05 +02:00
|
|
|
|
|
|
|
<!-- Scripts that need to load after the html -->
|
|
|
|
<script src="config.js"></script>
|
2019-07-09 05:43:06 +02:00
|
|
|
<script src="popup.js"></script>
|
|
|
|
</html>
|