-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
uBlock doesn't understand ABP's Redirect
flag.
#1183
Comments
You have a concrete case? |
I can't understand what "concrete case" is, but here's more detailed explanation: ! Redirect: http://example.com/list.txt This comment indicates that the filter list has moved to a new download address. Adblock Plus will ignore any file contents beyond that comment and immediately try downloading from the new address. In case of success the address of the filter list will be updated in the settings. This comment is ignored if the new address is the same as the current address, meaning that it can be used to enforce the "canonical" address of the filter list.
NoMercy's SSL list is moving to HTTP. |
Also, ABP can handle 301/302 list redirection. How uBlock handle them? http://other.list/ "HTTP 301. go to https://other.list" |
It means I won't bother investing my free time implementing something for which there is no real world occurrence. |
Well, I don't think it's the case to open a new ticket, but it is possible the uBlock go straight to the target site, for example, I am Brazilian, I visit the site, www.uol.com.br which is a site of news, information, and etc all link I click there the uBlock now blocks with resource usage which I imagine is this redirect that has been added in the latest version What I want to know is whether it is possible to go straight to the target site, ignoring in this case, the address "www.click.uol.com.br"e going straight to the desired page, without stopping on uBlock page, as in the image: http://i.imgur.com/pyPthhL.png I'm sorry in advance, don't speak English, although it can understand some of what is written by you, I can't write well, so I used an online translator. |
@gorhill: He means that he should be redirected instead of allowing temporarily due to the script. By the way, a question I have is: The redirect feature is an automatic one(bypass the redirection) and when does it show the ublock0 page. I tried the case and I see the redirect/tracking part before the real news page. But my Ublock0 does not block that and does not show the parameters. Which are your settings? |
My settings is: http://i.imgur.com/oX1Pt2D.png In Windows 10 x64 (Ublock & Umatrix in Chrome, Opera and Firefox) |
Let's keep issues separate please, otherwise this drowns the original issue in noise. Original issue is "ABP What you are talking about is uBO's strict blocking -- a completely different, unrelated issue. See #973. What you are asking is not possible in practice, there is no way uBO will decide for you if whatever URL(s) has been parsed from the original URL should be loaded without asking the user first. You will have to click whatever URL is in there (there can be many), this implies informed consent, something uBO can't do for you. |
@Havokdan Use Redirector (Opera version here): |
Thanks, i will try. |
Redirect
flag.
I was honestly surprised that the EDIT: After checking the codebase, it looks like uBlock Origin does calculate its own checksums to check for obsolescence of some lists, and for obsolescence and corruption of important lists that ship with the extension, but I still don't see where the ABP command itself is ever used. |
I think that was the concrete case. But I can't find this list. Edit: it has already been mentioned ealier in an issue for the old uBlock: uBlock-LLC/uBlock#769 |
I just moved a small list of maybe 6 PCs to a new location, this feature would be appreciated to move all the PCs to the new location.' Edit: As clarification, with new location I mean a new URL. |
@gorhill I used |
If you can set HTTP headers on your old domain, try sending a You don't necessarily need to be able to modify the .htaccess file in Apache, or a server config in NGINX; if your old domain allows server-side scripts, you could set up such a script to handle unknown URL requests and set the appropriate headers for those specific URLs. |
[Adblock Plus 2.0]
! Title: Please update.
! Expires: 1 days
! Redirect: http://xxxxxxxx.txt
Expected Result:
uBlock update URL to "!Redirect" one like Adblock does.
Actual Result:
uBlock doesn't update URL to new one.
The text was updated successfully, but these errors were encountered: