mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-01 02:17:53 +01:00
1 file changed
+1
-1
@@ -242,7 +242,7 @@ function setState() {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
fetch(`https://youtube.com/watch?v=${getVideoId()}`).then((response) => {
|
fetch(`https://www.youtube.com/watch?v=${getVideoId()}`).then((response) => {
|
||||||
response.text().then((text) => {
|
response.text().then((text) => {
|
||||||
let result = getDislikesFromYoutubeResponse(text);
|
let result = getDislikesFromYoutubeResponse(text);
|
||||||
if (result) {
|
if (result) {
|
||||||
|
|||||||
Reference in new issue
Block a user