mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-01 02:17:53 +01:00
Merge pull request #5 from JRWR/main
Added Userscript fix to notice when a new page is loaded
This commit is contained in:
1 file changed
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Return Youtube Dislike
|
// @name Return Youtube Dislike
|
||||||
// @namespace https://www.returnyoutubedislike.com/
|
// @namespace https://www.returnyoutubedislike.com/
|
||||||
// @version 0.1
|
// @version 0.2
|
||||||
// @description Return of the Youtube Dislike, Based off https://www.returnyoutubedislike.com/
|
// @description Return of the Youtube Dislike, Based off https://www.returnyoutubedislike.com/
|
||||||
// @author Anarios & JRWR
|
// @author Anarios & JRWR
|
||||||
// @match *://*.youtube.com/*
|
// @match *://*.youtube.com/*
|
||||||
@@ -132,6 +132,6 @@ function setEventListeners(evt) {
|
|||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
window.addEventListener("yt-navigate-finish", setEventListeners, true);
|
||||||
setEventListeners();
|
setEventListeners();
|
||||||
|
|
||||||
})();
|
})();
|
||||||
Reference in new issue
Block a user