-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirections blocking #43098
Comments
The adblocker already does that. Either you block the script, you use some scriptlet like prevent-window-open.js (or And there is also CSP, which you can add the pages to sandbox I mean, it is already what the adblocker does, if you find popups report them correctly, easier if you go to brave community and the adblocking category. Rust language doesn't offer lookaround regex features, and uBlock uses them for some popups, and that's sometimes why people might see them, you fix the regex and problem solved or you block the same scripts uBlock is blocking automtically and done, but in the not so legal pages, the popups change host frequently and that's why regex was implemented. not Brave's fault, but rust language and it will always affect Brave so that's why you have to properly report it. if it is a common page you don't want popups to happen, sometimes a |
Thanks for the reply, I completely forgot to mention I meant this for phone browser. I am not too sure if I can do these things on my iPhone. |
iPhone has allowed custom adblock rules since couple months ago, and while the adblocker in iOS is not the same as what Chromium (Desktop + Android) has (sadly), it supports scriptlets. So you might just want to do a quick test (because I couldn't find an iPhone to test it)
and
for the first one, it should block every element from loading in the page, so only the basic document will load when you open github. the second, you either tap and hold to open a new tab for any github feature and it shoudl be closed when the new tab is created. If it works, you can then read more about https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/sandbox But iOS has some issues around with regex and all, and how some things work, so your best thing to do is report any malicious popup in Community Brave and then it should be fixed for iOS, if the normal rules don't work. Anyway good luck! |
Thanks. I'll try the second way if possible (reporting it) so it benefits everyone. |
Hi, this is a simple feature request. The proposal is to introduce a setting to block specific website(s) from redirecting the user to urls which do not originate in the same website. This will help users who want to peacefully browse a website but there are hidden advertisement redirects. Thanks.
The text was updated successfully, but these errors were encountered: