New google research result sometimes use `/goto?url=` relative link, and it breaks this extension silently
Discussed in https://github.com/iorate/ublacklist/discussions/1024
Originally posted by skishida August 28, 2026
Bug Description
On Google result pages where the links are served as href="/goto?url=<opaque token>" instead of a plain https://..., uBlacklist processes zero results — no block links, nothing filtered, no console errors.
That href is relative, and getURL() validates the raw attribute with new URL(), which throws on a relative URL. result.url ends up null, and that silently disables both the block button and the ruleset query.
The rewrite is a Google-side change, not anything uBlacklist did. I only see it in private windows, but I don't think that's the actual condition.
Steps to Reproduce
The condition seems isn't "private window" — that's just how I happened to land in it. What actually decides it is whether Google is serving /goto links to your session, so the first step is checking that rather than opening any particular kind of window.
- On any Google results page, hover over a result link, or right-click it and copy the link address.
- If it points at
https://www.google.com/goto?url=...rather than at the destination site, that page is affected — uBlacklist renders no block links on it and blocks nothing, whatever your blocklist says. - If it points noraml URL for the destination, everything works normally and there is nothing to see.
I don't have a way to get into the affected sesion on demand, so I can't give exact steps that will reproduce it for someone else. For me it lines up with being private windows but I can't tell whether login state is the cause or just the timing matter.
Expected Behavior
Two things, and the first is the one I noticed:
- The block button uBlacklist adds to each result should be there, so I can block a site straight from the results page. Even if my blocklist happened to match nothing on the page, the buttons themselves should still show up.
- Results matching entries already in my blocklist should be hidden (as usual)
Actual Behavior
Neither happens, and nothing throws.
Not a single block button is rendered — not on one result out of thirteen — so there is no way to block anything from the page at all. Nothing in my blocklist is hidden either. Visually it is indistinguishable from having the extension disabled, except the toolbar popup opens normally and shows the blocklist intact.
Everything upstream of the URL turns out to be fine: the blocklist is loaded, SERPINFO matches the page, and the result roots are found and tagged with data-ub-result. Only the URL is missing, so the buttons are never created and the ruleset is never consulted.
Browser
Chrome 151.0.7922.174 (Windows 11)
uBlacklist Version
10.0.2
Search Engine
Additional Context
Where it stops
reading the bundle, so please correct me where I've misread):
try { new URL(url); } catch { return null; } // getURL(), filter.tsresult.url == null then skips the button and the query, while data-ub-result is set unconditionally — which is why the page looks processed:
if (result.url != null && result.removeButton == null) { ... } // no button
result.root.setAttribute(attributes.result, "1");
...
if (result.url != null) { // never queried
const queryResult = this.#ruleset.query({ url: result.url, props: result.props });Not specific to uBlacklist
Maybe it should be discussed under the Website topic, but JFYI, the same Google change has broken other projects
- Rob--W/dont-track-me-google#67
- serpapi/public-roadmap#3914
- SEO coverage from late June: Search Engine Roundtable, digitalapplied. Google hasn't commented.
and, I think fixing SERPINFO may can not solve this, because the destination URL seems isn't anywhare in the result, unfortunately.
Checklist
- I have searched existing discussions and issues to ensure this bug hasn't been reported before
- I have tried disabling other extensions to isolate the issue
Source: iorate/ublacklist