hacks-

Auto Seacher

  1. // ==UserScript==
  2. // @name hacks-
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @license MIT
  6. // @description Auto Seacher
  7. // @author You
  8. // @match https://www.bing.com/*=hacks-*
  9. // @match https://www.bing.com/search?FORM=U523DF&PC=U523&q=hacks-*
  10. // @match https://www.bing.com/search?q=hacks-*
  11. // @icon https://www.google.com/s2/favicons?sz=64&domain=bing.com
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. 'use strict';
  17. var delay = 5000
  18.  
  19. function search(){
  20. function timeout(i){
  21. setTimeout(function(){
  22. document.title = delay/1000 - i
  23. },i*1000)
  24. }
  25. for(var i=0;i<=delay/1000;i++){
  26. timeout(i)
  27. }
  28.  
  29. setTimeout(() => {
  30. var str = "https://www.bing.com/search?FORM=U523DF&PC=U523&q=hacks-"+Math.random()
  31. window.open(str,"_self")
  32. },delay)
  33. }
  34. search()
  35. setInterval(search(),delay)
  36. })();