mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
150 lines
No EOL
5 KiB
HTML
150 lines
No EOL
5 KiB
HTML
<html>
|
|
<head>
|
|
<title>Set Page Color Popup</title>
|
|
<link rel="stylesheet" type="text/css" href="/libs/Source+Sans+Pro.css"/>
|
|
<link rel="stylesheet" type="text/css" href="popup.css"/>
|
|
</head>
|
|
|
|
<center>
|
|
<div id="app">
|
|
<img src="icons/LogoSponsorBlocker256px.png" height="64px"/>
|
|
|
|
<h1>SponsorBlock</h1>
|
|
|
|
<!-- Loading text -->
|
|
<p id="loadingIndicator">Loading...</p>
|
|
|
|
<!-- Hidden until loading complete -->
|
|
<div id="mainControls" class="main" style="display: none">
|
|
<!-- If the video was found in the database -->
|
|
<div id="videoFound">
|
|
|
|
</div>
|
|
|
|
<div id="downloadedSponsorMessageTimes">
|
|
|
|
</div>
|
|
|
|
<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>
|
|
|
|
<h2 class="recordingSubtitle">Record the times of a sponsorship</h2>
|
|
|
|
<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>
|
|
</p>
|
|
|
|
<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>
|
|
|
|
<sub>Hint: Press the semicolon key while focused on a video report the start/end of a sponsor and quote to submit.</sub>
|
|
|
|
<div id="submissionSection" style="display: none">
|
|
<h3>Latest Sponsor Message Times Chosen</h3>
|
|
<b>
|
|
<div id="sponsorMessageTimes">
|
|
|
|
</div>
|
|
</b>
|
|
|
|
<button id="clearTimes" class="smallButton">Clear Times</button>
|
|
|
|
<br/>
|
|
<br/>
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
<div id="optionsButtonContainer">
|
|
<br/>
|
|
<br/>
|
|
|
|
<button id="optionsButton" class="dangerButton">Options</button>
|
|
</div>
|
|
|
|
<div id="options" style="display: none">
|
|
<br/>
|
|
|
|
<h3>Options</h3>
|
|
|
|
<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>
|
|
<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>
|
|
|
|
<br/>
|
|
<br/>
|
|
|
|
<button id="showNoticeAgain" style="display: none" class="dangerButton">Show Notice Again</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</center>
|
|
|
|
<!-- Scripts that need to load after the html -->
|
|
<script src="config.js"></script>
|
|
<script src="popup.js"></script>
|
|
</html> |