inspiration: chrome-extension: streamkeys https://chrome.google.com/webstore/detail/streamkeys/ekpipjofdicppbepocohdlgenahaneen
helpful sources: https://developer.chrome.com/docs/extensions/reference/commands/#scope https://blog.shahednasser.com/how-to-add-keyboard-shortcuts-in-a-chrome-extension/ https://stackoverflow.com/questions/48220101/how-to-reload-certain-tab-in-chrome-extension https://stackoverflow.com/a/66550386 https://stackoverflow.com/questions/61323116/chrome-extension-cannot-access-contents-of-url-starting-with-chrome-extension https://stackoverflow.com/questions/17567624/pass-a-parameter-to-a-content-script-injected-using-chrome-tabs-executescript https://developer.chrome.com/docs/extensions/mv3/content_scripts/#programmatic https://developer.chrome.com/docs/extensions/reference/commands/ https://developer.chrome.com/docs/extensions/reference/commands/ https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/query chrome://extensions/shortcuts
TODOs:
-Work on the active YouTube tab, instead of the last-opened YouTube tab. -If a YouTube tab is active, operate that active tab instead of the latest YouTube tab.
-try to remove tabs from permissions.
on tab load/open/close events
Media Shortcuts Media Keys YouTube Keys