mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-26 00:03:01 +01:00
Add ratio bar to new design
This commit is contained in:
1 parent
fd49f02b38
commit
08bdfe1632
3 files changed
+16
-4
No files matched your search
@@ -40,6 +40,10 @@ function isShorts() {
|
||||
return location.pathname.startsWith("/shorts");
|
||||
}
|
||||
|
||||
function isNewDesign() {
|
||||
return document.getElementById("comment-teaser") !== null;
|
||||
}
|
||||
|
||||
let mutationObserver = new Object();
|
||||
|
||||
if (isShorts() && mutationObserver.exists !== true) {
|
||||
@@ -332,6 +336,7 @@ export {
|
||||
isShorts,
|
||||
isVideoDisliked,
|
||||
isVideoLiked,
|
||||
isNewDesign,
|
||||
getState,
|
||||
setState,
|
||||
setInitialState,
|
||||
|
||||
Reference in new issue
Block a user