jroakes

winopen

Aug 5th, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var seo = {}
  2.  
  3. seo.getDomainInformation = () => {
  4.  
  5.     var newTabs = (tools, features) => {
  6.  
  7.         for (item in tools){
  8.             console.log('Opening: ' + tools[item]);
  9.             window.open(tools[item], "_blank", features);
  10.         }
  11.         window.blur()
  12.     }
  13.  
  14.     const tools = [
  15.                     "https://whois.domaintools.com/"+encodeURIComponent(window.location.hostname),
  16.                     "https://spyonweb.com/"+encodeURIComponent(window.location.hostname),
  17.                     "https://builtwith.com/?"+encodeURIComponent(window.location.hostname)
  18.                     ];
  19.     const features = "menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes";
  20.  
  21.     newTabs(tools, features);
  22.    
  23.  
  24. }
Add Comment
Please, Sign In to add comment