Google Force SafeSearch

Force SafeSearch for Google

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
Thomas Wu
日安装量
0
总安装量
7
评分
0 0 0
版本
1.0.1
创建于
2025-06-05
更新于
2025-06-05
大小
427 字节
许可证
GNU GPLv2
适用于

Description

This is a simple userscript that automatically enforces Google SafeSearch whenever you visit Google search result pages (including image previews). It works by checking if the SafeSearch query parameter (safe=on) is already present in the URL, and if not, appends it and reloads the page — ensuring that explicit content is always filtered out in your search experience.

Technical Notes

  • Works on all .google. domains
  • Supports both regular web and image search pages (/search* and /imgres)
  • Requires no special permissions or external libraries

Credit

This script was adapted from Google Disable SafeSearch automatically by Mikhoul, which performs the opposite function by forcing SafeSearch off.