Disable Google SafeSearch automatically

it will disable Google SafeSearch automatically

目前為 2023-12-01 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Disable Google SafeSearch automatically
  3. // @namespace Disable Google SafeSearch automatically
  4. // @author Rishabh
  5. // @include https://www.google.*/search*
  6. // @include https://www.google.*/imgres*
  7. // @run-at document-start
  8. // @description it will disable Google SafeSearch automatically
  9. // @version 1.02
  10. // @grant none
  11. // ==/UserScript==
  12. var url = window.location.href;
  13. var safe = "&safe=off";
  14. if(url.indexOf(safe) == -1){
  15. url += safe;
  16. window.location = url;
  17. }