Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b402a55

Browse files
committedJun 7, 2025
Remove DOMContentLoaded in userscript
1 parent 9feee8a commit b402a55

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎userscript/twitchnosub.user.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name TwitchNoSub
33
// @namespace https://github.com/besuper/TwitchNoSub
4-
// @version 1.2.0
4+
// @version 1.2.1
55
// @description Watch sub only VODs on Twitch
66
// @author besuper
77
// @updateURL https://raw.githubusercontent.com/besuper/TwitchNoSub/master/userscript/twitchnosub.user.js
@@ -86,7 +86,5 @@
8686
}
8787
}
8888

89-
document.addEventListener("DOMContentLoaded", function () {
90-
new RestrictionRemover();
91-
});
89+
new RestrictionRemover();
9290
})();

0 commit comments

Comments
 (0)
Please sign in to comment.