mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-23 14:53:01 +01:00
3 files changed
+3
-4
No files matched your search
@@ -561,7 +561,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();
|
||||
|
||||
@@ -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__"
|
||||
|
||||
@@ -111,14 +111,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();
|
||||
|
||||
Reference in new issue
Block a user