mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 20:47:11 +03:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62d4b365c2 | ||
|
|
524df6389a | ||
|
|
24292e771b |
@@ -100,7 +100,7 @@
|
|||||||
"message": "Sponsorship Ends Now"
|
"message": "Sponsorship Ends Now"
|
||||||
},
|
},
|
||||||
"noVideoID": {
|
"noVideoID": {
|
||||||
"message": "This probably isn't a YouTube tab, or you clicked too early. \n If you know this is a YouTube tab,\n close this popup and open it again.\n\nYou must refresh your YouTube tab after installing or updating (even auto-update) the extension."
|
"message": "No YouTube video found at this tab. If you know this is a YouTube tab, close this popup and open it again. If that does not work, try reloading the tab."
|
||||||
},
|
},
|
||||||
"success": {
|
"success": {
|
||||||
"message": "Success!"
|
"message": "Success!"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "__MSG_fullName__",
|
"name": "__MSG_fullName__",
|
||||||
"short_name": "__MSG_Name__",
|
"short_name": "__MSG_Name__",
|
||||||
"version": "1.1.9.5",
|
"version": "1.1.9.6",
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_Description__",
|
"description": "__MSG_Description__",
|
||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
|
|||||||
224
popup.html
224
popup.html
@@ -14,7 +14,7 @@
|
|||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<!-- Loading text -->
|
<!-- Loading text -->
|
||||||
<p id="loadingIndicator" class="popupElement">__MSG_Loading__</p>
|
<p id="loadingIndicator" class="popupElement">__MSG_noVideoID__</p>
|
||||||
|
|
||||||
<!-- Hidden until loading complete -->
|
<!-- Hidden until loading complete -->
|
||||||
<div id="mainControls" class="main popupElement" style="display: none">
|
<div id="mainControls" class="main popupElement" style="display: none">
|
||||||
@@ -89,13 +89,6 @@
|
|||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<div>
|
|
||||||
<button id="disableSkipping" class="greenButton popupElement">__MSG_disableSkipping__</button>
|
|
||||||
<button id="enableSkipping" class="whitelistButton popupElement" style="display: none">__MSG_enableSkipping__</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="reportAnIssue" class="dangerButton popupElement">__MSG_voteOnTime__</button>
|
<button id="reportAnIssue" class="dangerButton popupElement">__MSG_voteOnTime__</button>
|
||||||
|
|
||||||
<div id="issueReporterContainer" class="popupElement" style="display: none">
|
<div id="issueReporterContainer" class="popupElement" style="display: none">
|
||||||
@@ -108,126 +101,135 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 class="recordingSubtitle popupElement">__MSG_yourWork__</h2>
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
<p class="popupElement">
|
</div>
|
||||||
<span id=sponsorTimesContributionsContainer class="popupElement" style="display: none">
|
|
||||||
__MSG_soFarUHSubmited__
|
|
||||||
<span id="sponsorTimesContributionsDisplay" class="popupElement">
|
|
||||||
0
|
|
||||||
</span>
|
|
||||||
<span id="sponsorTimesContributionsDisplayEndWord" class="popupElement">
|
|
||||||
__MSG_Sponsors__.
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<span id=sponsorTimesViewsContainer class="popupElement" style="display: none">
|
<div>
|
||||||
__MSG_savedPeopleFrom__
|
<button id="disableSkipping" class="greenButton popupElement">__MSG_disableSkipping__</button>
|
||||||
<span id="sponsorTimesViewsDisplay" class="popupElement">
|
<button id="enableSkipping" class="whitelistButton popupElement" style="display: none">__MSG_enableSkipping__</button>
|
||||||
0
|
</div>
|
||||||
</span>
|
|
||||||
<span id="sponsorTimesViewsDisplayEndWord" class="popupElement">
|
|
||||||
__MSG_Segments__.
|
|
||||||
__MSG_savedPeopleFrom__
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<div class="popupElement">
|
<h2 class="recordingSubtitle popupElement">__MSG_yourWork__</h2>
|
||||||
__MSG_viewLeaderboard__ <a class="popupElement discreteLink" href="https://sponsor.ajay.app/stats" target="_blank">__MSG_here__</a>.
|
|
||||||
|
<p class="popupElement">
|
||||||
|
<span id=sponsorTimesContributionsContainer class="popupElement" style="display: none">
|
||||||
|
__MSG_soFarUHSubmited__
|
||||||
|
<span id="sponsorTimesContributionsDisplay" class="popupElement">
|
||||||
|
0
|
||||||
|
</span>
|
||||||
|
<span id="sponsorTimesContributionsDisplayEndWord" class="popupElement">
|
||||||
|
__MSG_Sponsors__.
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<span id=sponsorTimesViewsContainer class="popupElement" style="display: none">
|
||||||
|
__MSG_savedPeopleFrom__
|
||||||
|
<span id="sponsorTimesViewsDisplay" class="popupElement">
|
||||||
|
0
|
||||||
|
</span>
|
||||||
|
<span id="sponsorTimesViewsDisplayEndWord" class="popupElement">
|
||||||
|
__MSG_Segments__.
|
||||||
|
__MSG_savedPeopleFrom__
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<div class="popupElement">
|
||||||
|
__MSG_viewLeaderboard__ <a class="popupElement discreteLink" href="https://sponsor.ajay.app/stats" target="_blank">__MSG_here__</a>.
|
||||||
|
</div>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div id="setUsernameContainer" class="popupElement">
|
||||||
|
|
||||||
|
<button id="setUsernameButton" class="warningButton popupElement">__MSG_setUsername__</button>
|
||||||
|
<br/>
|
||||||
|
<sub class="popupElement">
|
||||||
|
__MSG_publicStats__ <a class="popupElement discreteLink" href="https://sponsor.ajay.app/stats" target="_blank">__MSG_here__</a>.
|
||||||
|
</sub>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="setUsername" class="popupElement" style="display: none">
|
||||||
|
<h3>__MSG_setUsername__</h3>
|
||||||
|
|
||||||
|
<div id="setUsernameStatusContainer" style="display: none">
|
||||||
|
<h2 id="setUsernameStatus"></h2>
|
||||||
</div>
|
</div>
|
||||||
</p>
|
|
||||||
|
|
||||||
<div id="setUsernameContainer" class="popupElement">
|
<input id="usernameInput" hint="Username"></input>
|
||||||
|
|
||||||
<button id="setUsernameButton" class="warningButton popupElement">__MSG_setUsername__</button>
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<button id="submitUsername" class="warningButton popupElement">__MSG_setUsername__</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="optionsButtonContainer" class="popupElement">
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<button id="optionsButton" class="dangerButton popupElement">__MSG_Options__</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="options" class="popupElement" style="display: none">
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<h3>__MSG_Options__</h3>
|
||||||
|
|
||||||
|
<span id="keybindButtons">
|
||||||
|
<button id="setStartSponsorKeybind" class="warningButton popupElement">__MSG_setStartSponsorShortcut__</button>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
<button id="setSubmitKeybind" class="warningButton popupElement">__MSG_setSubmitKeybind__</button>
|
||||||
|
<br/>
|
||||||
|
</span>
|
||||||
|
|
||||||
|
<h2 id="keybindDescription" style="display: none" class="popupElement">__MSG_keybindDescription__</h2>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
<button id="hideVideoPlayerControls" class="warningButton popupElement">__MSG_hideButtons__</button>
|
||||||
|
<button id="showVideoPlayerControls" style="display: none" class="warningButton popupElement">__MSG_showButtons__</button>
|
||||||
<br/>
|
<br/>
|
||||||
<sub class="popupElement">
|
<sub class="popupElement">
|
||||||
__MSG_publicStats__ <a class="popupElement discreteLink" href="https://sponsor.ajay.app/stats" target="_blank">__MSG_here__</a>.
|
__MSG_hideButtonsDescription__
|
||||||
</sub>
|
</sub>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="setUsername" class="popupElement" style="display: none">
|
<br/>
|
||||||
<h3>__MSG_setUsername__</h3>
|
<br/>
|
||||||
|
|
||||||
<div id="setUsernameStatusContainer" style="display: none">
|
<button id="hideInfoButtonPlayerControls" class="warningButton popupElement">__MSG_hideInfoButton__</button>
|
||||||
<h2 id="setUsernameStatus"></h2>
|
<button id="showInfoButtonPlayerControls" style="display: none" class="warningButton popupElement">__MSG_showInfoButton__</button>
|
||||||
</div>
|
<br/>
|
||||||
|
<sub class="popupElement">
|
||||||
|
__MSG_whatInfoButton__
|
||||||
|
</sub>
|
||||||
|
|
||||||
<input id="usernameInput" hint="Username"></input>
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
<br/>
|
<button id="hideDeleteButtonPlayerControls" class="warningButton popupElement">__MSG_hideDeleteButton__</button>
|
||||||
<br/>
|
<button id="showDeleteButtonPlayerControls" style="display: none" class="warningButton popupElement">__MSG_showDeleteButton__</button>
|
||||||
|
<br/>
|
||||||
|
<sub class="popupElement">
|
||||||
|
__MSG_whatDeleteButton__
|
||||||
|
</sub>
|
||||||
|
|
||||||
<button id="submitUsername" class="warningButton popupElement">__MSG_setUsername__</button>
|
<br/>
|
||||||
</div>
|
<br/>
|
||||||
|
|
||||||
<div id="optionsButtonContainer" class="popupElement">
|
<button id="disableSponsorViewTracking" class="warningButton popupElement">__MSG_disableViewTracking__</button>
|
||||||
<br/>
|
<button id="enableSponsorViewTracking" style="display: none" class="warningButton popupElement">__MSG_enableViewTracking__</button>
|
||||||
<br/>
|
<br/>
|
||||||
|
<sub class="popupElement">
|
||||||
|
__MSG_whatViewTracking__
|
||||||
|
</sub>
|
||||||
|
|
||||||
<button id="optionsButton" class="dangerButton popupElement">__MSG_Options__</button>
|
<br/>
|
||||||
</div>
|
<br/>
|
||||||
|
|
||||||
<div id="options" class="popupElement" style="display: none">
|
<button id="showNoticeAgain" style="display: none" class="dangerButton popupElement">__MSG_showNotice__</button>
|
||||||
<br/>
|
|
||||||
|
|
||||||
<h3>__MSG_Options__</h3>
|
|
||||||
|
|
||||||
<span id="keybindButtons">
|
|
||||||
<button id="setStartSponsorKeybind" class="warningButton popupElement">__MSG_setStartSponsorShortcut__</button>
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
<button id="setSubmitKeybind" class="warningButton popupElement">__MSG_setSubmitKeybind__</button>
|
|
||||||
<br/>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<h2 id="keybindDescription" style="display: none" class="popupElement">__MSG_keybindDescription__</h2>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="hideVideoPlayerControls" class="warningButton popupElement">__MSG_hideButtons__</button>
|
|
||||||
<button id="showVideoPlayerControls" style="display: none" class="warningButton popupElement">__MSG_showButtons__</button>
|
|
||||||
<br/>
|
|
||||||
<sub class="popupElement">
|
|
||||||
__MSG_hideButtonsDescription__
|
|
||||||
</sub>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="hideInfoButtonPlayerControls" class="warningButton popupElement">__MSG_hideInfoButton__</button>
|
|
||||||
<button id="showInfoButtonPlayerControls" style="display: none" class="warningButton popupElement">__MSG_showInfoButton__</button>
|
|
||||||
<br/>
|
|
||||||
<sub class="popupElement">
|
|
||||||
__MSG_whatInfoButton__
|
|
||||||
</sub>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="hideDeleteButtonPlayerControls" class="warningButton popupElement">__MSG_hideDeleteButton__</button>
|
|
||||||
<button id="showDeleteButtonPlayerControls" style="display: none" class="warningButton popupElement">__MSG_showDeleteButton__</button>
|
|
||||||
<br/>
|
|
||||||
<sub class="popupElement">
|
|
||||||
__MSG_whatDeleteButton__
|
|
||||||
</sub>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="disableSponsorViewTracking" class="warningButton popupElement">__MSG_disableViewTracking__</button>
|
|
||||||
<button id="enableSponsorViewTracking" style="display: none" class="warningButton popupElement">__MSG_enableViewTracking__</button>
|
|
||||||
<br/>
|
|
||||||
<sub class="popupElement">
|
|
||||||
__MSG_whatViewTracking__
|
|
||||||
</sub>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<button id="showNoticeAgain" style="display: none" class="dangerButton popupElement">__MSG_showNotice__</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</center>
|
</center>
|
||||||
|
|||||||
Reference in New Issue
Block a user