Jump to content
UBot Underground

thejake

Fellow UBotter
  • Content Count

    17
  • Joined

  • Last visited

Everything posted by thejake

  1. OP was actually talking about xmlhttprequests, not sockets, which are done more or less thus: run javascript(" var p = 'author=aymen99&email=aymen1%40cbscam.org&url=http%3A%2F%2Faymenbnr.tedsplans.hop.clickbank.net%3Ftid%3DBW&comment=this+is+a+great+website+%2C+keep+it+up+BLABLA&submit=%D8%A5%D8%B6%D8%A7%D9%81%D8%A9+%D8%AA%D8%B9%D9%84%D9%8A%D9%82&comment_post_ID=291&comment_parent=0' var xhr = new XMLHttpRequest(); xhr.onload = function() \{ sessionStorage.setItem('xxv',this.responseXML.title); \} xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencode
  2. Anything too intrusive will create backlash. A banner in your user interface (many CPA and CPC networks allow hosting their creatives in apps and provide code to do so) and a message of the day at startup with a monitized link or two should be sufficient.
  3. I'd do it more or less like: set(#input, "132,test1\n", "Global") set(#input, "{#input}8931,test2\n", "Global") set(#input, "{#input}1322221,test3\n", "Global") set(#input, "{#input}5499,test4\n", "Global") set(#sorted, $eval(" var outs = Array(); outs.length = 999999999; var source =\"{#input}\"; var list = source.split(\"\\n\"); for (i in list) \{ parts = list[i].split(\",\"); outs[parts[0]] = list[i]; \} var sortedlist = \"\"; for (j in outs) \{if (outs[j]) sortedlist = sortedlist +outs[j] +\"\\n\";\} sortedlist; "), "Global") alert(#sorted) Of course the set for #input would be in y
  4. This works: var outs = Array(); outs.length = 999999999; var source ="31209290,acme.com\n100,acmesbiggestwebsite.com\n40021,acmesotherbiggestwebsite.com"; var list = source.split("\n"); for (i in list) { parts = list[i].split(","); outs[parts[0]] = list[i]; } var sortedlist = ""; for (j in outs) {if (outs[j]) sortedlist = sortedlist +outs[j] +"\n";} return sortedlist;
  5. I had a big list of domains to take snapshots of, and one decided to render over 30k pixels tall which seemed to cause some sort of problem which caused scripts to hang. I fished around the jank tank for a while and came up with this workaround: set(#url, "example.com", "Global") load html("<iframe src=\"http://{#url}/\" height=\"1024\" width=\"800\" horizontalscrolling=\"no\" verticalscrolling=\"no\"></iframe>") wait for browser event("Everything Loaded", 30) save browser image("C:\\Users\\Administrator\\Pictures\\website snapshots\\{#url}.jpg")
  6. If you need UUIDs for various things this is pretty: define $uuid4 { return($eval("\'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\'.replace(/[xy]/g, function(c) \{ var r = Math.random()*16|0, v = c == \'x\' ? r : (r&0x3|0x8); return v.toString(16); \});")) }
  7. set(#responseheaders, $eval("var req = new XMLHttpRequest(); req.open('GET', document.location, false); req.send(); req.getAllResponseHeaders(); "), "Global")
×
×
  • Create New...