Google AI Studio & Gemini - Clean & Direct Links 🔗

Removes the google.com/url and google.com/search redirection wrappers from links generated by AI Studio and Gemini. Allows direct access to external websites.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Milor123
Daily installs
0
Total installs
48
Ratings
0 0 0
Version
2.0
Created
2025-11-23
Updated
2026-01-14
Size
3.38 KB
License
MIT
Applies to

Google Gemini - Direct Links

Description (Detailed):

🚀 Bypass Google Redirections!

This script improves your experience on Google AI Studio and Google Gemini by removing the tracking/redirection wrappers from external links.

When the AI provides a link, Google usually wraps it like this: ❌ https://www.google.com/url?sa=E&q=https://example.comhttps://www.google.com/search?q=https://example.com

This script instantly converts them to: ✅ https://example.com

✨ Key Features

  • Dual Support: Works perfectly on both aistudio.google.com and gemini.google.com.
  • Smart Detection: Specifically on Gemini, it distinguishes between "Search for X" buttons and actual external links, ensuring site navigation remains unbroken.
  • Real-time Cleaning: Uses a MutationObserver to clean links instantly as the AI streams the response text.
  • Privacy & Speed: Clicking links is faster and bypasses Google's intermediate tracking page.

🛠️ How it works

The script scans for links containing google.com/url or google.com/search. It extracts the real destination from the parameters, verifies it is a valid URL (http/https), and replaces the link in the HTML.

Enjoy a seamless AI chat experience! 🤖✨