Image-Search-Direct-View

Adds a "View Image" button to Image Search results. [Supported sites: Bing / DuckDuckGo / Google]

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
p65536
日安装量
3
总安装量
19
评分
1 0 0
版本
1.0.1
创建于
2026-01-04
更新于
2026-01-08
大小
160.1 KB
许可证
MIT
适用于

Limitations & Disclaimer

This script uses image URLs and metadata exposed by the search engine's search results. It does not scrape external websites, so the original raw file is not guaranteed.

Search engine implementations change frequently. Breakages caused by such changes are expected behavior, not logic bugs. Since I am not a psychic, I cannot predict future changes.

Please do not treat such breakages as simple bugs or demand immediate fixes, as this kind of expectation discourages further maintenance.

If you are not comfortable with these limitations, please do not use this script.


Overview

This script enhances your image search experience on following sites by adding a "View Image" button and a "Visit Page" button to search results.

  • Bing
  • DuckDuckGo
  • Google

sample

It allows you to view the high-resolution image directly in a new tab. It also includes a robust Fetch Strategy and Referrer Policy control to handle sites with anti-hotlinking protections, ensuring images load correctly where other scripts might fail.


Features

  • Multi-Site Support: Works seamlessly on supported sites.
  • Direct View: Adds a "View Image" button to open the HD image in a new tab.
  • Visit Page: Includes a "Visit Page" button to quickly navigate to the source website.
  • Advanced Fetching: Uses smart fetching strategies (Blob/Direct) to load images from sites with strict access controls.
  • Privacy Control: Configurable Referrer Policy (No Referrer, Origin, etc.) to control what data is sent to the image host.
  • Clean UI: Optional "Show on Hover" mode to keep the interface clutter-free until you need it.

Getting Started

Access the settings via your userscript manager's menu:

  1. Open the Tampermonkey (or equivalent) menu in your browser while on a supported search page.
  2. Select Open Settings.
  3. Configure your preferences (Fetch Strategy, UI behavior, etc.) in the modal window.

Settings Menu

Settings Panel

Allowing External Images (XHR Security)

This script requires XHR access to external image hosting sites in order to load high-resolution images.

Method 1: Via Popup (Recommended)

When the script tries to load an external image for the first time, a permission dialog will appear. For the smoothest experience with images from various sources, select "Always allow all domains" at the bottom.

XHR Security Popup

Method 2: Manual Configuration

You can also configure this manually in the Tampermonkey dashboard. Go to the script's Settings tab, scroll to XHR Security, and add * to the User domain whitelist.

XHR Security Settings


Tested Environment

  • This script is primarily developed and tested on Firefox with Tampermonkey.
  • It is also confirmed to work on Chromium-based browsers, but testing on these platforms is less extensive.

This script is open-source and licensed under the MIT License.