aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--_locales/en/messages.json2
-rw-r--r--manifest.json2
-rw-r--r--popup.html210
3 files changed, 108 insertions, 106 deletions
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 26582468..85381acb 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -100,7 +100,7 @@
"message": "Sponsorship Ends Now"
},
"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": {
"message": "Success!"
diff --git a/manifest.json b/manifest.json
index c8d06d88..6b8182e1 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,7 +1,7 @@
{
"name": "__MSG_fullName__",
"short_name": "__MSG_Name__",
- "version": "1.1.9.5",
+ "version": "1.1.9.6",
"default_locale": "en",
"description": "__MSG_Description__",
"content_scripts": [
diff --git a/popup.html b/popup.html
index 5b5a2948..88cb5756 100644
--- a/popup.html
+++ b/popup.html
@@ -14,7 +14,7 @@
</h1>
<!-- Loading text -->
- <p id="loadingIndicator" class="popupElement">__MSG_Loading__</p>
+ <p id="loadingIndicator" class="popupElement">__MSG_noVideoID__</p>
<!-- Hidden until loading complete -->
<div id="mainControls" class="main popupElement" style="display: none">
@@ -89,13 +89,6 @@
<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>
<div id="issueReporterContainer" class="popupElement" style="display: none">
@@ -108,126 +101,135 @@
</div>
- <h2 class="recordingSubtitle popupElement">__MSG_yourWork__</h2>
-
- <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>
+ <br/>
+ <br/>
- <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>
- <div class="popupElement">
- __MSG_viewLeaderboard__ <a class="popupElement discreteLink" href="https://sponsor.ajay.app/stats" target="_blank">__MSG_here__</a>.
- </div>
- </p>
+ <div>
+ <button id="disableSkipping" class="greenButton popupElement">__MSG_disableSkipping__</button>
+ <button id="enableSkipping" class="whitelistButton popupElement" style="display: none">__MSG_enableSkipping__</button>
+ </div>
- <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>
+ <h2 class="recordingSubtitle popupElement">__MSG_yourWork__</h2>
+
+ <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="setUsername" class="popupElement" style="display: none">
- <h3>__MSG_setUsername__</h3>
+ <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="setUsernameStatusContainer" style="display: none">
- <h2 id="setUsernameStatus"></h2>
- </div>
+ <div id="setUsername" class="popupElement" style="display: none">
+ <h3>__MSG_setUsername__</h3>
- <input id="usernameInput" hint="Username"></input>
+ <div id="setUsernameStatusContainer" style="display: none">
+ <h2 id="setUsernameStatus"></h2>
+ </div>
- <br/>
- <br/>
+ <input id="usernameInput" hint="Username"></input>
- <button id="submitUsername" class="warningButton popupElement">__MSG_setUsername__</button>
- </div>
+ <br/>
+ <br/>
- <div id="optionsButtonContainer" class="popupElement">
- <br/>
- <br/>
-
- <button id="optionsButton" class="dangerButton popupElement">__MSG_Options__</button>
- </div>
+ <button id="submitUsername" class="warningButton popupElement">__MSG_setUsername__</button>
+ </div>
- <div id="options" class="popupElement" style="display: none">
- <br/>
+ <div id="optionsButtonContainer" class="popupElement">
+ <br/>
+ <br/>
+
+ <button id="optionsButton" class="dangerButton popupElement">__MSG_Options__</button>
+ </div>
- <h3>__MSG_Options__</h3>
+ <div id="options" class="popupElement" style="display: none">
+ <br/>
- <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>
+ <h3>__MSG_Options__</h3>
+ <span id="keybindButtons">
+ <button id="setStartSponsorKeybind" class="warningButton popupElement">__MSG_setStartSponsorShortcut__</button>
<br/>
<br/>
-
- <button id="hideVideoPlayerControls" class="warningButton popupElement">__MSG_hideButtons__</button>
- <button id="showVideoPlayerControls" style="display: none" class="warningButton popupElement">__MSG_showButtons__</button>
+ <button id="setSubmitKeybind" class="warningButton popupElement">__MSG_setSubmitKeybind__</button>
<br/>
- <sub class="popupElement">
- __MSG_hideButtonsDescription__
- </sub>
+ </span>
+
+ <h2 id="keybindDescription" style="display: none" class="popupElement">__MSG_keybindDescription__</h2>
- <br/>
- <br/>
+ <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>
- <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/>
- <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>
- <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/>
- <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>
- <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/>
+ <br/>
+ <br/>
- <button id="showNoticeAgain" style="display: none" class="dangerButton popupElement">__MSG_showNotice__</button>
- </div>
+ <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>
</center>