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.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Milor123
今日安裝
1
安裝總數
2
評價
0 0 0
版本
1.0
建立日期
2025-11-23
更新日期
2025-11-23
尺寸
2.3 KB
授權條款
MIT
腳本執行於

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.