MagicJinn / Block-Sponsor-Comments

A browser extension that removes a preset list of video sponsors from youtube video descriptions and comments.
GNU General Public License v3.0
8 stars 3 forks source link

[Firefox] 'Submit issue with current watchpage' detecting wrong video and URL #21

Closed moosetwin0 closed 1 month ago

moosetwin0 commented 1 month ago

here is a video of the issue:

https://github.com/user-attachments/assets/d437289c-4275-497f-a1d2-cf3af11ab97f

moosetwin0 commented 1 month ago

This is with the latest version uploaded to the Firefox Add-Ons Browser (I have just installed it)

MagicJinn commented 1 month ago

Ah, I thought this issue wouldn't come up organically, but I was wrong. Thanks for reporting.

The reason this issue is happening is because the extension saves the title and URL when loading every new page, instead of getting the currently open one. This is a workaround to avoid asking for the "Tabs" permission.

Should be fixable, but until then, reloading the current page is a workaround.