Restore real destination URLs in Google Search results (Web, Images, Videos, Shorts, Forums), bypassing /goto redirects and tracking parameters.
A lightweight and efficient userscript that restores real destination URLs on Google Search results, bypassing /goto encrypted redirects and tracking parameters in real time.
Starting in July 2026, Google began testing randomized /goto?url=... redirect tokens on search results, causing several issues:
:visited History: Randomized tokens prevent browsers from matching history, breaking purple visited link indicators.Common Triggers: Logged-out browsing and Incognito mode across Web, Images, Google Lens, Videos, Shorts, and Forums tabs.
/goto Redirects: Restores real URLs for organic results, AI Overviews, Google Shopping shelves, sitelinks, and forum threads.:visited Styling: Puts authentic target URLs onto href to recover visited link visual indicators.google.tld and wildcard regex matching (e.g., google.com, google.co.jp, google.com.tw, google.co.uk, etc.).udm/tbm) / Web (udm=web): Full direct link restoration for organic text results and sponsored ads.tbm=nws): Sanitizes navigation tracking parameters and click attributes (see limitations below for full details).udm=2): Title links directly to host pages, thumbnails retain preview features, and data-img-url provides direct image sources.data-img-url.udm=7 / udm=39): Direct links for YouTube, Shorts, Reels, TikTok, and more.udm=18): Restores Reddit, Quora, and community discussion threads./goto 302 redirection when only root domains are present to prevent empty homepage landings.srsltid, utm_*, gclid, fbclid (while strictly preserving functional parameters such as size, color, id, and #hash).si, sca_esv, fbs, sstk, entry, gsessionid, lsessionid, qsubts, vsdim telemetry tokens across related searches, pagination, knowledge panels, Google Lens category tabs (AI Mode, All, Exact matches, Visual matches, Feedback), Google Maps, Google Flights, and Google Finance (while strictly preserving core multimodal image parameters udm, tbnid, vsrid, vsint).data-ved, data-sb, ping, and onmousedown telemetry, blocking dynamic URL rewrites on click or hover.__G_DIRECT_LINKS_DEBUG__.report()).MutationObserver ancestor pruning, and microtask debouncing without polling (setInterval), ensuring low resource consumption and smooth continuous scrolling.W_jd data store at @run-at document-start./goto for direct URLs and strips tracking telemetry.Following the principles of Precision over Heuristics and the Anti-Degradation Guard, whenever Google does not provide authentic plaintext destination URLs within client-side data structures (W_jd, Protobuf payloads, or HTML comments), the script safely preserves native /goto links. This allows Google's server to execute standard HTTP 302 redirects, preventing broken navigation caused by guessing or mismatched URLs.
Current link categories that are preserved with native redirects due to client-side data limitations include:
data-fburl or direct subtree mappings) is present.tbm=nws) Search Results:MIT License