Google Gemini - Direct Links

Removes the google.com/search?q= redirection wrapper from links generated by Google Gemini, allowing you to open external websites directly.

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!)

Forfatter
Milor123
Daglige installasjoner
0
Totale installasjoner
16
Vurderinger
0 0 0
Versjon
1.0
Lagd
23.11.2025
Oppdatert
23.11.2025
Size
2,3 kB
Lisens
MIT
Gjelder

Google Gemini - Direct Links

Description

This script automatically removes the intermediate Google Search redirection (https://www.google.com/search?q=...) from links generated by Google Gemini AI.

By default, when Gemini provides a link to a website (like Amazon, YouTube, or a blog), it often wraps it in a Google Search URL. This script extracts the real URL and makes the link point directly to the destination.

Features

  • Privacy & Speed: Skips the Google tracking redirect.
  • Direct Access: Links look and behave like normal web links.
  • New Tab: Automatically sets links to open in a new tab (target="_blank") so you don't lose your conversation with the AI.
  • Smart Detection: Only affects links that look like external URLs, preserving legitimate "Search for X" links.

Example

Before (Default behavior): Gemini gives you a link to a product. When you hover over it, the URL looks like: https://www.google.com/search?q=https://www.amazon.com/s?k=example

After (With this script): The link becomes a direct link to the site: https://www.amazon.com/s?k=example

Installation

  1. Install a userscript manager like Violentmonkey or Tampermonkey.
  2. Install this script.
  3. Refresh your Gemini tab.