Advertisement
Lorenzo501

Google Disable SafeSearch automatically

Aug 22nd, 2023 (edited)
82
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. Use with the Tampermonkey chrome extension
  2. https://greasyfork.org/scripts/25286
Advertisement
Comments
  • Lorenzo501
    171 days (edited)
    # text 0.54 KB | 0 0
    1. In case it gets lost or something, although it might already be outdated (I haven't tested it lately):
    2.  
    3. // ==UserScript==
    4. // @name Google Disable SafeSearch automatically
    5. // @description Disable Google SafeSearch automatically
    6. // @namespace Mikhoul
    7. // @include http*://*.google.*/search*
    8. // @include http://*.google.*/imgres*
    9. // @version 1.01
    10. // @grant none
    11. // ==/UserScript==
    12.  
    13. var url = window.location.href;
    14. var safe = "&safe=off";
    15. if(url.indexOf(safe) == -1){
    16. url += safe;
    17. window.location = url;
    18. }
Add Comment
Please, Sign In to add comment
Advertisement