Google Force SafeSearch

Force SafeSearch for Google

Author
Thomas Wu
Daily installs
0
Total installs
0
Ratings
0 0 0
Version
1.0.1
Created
2025-06-05
Updated
2025-06-05
Size
427 Bytes
License
GNU GPLv2
Applies to

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.

长期地址
遇到问题?请前往 GitHub 提 Issues。