-
Notifications
You must be signed in to change notification settings - Fork 772
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
google.com #7960
Comments
Click-tracking is not an issue because hyperlink auditing is disabled by default. |
Yes, I can see in the logger that beacon is blocked but the intermediate page still loads albeit as a blank page. Wouldn't you consider it an annoyance atleast? |
I am talking mainly about mobile devices, try opening any google search result in responsive mode in dev tools. |
|
No, the search results don't have |
@cantunborn try |
Sneaky google google.ctpacw = {};
google.ctpacw.cm = function(a) {
a.ping && (a.href = a.ping, a.removeAttribute("ping"))
}; |
This is what I was talking about 😃. |
Yes it works. |
" |
Similar issue in image results, google uses Is it possible to defuse the listener using uBO? |
Maybe not visible in |
You can try |
|
Scriptlets will not work on google image search page on Firefox because of https://bugzilla.mozilla.org/show_bug.cgi?id=1267027 |
Possible with with Scriptlet Doctor or this:
|
Note that this ends up partially disabling search history (which is technically tracking, but I nevertheless find useful). I've personally added a filter exception for this filter in my personal list, but leaving a message here in case others come wondering |
It also blocks Timeline manipulation from working |
replaced with |
Is it live? Should I update my filter list now and try it? I had also opted to disable the filter in The Logger ( |
Remove the filters you added to counter the filter and force update uBlock Annoyances list. |
I didn't add a filter manually, and I cannot find any |
Update the |
Captcha works normally for me on this site. What do you mean? |
Yes, currently scriptlets can only be applied on domain levels. Does it cause any breakages? |
No |
Found occurrence when right clicking an image 2023-05-12.13-27-20-1.mp4 |
Occurrence of what? |
link tracking |
Edit:
The rule stopped working recently. www.google.*##+js(set, google.arwt, noopFunc) But this does not help. window.document.documentElement.addEventListener("mousedown", function(b) {
var c = b.target;
if (!c) return !0;
c = c.closest("a[data-sb]");
if (!c) return !0;
if (0 !== b.button) {
a: {
b = c.getAttribute("data-sb");
var a = void 0 === a ? l : a;
if (b instanceof d) a = b;
else {
for (var g = 0; g < a.length; ++g) {
var h = a[g];
if (h instanceof f && h.i(b)) {
a = new d(b, e);
break a
}
}
a = void 0
}
}
a instanceof d ? a = a instanceof d && a.constructor === d ? a.g : "type_error:SafeUrl" : a = m.test(a) ? a : void 0;void 0 !== a && (c.href = a);c.removeAttribute("data-sb")
}
else "function" ===
typeof navigator.sendBeacon ? navigator.sendBeacon(c.getAttribute("data-sb"), "") : google.log("", "", c.getAttribute("data-sb"));
return !0
}, !0); I tried aeld.js, but somehow it does not always work.
Fortunately, my userscript still works. new MutationObserver(m=>{
for(let r of m) {
let _ = r.target.getAttribute("href").match(/[\?&]url=([^&]+)/);
_ && r.target.setAttribute("href", decodeURIComponent(_[1]));
}
}).observe(document.body, {subtree:true,attributeFilter:["href"]}); |
@gorhill Sorry, can you take a look? I can reproduce the issue where In the mean time, I think we can use www.google.*##a[data-sb^="/url?"]:remove-attr(data-sb) ? |
Can't repro, |
@stephenhawk8054 Need to use -href-cleaner scriptlet for that. The issue is at |
That could be another way, before right clicking on that link the element looks like this <a jsname="UWckNb" href="https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm" data-ved="2ahUKEwijuJvG1ZOFAxWblK8BHSa6DcoQFnoECAYQAQ" data-sb="/url?sa=t&source=web&rct=j&opi=89978449&url=https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm&ved=2ahUKEwijuJvG1ZOFAxWblK8BHSa6DcoQFnoECAYQAQ&usg=AOvVaw1m9pu35nBXRjvT4aqrVBjR"></a>
Hmm... Looks like |
Indeed, this fixes up. You should add it. |
Just found a special case where Steps to reproduce:
And there is (
function(name) {
if ( self.uBO_bcSecret ) { return; }
const bcSecret = new self.BroadcastChannel(name); // SecurityError: The operation is insecure. If cookies are allowed, it works just fine under no-scripting mode. |
|
Sorry for the confusion. |
How to truncate URLs like these in Google images?
which should be |
|
URL(s) where the issue occurs
https://www.google.com
Describe the issue
When tapping on the search results, first a google URL is opened and then page is redirected to main search result URL.
The link shown after right-clicking (long press on mobile) is also not the URL of search result. This can also be seen in DOM of webpage where the anchor tag
a
hasping
andoncontextmenu
(to prevent copying main URL and to replace it with ping URL) attributes which may be considered tracking, but I'm not sure. It definitely is an annoyance since it brings extra redirection and slows down browsing.Screenshot(s)
I have put screenshots in another issue on adguard filters page AdguardTeam/AdguardFilters#64616.
Versions
Settings
Default settings.
Notes
I bypassed this with
google.com##+js(ra, ping|oncontextmenu, a)
, but it may not be accurate.The text was updated successfully, but these errors were encountered: