mirror of
https://github.com/yusufipk/YouTubeOutlierBadge.git
synced 2026-09-11 10:56:14 +00:00
Add badge menu and library
Clicking a badge now opens a menu instead of the video: copy a YouTube-style card image (thumbnail + title) to the clipboard, copy the title and link as text, download the card image, or save the video into the extension's own library page. The library groups entries into projects, supports search, moving, two-step deletes, JSON export with a field-level lossless import merge, and re-scores stale entries on open. Badge clicks are swallowed at window capture so YouTube's own handlers (notably on Shorts cards) never see them, and a fixed-position ghost copy of the badge keeps it visible and clickable above the hover preview overlay. Score tier colors and labels now live in one place (OBParse) shared by the badge, the watch panel, and the library.
This commit is contained in:
@@ -47,6 +47,8 @@
|
||||
<select id="language"></select>
|
||||
</label>
|
||||
|
||||
<button id="library" type="button" class="wide" data-i18n="popupLibrary"></button>
|
||||
|
||||
<div class="stats" id="stats"></div>
|
||||
|
||||
<button id="clear" type="button" class="wide" data-i18n="popupClear"></button>
|
||||
|
||||
Reference in New Issue
Block a user