Mobile Extensions: Supports YouTube Shorts

This commit is contained in:
RyanBurgert219 committed 2022-03-20 07:31:41 -04:00
1 parent 0630627d3b
commit 73e58beac4
3 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -37,11 +37,11 @@ let jsInitChecktimer = null;
function setEventListeners(evt) {
function checkForJS_Finish() {
if (isShorts() || getButtons()?.offsetParent && isVideoLoaded()) {
clearInterval(jsInitChecktimer);
jsInitChecktimer = null;
addLikeDislikeEventListener();
setInitialState();
getBrowser().storage.onChanged.addListener(storageChangeHandler);
clearInterval(jsInitChecktimer);
jsInitChecktimer = null;
}
}