View Single Post
Old 05-15-2013, 07:35 PM  
PornMD
Mainstream Businessman
 
PornMD's Avatar
 
Industry Role:
Join Date: Jan 2007
Location: San Diego
Posts: 9,291
Quote:
Originally Posted by Harvey Specter View Post
Yeah pretty simple with some reworking..
Obviously just change the textbox to a hidden form item when using in production

Code:
<body>
<script type="text/javascript" >
    var backup = document.write;
    var ipaddress = "";
    document.write = function(str) {ipaddress += str;};
</script>
<script type="text/javascript" src="(nolinks)://l2.io/ip.js">  </script>
<script type="text/javascript" >
    document.write = backup;
	function setIP(){
		document.getElementById('textBoxName').value = ipaddress;
	}
	window.onload = setIP;
</script>

<form id="formName" name="formName">
<input type="text" name="textBoxName" id="textBoxName" />
</form>
</body>
Thanks again. I just tested this within the system and the field just shows empty. Can't believe how cumbersome this damn thing is. :/

Here is what the source code on the page shows:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>HTML Layer test</title><meta name="robots" content="noindex" />
<script type='text/javascript'>
			var mr_lp_id = 20;
		</script></head>
<body style="font-family: Verdana; font-size: 16px; margin: 0px;padding:0px; background-color: rgb(255,255,255);background-position: top center;"><center><div style='width: 800px; height: 1000px; position: relative;overflow: hidden;'><DIV style="left:1px;top:5px;height:343px;width:456px;position:absolute;overflow: hidden;overflow-y:auto;line-height: 1.25;text-align: left">
			
<script type="text/javascript" >
    var backup = document.write;
    var ipaddress = "";
    document.write = function(str) {ipaddress += str;};
</script>
<script type="text/javascript" src="(nolinks)://l2.io/ip.js">  </script>
<script type="text/javascript" >
    document.write = backup;
	function setIP(){
		document.getElementById('textBoxName').value = ipaddress;
	}
	window.onload = setIP;
</script>

<form id="formName" name="formName">
<input type="text" name="textBoxName" id="textBoxName" />
</form>

</DIV></div></center><script src='http://www1.moon-ray.com/tracking.js' type='text/javascript'></script>
<script>
_mri = "7997_lp20.0_2";
mrtracking(0);
</script></body>
</html>
__________________
Want to crush it in mainstream with Facebook ads? Hit me up.
PornMD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote