A lightweight Userscript to automatically disable SafeSearch across major search engines.
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.
- 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.
Here are some screenshots demonstrating the script in action:
(Demonstration Experiment Only. All product names, logos, and brands are property of their respective owners.)
| Search Engine | Status |
|---|---|
| Bing | ✅ |
| DuckDuckGo | ✅ |
| Yahoo | ✅ |
| Ecosia | ✅ |
| Qwant | ✅ |
| Startpage | ✅ |
| Brave | ✅ |
-
Install a Userscript Manager:
- Tampermonkey (Recommended)
- Violentmonkey
- Greasemonkey
-
Add the Script:
- Create a new script in your manager.
- Copy the contents of
disable_safe_search.usr.js. - Save and enable the script.
The script operates at document-start to intercept and modify search engine settings before the page renders:
- Hostname Detection: Identifies the current search engine.
- Cookie Management: Analyzes existing cookies (e.g.,
ADLTfor Bing,vmfor Yahoo). - Injection: Intelligently inserts or updates the specific cookie or local storage value required to disable SafeSearch.
- Refresh: Triggers a page reload if settings were changed to apply the new preferences immediately.
Contributions are welcome! If you find a search engine that isn't supported or have an improvement:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
Distributed under the MIT License. See LICENSE for more information.


