Closed raszpl closed 2 weeks ago
hi! :) what about the removed lines in background.js
link doesnt work so I dont know which ones., but as the commit messasge says remove dead code
greetings @MohamedLebda
case 'download'
and chrome.scripting.executeScript (or does chrome.tabs.executeScript still work with manifest 3?)
@raszpl
'download' is dead code, its not used anywhere https://github.com/search?q=repo%3Acode-charity%2Fyoutube%20download&type=code executeScript my fault, I used older version (4.938) when making the patch and didnt notice it changed after switch to manifest3.
fix of your edit https://github.com/code-charity/youtube/pull/2370
fixing up after https://github.com/code-charity/youtube/commit/dc56797f195750aaf6b3e2b8028ef6dd97c7bbfb also partially fixes https://github.com/code-charity/youtube/issues/2284 message spam by only sending messages to connected tabs we have permissions for. still need to get rid or at least fix the blur/focus https://github.com/code-charity/youtube/blob/6d369c11c3a621bf1bf6cbd502cff96537671024/background.js#L162 spam mentioned in https://github.com/code-charity/youtube/pull/2299#issuecomment-2127002469