From 42f674561d1b32e5afcc8e91192fb87602e7775f Mon Sep 17 00:00:00 2001 From: Pg Date: Fri, 17 Mar 2023 01:11:54 +0100 Subject: [PATCH] Paper change the tag of the button --- app/scripts/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/content.js b/app/scripts/content.js index e0f8a3c..e217571 100644 --- a/app/scripts/content.js +++ b/app/scripts/content.js @@ -28,7 +28,7 @@ browser.runtime.onMessage.addListener( function(msg, sender, sendResponse) { }); function startLikerProcess(options) { - var IS_PAPER = document.querySelector("ytd-subscribe-button-renderer[modern]") !== null; + var IS_PAPER = document.querySelector("ytd-subscribe-button-renderer") !== null; window.IS_PAPER = IS_PAPER; let liker = null; if (IS_PAPER) {