Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Anarios/return-youtube-dislike.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsheepstar02 <wetmanroyale@gmail.com>2022-05-17 06:22:27 +0300
committersheepstar02 <wetmanroyale@gmail.com>2022-05-17 06:22:27 +0300
commit407d888fc5b760fe7781547b6c5a8ca2ee8e7f0e (patch)
tree4715d1f2a0a4c852c543128bcd08272386c18c7f /Extensions
parentebdc01a7ee34e2648269e71cab24ece703f82664 (diff)
tiny changes
Diffstat (limited to 'Extensions')
-rw-r--r--Extensions/UserScript/Return Youtube Dislike.user.js2
-rw-r--r--Extensions/combined/popup.html2
-rw-r--r--Extensions/combined/popup.js3
3 files changed, 3 insertions, 4 deletions
diff --git a/Extensions/UserScript/Return Youtube Dislike.user.js b/Extensions/UserScript/Return Youtube Dislike.user.js
index 476561b..53dc882 100644
--- a/Extensions/UserScript/Return Youtube Dislike.user.js
+++ b/Extensions/UserScript/Return Youtube Dislike.user.js
@@ -516,7 +516,7 @@ function getColorFromTheme(voteIsLike) {
function setEventListeners(evt) {
let jsInitChecktimer;
- function checkForJS_Finish(check) {
+ function checkForJS_Finish() {
console.log();
if (isShorts() || (getButtons()?.offsetParent && isVideoLoaded())) {
const buttons = getButtons();
diff --git a/Extensions/combined/popup.html b/Extensions/combined/popup.html
index 7d39246..86bc4c1 100644
--- a/Extensions/combined/popup.html
+++ b/Extensions/combined/popup.html
@@ -94,7 +94,7 @@
__MSG_legendSettings__
</legend>
- <label class="switch" data-hover="__MSG_textSettingsHover__">
+ <label class="switch" data-hover="Stop counting your likes and dislikes">
<input type="checkbox" id="disable_vote_submission"/>
<span class="slider"/>
<span class="switchLabel" title="__MSG_textSettings__"
diff --git a/Extensions/combined/popup.js b/Extensions/combined/popup.js
index 2fb0db7..a221392 100644
--- a/Extensions/combined/popup.js
+++ b/Extensions/combined/popup.js
@@ -99,14 +99,13 @@ advancedToggle.addEventListener("click", () => {
adv.style.pointerEvents = "none";
adv.style.opacity = "0";
advancedToggle.innerHTML = config.showAdvancedMessage;
- config.advanced = false;
} else {
adv.style.transform = "scale(1)";
adv.style.pointerEvents = "auto";
adv.style.opacity = "1";
advancedToggle.innerHTML = config.hideAdvancedMessage;
- config.advanced = true;
}
+ config.advanced = !config.advanced;
});
initConfig();