diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-10-08 17:45:53 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-10-08 17:45:53 -0700 |
| commit | c187a8862559242a623f6b5cf59c00b658c1c69a (patch) | |
| tree | 3b43170c771d30d766f1de8f165c840129f33a49 /popup.js | |
| parent | db48ff702b1496362eeebe58955d85adf6a36361 (diff) | |
silently fail if user attempts to open timestamp tool on a non-yt page
Diffstat (limited to 'popup.js')
| -rw-r--r-- | popup.js | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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."); } }); }); |
