[READ-ONLY] Mirror of https://github.com/probablykasper/thumbnail-grabber. Chrome extension for grabbing thumbnails/covers
browser-extension chrome chrome-extension chrome-extention extension
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix context menu not showing on Spotify

Kasper (Oct 15, 2022, 1:34 AM +0200) b27de9a1 6862d525

+8
+3
CHANGELOG.md
··· 1 1 # Changelog 2 2 3 + ## Next 4 + - Fix context menu not showing on Spotify 5 + 3 6 ## 1.3.0 - 2022 Sep 26 4 7 - Add Firefox support 5 8 - Fix YouTube thumbnail quality selection
+5
src/content-script.ts
··· 353 353 } 354 354 }); 355 355 356 + thumbnailGrabber.addEventListener('contextmenu', async function (e) { 357 + // make sure context menu can be shown 358 + e.stopPropagation(); 359 + }); 356 360 thumbnailGrabber.addEventListener('click', async function (e) { 357 361 if (!(e.target instanceof HTMLElement)) { 358 362 alert('No thumbnailGrabber click target'); 359 363 } else if (e.target === this) { 364 + // backdrop clicked 360 365 close(); 361 366 } else if (e.target.textContent === 'DOWNLOAD') { 362 367 try {