Skip to content

A script to help you disable safesearch on Bing, DuckDuckGo, Yahoo, Ecosia, Qwant, Startpage and brave automatically.

License

Notifications You must be signed in to change notification settings

AndrewWangDev/Disable_Safesearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disable Safesearch

A lightweight Userscript to automatically disable SafeSearch across major search engines.

License Version Pull Requests


📖 Overview

Disable Safesearch is a privacy-focused Userscript designed to improve your search experience by automatically setting SafeSearch to "Off" (or the lowest possible restriction) on popular search engines. It runs entirely in your browser, modifying cookies and local storage settings to ensure unfiltered results without manual intervention.

✨ Features

  • Automated Configuration: Sets SafeSearch preferences instantly upon visiting supported sites.
  • Broad Compatibility: Works with Bing, DuckDuckGo, Yahoo, Ecosia, Qwant, Startpage, and Brave.
  • Privacy First: No external data transmission; all changes are local to your browser.
  • Lightweight: Minimal impact on page load performance.

📦 Demo

Here are some screenshots demonstrating the script in action:

Demo 1

Demo 2

Demo 3

(Demonstration Experiment Only. All product names, logos, and brands are property of their respective owners.)

�🚀 Supported Search Engines

Search Engine Status
Bing
DuckDuckGo
Yahoo
Ecosia
Qwant
Startpage
Brave

📦 Installation

  1. Install a Userscript Manager:

  2. Add the Script:

    • Create a new script in your manager.
    • Copy the contents of disable_safe_search.usr.js.
    • Save and enable the script.

🛠️ How It Works

The script operates at document-start to intercept and modify search engine settings before the page renders:

  1. Hostname Detection: Identifies the current search engine.
  2. Cookie Management: Analyzes existing cookies (e.g., ADLT for Bing, vm for Yahoo).
  3. Injection: Intelligently inserts or updates the specific cookie or local storage value required to disable SafeSearch.
  4. Refresh: Triggers a page reload if settings were changed to apply the new preferences immediately.

🤝 Contributing

Contributions are welcome! If you find a search engine that isn't supported or have an improvement:

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

📄 License

Distributed under the MIT License. See LICENSE for more information.

About

A script to help you disable safesearch on Bing, DuckDuckGo, Yahoo, Ecosia, Qwant, Startpage and brave automatically.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published