Jump to content

pureskill

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by pureskill

  1. var max = 2;var hatId = 32199211; function test(){var ifr = document.createElement('iframe');document.body.appendChild(ifr);ifr.id = "ok";var exp = document.getElementById('ok');exp = exp.contentWindow.document || exp.contentDocument;var p = exp.getElementsByTagName("pre");          for (var v=1; v<max; v++)          {          var url = "http://api.roblox.com/ownership/hasasset?assetId=" + hatId + "&userId=" + v + "";          ifr.src = url;        console.log(ifr.src);        for(var z=0; z<p.length; z++){          if (p[z].innerHTML == "true") {          console.log(v);          console.log("true");        }       }}} var timer = setInterval("test()", 200);

    it won't stop logging, also i can't get it to log the url + value

     

    1. Uncaught TypeError: Cannot call method 'getElementsByTagName' of null

    2
    1. Blocked a frame with origin "chrome://newtab" from accessing a frame with origin "http://api.roblox.com". The frame requesting access has a protocol of "chrome", the frame being accessed has a protocol of "http". Protocols must match.

    1. Uncaught TypeError: Cannot call method 'getElementsByTagName' of null

    2
    1. Blocked a frame with origin "chrome://newtab" from accessing a frame with origin "http://api.roblox.com". The frame requesting access has a protocol of "chrome", the frame being accessed has a protocol of "http". Protocols must match.

    1. Uncaught TypeError: Cannot call method 'getElementsByTagName' of null

×
×
  • Create New...