Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
What does this HTML do?
Old 02-02-2004, 03:47 PM What does this HTML do?
Novice Talker

Posts: 8
Location: U.K
Trades: 0
This is my first post so please be patient with me.

Whilst surfing the internet I saw what looked like 3 periods on a screen, nothing else, I copied the HTML which I have atached.
I have replaced all references to the URL with ??????.
I'm just interested as to what this is doing, is it somethinf I should be aware of?


<html>
<head>
<title>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title>
<script language=javascript>

var pURL = new Array();
var pName = new Array();
var pHeight = new Array();
var pWidth = new Array();
var pPos = new Array();
var pDelay = new Array();

pURL[0] = "http://www.??????????????/go.cgi?id=??????????????????&page=???????????";
pName[0] = "pop1";
pHeight[0] = "600";
pWidth[0] = "800";
pPos[0] = "center"
pDelay[0] = "300";

var win=null;
function OpenWindow(url,id,w,h,scroll,pos,t,l){
if(pos=="random"){
Left=Math.floor(Math.random()*(screen.width-w));
Top=Math.floor(Math.random()*((screen.height-h)-75));
}
if(pos=="center"){
Left=(screen.width-w)/2;
Top=(screen.height-h)/2;
}
if(pos=="base"){
Left=0;
Top=0;
}
if(pos=="absolute"){
Left=t;
Top=l;
}
set='width='+w+',height='+h+',top='+Top+',left='+L eft+',scrollbars=yes,location=yes,directories=yes, status=yes,menubar=yes,toolbar=yes,resizable=yes';
mywin=window.open(url,id,set);
mywin.focus();
self.close();
}

for(var npop in pURL){
var st= "OpenWindow('"+pURL[npop]+"','"+pName[npop]+"',"+pWidth[npop]+","+pHeight[npop]+",'yes','"+pPos[npop]+"',0,0)";
setTimeout(st,pDelay[npop]*1000);
}

//setTimeout('self.close()',601000);

</script>
</head>
<body>
</body>
</html>
BigCol is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-02-2004, 04:41 PM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
It's a script for a popup window. Judging by the url (or what's left of it), probably a referrer id for ads.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
techwench is offline
Reply With Quote
View Public Profile
 
Old 02-02-2004, 04:43 PM
Webmaster Talker

Posts: 589
Trades: 0
looks like a php script to me but i am not sure
thevirus is offline
Reply With Quote
View Public Profile
 
Old 02-02-2004, 04:45 PM
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
It's javascript.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
techwench is offline
Reply With Quote
View Public Profile
 
Old 02-02-2004, 05:07 PM
Experienced Talker

Posts: 43
Location: Fort Worth, Texas
Trades: 0
Yep, popup, a lot of times, free hosts will have it automatically load into your page when you upload them. So more than likely, if you didn't put it there, and you use a host with popups, thats where it came from.
__________________
Lyncca

Please login or register to view this content. Registration is FREE
::
Please login or register to view this content. Registration is FREE
lyncca is offline
Reply With Quote
View Public Profile Visit lyncca's homepage!
 
Reply     « Reply to What does this HTML do?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.48933 seconds with 12 queries