keifufu / WebNowPlaying

WebNowPlaying browser extension. Provides support for browser-based players
MIT License
85 stars 10 forks source link

Adblock breaks extension #5

Closed Vishnu-Thirumalai closed 1 year ago

Vishnu-Thirumalai commented 1 year ago

Duplicate of https://github.com/tjhrulz/WebNowPlaying-BrowserExtension/issues/54

Can be fixed by adding the extension to the brave filter list: as repo is locked I couldn't update the README, here's the instructions:

If you use an adblocker

Some adblockers block requests to localhost, which breaks this plugin. To fix this, add the following to your adblock's filter list:

@@||localhost^8974
@@||localhost^8698

Here's where to find your filter list:

keifufu commented 1 year ago

Thanks for letting me know. Is there a way to allow all ports through localhost? I don't see why I would recommend only allowing a certain few when more adapters are likely to be added in the future and as users can add their own custom ports.

Also, I'm not sure what you meant by "repo is locked". You should be able to submit a pull request.

Vishnu-Thirumalai commented 1 year ago

There is a way (just add @@||localhost), but the reason localhost is blocked in the first place is due to security reasons as mentioned here https://github.com/brave/brave-browser/issues/15004.

And right sorry, I tried to push a branch but wasn't able to - will try again.

Glasses-are-90-me commented 1 year ago

Is it possible to limit the calls for localhost if it fails, it appears to be that the extension leaks memory at an alarming rate if left to continously error out and retry. for allot of people they will have extension sync on computers without rainmeter image

keifufu commented 1 year ago

@Glasses-are-90-me Yes, although I'm not sure why you're commenting on this issue about another issue, regardless: