mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-26 16:23:00 +01:00
Extensions: Supports YouTube Shorts
This commit is contained in:
1 parent
39c3b49c7c
commit
1cc579d00d
5 files changed
+43
-4
No files matched your search
@@ -9,6 +9,7 @@ import {
|
||||
//--- Import State Functions ---//
|
||||
import {
|
||||
isMobile,
|
||||
isShorts,
|
||||
isVideoDisliked,
|
||||
isVideoLiked,
|
||||
getState,
|
||||
@@ -35,7 +36,7 @@ let jsInitChecktimer = null;
|
||||
|
||||
function setEventListeners(evt) {
|
||||
function checkForJS_Finish() {
|
||||
if (getButtons()?.offsetParent && isVideoLoaded()) {
|
||||
if (isShorts() || getButtons()?.offsetParent && isVideoLoaded()) {
|
||||
clearInterval(jsInitChecktimer);
|
||||
jsInitChecktimer = null;
|
||||
addLikeDislikeEventListener();
|
||||
|
||||
Reference in new issue
Block a user