View Single Post
Old 10-09-2012, 12:02 AM   PM User | #16
nomanic
Regular Coder

 
nomanic's Avatar
 
Join Date: Feb 2009
Location: United Kingdom
Posts: 252
Thanks: 9
Thanked 33 Times in 33 Posts
nomanic is an unknown quantity at this point
text file (page.txt) -
http://www.google.com

in your bottom frame load this page-
Code:
<script type="text/javascript">
var json,iC=false,dsTA=[],dTA=[],cTA=[],rTA=[],ajs=[],qwt=-1,htp=(document.all)?(new ActiveXObject("Microsoft.XMLHTTP")):(new XMLHttpRequest());
l_8=function(r){return r?r.length:0;};
sT=function(n,t){return setTimeout(n?n:"",(t?t:10));};
ob=function(o,q){return (typeof o==='string')?((o==='')?q:document.getElementById(o)):o;};
sC=function(w,r,f){cTA.push(w);rTA.push(r);ajs.push(f);if(qwt!==-1){clearTimeout(qwt);}qwt=sT("cQ();",100);};
cQ=function(w,r){if(!iC&&(l_8(cTA)>0)){w=cTA.shift();r=rTA.shift();iC=true;htp.open('post',w);eval("htp.onreadystatechange="+r);htp.send(null);}qwt=(l_8(cTA)>0)?sT("cQ();",5000):-1;};


caller2=function() {
    if (htp.readyState===4){
        iC=false;
        ft=ajs.shift();
        location.href=htp.responseText;
    }
};
sC("page.txt",caller2,[]);
</script>
if you wanted to pass parameters, pass the name of the text file, assuming its going to change everytime
__________________
<DmncAtrny> I will write on a huge cement block "BY ACCEPTING THIS BRICK THROUGH YOUR WINDOW, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE INSTALLATION OF THIS BRICK INTO YOUR BUILDING."
<DmncAtrny> And then hurl it through the window of a Sony officer
<DmncAtrny> and run like hell

Portfolio, Tutorials - http://www.nomanic.biz/
nomanic is offline   Reply With Quote
Users who have thanked nomanic for this post:
SpongeRob (10-09-2012)