diff --git a/manifest_v2/js/autoplay+loop.js b/manifest_v2/js/autoplay+loop.js
index 4f3c4ab..6c3d347 100644
--- a/manifest_v2/js/autoplay+loop.js
+++ b/manifest_v2/js/autoplay+loop.js
@@ -65,7 +65,7 @@ let YTNonstop = function YTNonstop(options) {
}
//if video ended ---> skip to next video
const AutoPlay = () => {
- if(Nonstop.getIsAutoSkip() == true && get_YT.player().getPlayerState() === 0) {
+ if(Nonstop.getIsAutoSkip() == false && get_YT.player().getPlayerState() === 0) {
get_YT.player().setAutonav(true);
const Index = get_YT.player().getPlaylistIndex();
@@ -176,11 +176,11 @@ let YTNonstop = function YTNonstop(options) {
const off = document.querySelector('.ytp-autonav-toggle-button-container > .ytp-autonav-toggle-button[aria-checked="false"]')
|| document.querySelector('#automix[role="button"][aria-pressed="false"]')
- if (Nonstop.getIsAutoSkip() == true && off) {
+ if (Nonstop.getIsAutoSkip() == false && off) {
off.click();
log('Autoplay has been enabled');
} else
- if (Nonstop.getIsAutoSkip() == false && on) {
+ if (Nonstop.getIsAutoSkip() == true && on) {
on.click();
log('Autoplay has been disabled');
} else {
diff --git a/manifest_v2/popup1.3.2.html b/manifest_v2/popup1.3.2.html
index 2a3cfa0..9a54189 100644
--- a/manifest_v2/popup1.3.2.html
+++ b/manifest_v2/popup1.3.2.html
@@ -98,7 +98,7 @@
font-size: 10px;
font-family: "Estrangelo Edessa";
text-transform: uppercase;
- background: #17DA0C;
+ background: #F54043;
border-radius: inherit;
box-shadow: inset 0 0px 2.5px rgba(0, 0, 0, 10.00), inset 0 0 4px rgba(0, 0, 0, 100.00), 0px 0px 5px rgba(0, 0, 225, 1);
box-sizing:content-box;
@@ -126,7 +126,7 @@
opacity: 0;
}
.switch-input:checked ~ .switch-label {
- background: #F54043;
+ background: #17DA0C;
box-shadow: inset 0 0px 2.5px rgba(0, 0, 0, 10.00), inset 0 0 4px rgba(0, 0, 0, 100.00), 0px 0px 5px rgba(0, 0, 225, 1);
}
.switch-input:checked ~ .switch-label:before {
@@ -155,11 +155,11 @@
height: 12px;
border-radius: 6px;
box-shadow: inset 0 0px 0px 0.7px rgba(100, 50, 0, 1.0), 0px 0px 8.5px rgba(75, 75, 75, 1.0);
- background-image: url("/images/autoplay_off.svg");
+ background-image: url("/images/autoplay_on.svg");
/* background-image: -webkit-linear-gradient(left, #17DA0C, #D6B83D, #F54043); */
}
.switch-input:checked ~ .switch-handle:before {
- background-image: url("/images/autoplay_on.svg");
+ background-image: url("/images/autoplay_off.svg");
}
.switch-input:checked ~ .switch-handle {
left: calc(100% - 31.8px);
@@ -254,7 +254,7 @@
Youtube Autoconfirm
is active.
diff --git a/manifest_v3/js/autoplay+loop.js b/manifest_v3/js/autoplay+loop.js
index 8a30d3c..bde21b1 100644
--- a/manifest_v3/js/autoplay+loop.js
+++ b/manifest_v3/js/autoplay+loop.js
@@ -73,7 +73,7 @@ let YTNonstop = function YTNonstop(options) {
//if video ended ---> skip to next video
const AutoPlay = () => {
- if(Nonstop.getIsAutoSkip() == true && get_YT.player().getPlayerState() === 0) {
+ if(Nonstop.getIsAutoSkip() == false && get_YT.player().getPlayerState() === 0) {
get_YT.player().setAutonav(true);
const Index = get_YT.player().getPlaylistIndex();
@@ -187,11 +187,11 @@ let YTNonstop = function YTNonstop(options) {
const off = document.querySelector('.ytp-autonav-toggle-button-container > .ytp-autonav-toggle-button[aria-checked="false"]')
|| document.querySelector('#automix[role="button"][aria-pressed="false"]')
- if (Nonstop.getIsAutoSkip() == true && off) {
+ if (Nonstop.getIsAutoSkip() == false && off) {
off.click();
log('Autoplay has been enabled');
} else
- if (Nonstop.getIsAutoSkip() == false && on) {
+ if (Nonstop.getIsAutoSkip() == true && on) {
on.click();
log('Autoplay has been disabled');
} else {
diff --git a/manifest_v3/popup1.3.2.html b/manifest_v3/popup1.3.2.html
index 3f0e978..1ba7b18 100644
--- a/manifest_v3/popup1.3.2.html
+++ b/manifest_v3/popup1.3.2.html
@@ -98,7 +98,7 @@
font-size: 10px;
font-family: "Estrangelo Edessa";
text-transform: uppercase;
- background: #17DA0C;
+ background: #F54043;
border-radius: inherit;
box-shadow: inset 0 0px 2.5px rgba(0, 0, 0, 10.00), inset 0 0 4px rgba(0, 0, 0, 100.00), 0px 0px 5px rgba(0, 0, 225, 1);
box-sizing:content-box;
@@ -126,7 +126,7 @@
opacity: 0;
}
.switch-input:checked ~ .switch-label {
- background: #F54043;
+ background: #17DA0C;
box-shadow: inset 0 0px 2.5px rgba(0, 0, 0, 10.00), inset 0 0 4px rgba(0, 0, 0, 100.00), 0px 0px 5px rgba(0, 0, 225, 1);
}
.switch-input:checked ~ .switch-label:before {
@@ -155,11 +155,11 @@
height: 12px;
border-radius: 6px;
box-shadow: inset 0 0px 0px 0.7px rgba(100, 50, 0, 1.0), 0px 0px 8.5px rgba(75, 75, 75, 1.0);
- background-image: url("/images/autoplay_off.svg");
+ background-image: url("/images/autoplay_on.svg");
/* background-image: -webkit-linear-gradient(left, #17DA0C, #D6B83D, #F54043); */
}
.switch-input:checked ~ .switch-handle:before {
- background-image: url("/images/autoplay_on.svg");
+ background-image: url("/images/autoplay_off.svg");
}
.switch-input:checked ~ .switch-handle {
left: calc(100% - 31.8px);
@@ -254,7 +254,7 @@ Youtube Autoconfirm
is active.
-
+