aboutsummaryrefslogtreecommitdiffstats
path: root/popup.js
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-10-08 17:45:53 -0700
committerPinapelz <yukais@pinapelz.com>2024-10-08 17:45:53 -0700
commitc187a8862559242a623f6b5cf59c00b658c1c69a (patch)
tree3b43170c771d30d766f1de8f165c840129f33a49 /popup.js
parentdb48ff702b1496362eeebe58955d85adf6a36361 (diff)
silently fail if user attempts to open timestamp tool on a non-yt page
Diffstat (limited to 'popup.js')
-rw-r--r--popup.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/popup.js b/popup.js
index 21cfed4..649720a 100644
--- a/popup.js
+++ b/popup.js
@@ -5,8 +5,6 @@ document.getElementById('activate').addEventListener('click', () => {
target: { tabId: tabs[0].id },
files: ['content-script.js']
});
- } else {
- alert("Please open a YouTube video to use the Timestamp Tool.");
}
});
});
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage