

- Better blocker for redirects how to#
- Better blocker for redirects manual#
- Better blocker for redirects code#
- Better blocker for redirects plus#
Better blocker for redirects plus#
These pop-ups are sophisticated as neither Adblock Plus or uBlock can block these pop-ups." - The Alexa page lists Pornhub NETWORK sites under "Upstream Sites" which gives the idea that this domain is dedicated to online advertisement. " is the JavaScript-based popup opened in MinGeek's Pornhub NETWORK sites that is used to perform URL redirection to ads via. Or it may loose that scope and browser will think it's something initiated by the script only even though script were started by a user's click. In such case script on the page may remain in the scope of that click and when redirect will happen browser will still think that it was initiated by a user. For example background redirect initiated by a user's click on the link which end up opened in the new tab. Regarding redirects and navigation - it's problematic to distinguish one from another.

That would be really nice to have an ability to block actual redirect but seems like it's possible to implement properly only in the Firefox. I've seen only once a site which happily thrown away his visitors to ads page and that was an image hosting. They want to show you an ad but they don't want you to start looking for the alternative. Well, it's possible to use a cookie and force redirect anyway but in such case you will be throwing users away from your site and that is something most of a site owners don't really want to do. Sure but will that stay effective? Won't these pages just be able to find other ways around it, like making the redirect page set cookie and forcing the desired destination URL to just redirect to the redirect page in the same tab if the cookie isn't set? Instead of preventing redirect we just need to close that newly opened tab and redirect current tab to the URL of that new tab and that's all we need to know and do. We usually know the source page and we get URL of a new page from a newly opened tab. I would suspect that the Chrome redirect blockers you tested were, for usability reasons, trying to make the distinction and thus failing some of the time.
Better blocker for redirects code#
My point is if you don't bother to distinguish redirect and navigation (in the way I mean the terms), you don't have to take every single method of redirection into account, all you need to know is the origin of the navigation - which I know is reliably possible in Firefox at least (haven't made such code myself though). all redirect methods plus things like user clicks link, user submits form, user uses browser back button, user types new address in address bar, etc.).
Better blocker for redirects manual#
Yeah, I was taking "redirect" and "navigation" to mean two different things: redirect is always automatic (JS methods, meta refresh, etc.), but navigation could be manual (i.e. It's very likely that such solution will be limited to Firefox only. I've tested a couple of redirect blockers for Chrome and I haven't found even one which did his job in all cases. The thing is it could be rather problematic to implement such feature and that is exactly due to so many ways to redirect a page. That could be worked around in filter subscriptions by $domain or $~domain, or whitelist filters using this option (as such whitelists wouldn't whitelist anything currently blockable with ABP, right?).Īctually my initial request is to create a way to block redirect to another page (or navigation, in this case, meaning is the same). something from chrome context wants to do the navigation).Ĭon: Filters using that option would block links to matching addresses, but not sure that matters here. Don't have to try to determine whether anything is a redirect or not, only have to know whether the navigation was started by the user/browser (i.e.
Better blocker for redirects how to#
So here's another idea how to deal with this: what about implementing this suggestion as a filter option which makes the filter stop any webpage from navigating to webpages matching the filter?

I think the "force to open in the same tab" method will result in websites finding other ways to get the ad page displayed. However there are so many different ways to do an automatic redirect that it's hard to imagine it's practical to take all of them into account. (Please add me to CC list for this issue, thanks)
