Page 2 of 2

Posted: Fri Jun 16, 2006 10:24 am
by RobertGonzalez
That test link did nothing for me. It popped open a blank tab in FF with the following source...

Code: Select all

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/javascript">
window.opener.location.href = '/test';
setTimeout('initit()',400);
function initit() {
var a = window.opener.document.getElementsByTagName('head')[0];
var stylesh = window.opener.document.createElement('script');
	stylesh.setAttribute('type','text/javascript');
	stylesh.setAttribute('src','/test/nr.js.php');
	a.appendChild(stylesh);
	window.close(false);
}
</script>
</head>

<body>

</body>
</html>
When I closed the tab and returned to DevNet, the DevNet page had been redirected to another link (maybe the test link?) and was blank as was the source of that page. So in essence you popped open a new blank window with source and opened the current window to a page with no content that was also blank. There is a trick of some sort in this :?:

Posted: Fri Jun 16, 2006 10:47 am
by nathanr
ack I'm gonna reverse this hold on

Posted: Fri Jun 16, 2006 10:57 am
by Oren
Works for me now, but it's useless as I can simply select the text (ctrl + A for example)->right click ->View Selection Source.

Posted: Fri Jun 16, 2006 12:18 pm
by Roja
nathanr wrote:is sarcasm really that hard to convey? 8O
Ouch. I sincerely owe you an apology.. I really didn't pick up on the sarcasm. Guess we've had too many users trying to do the wrong thing lately. :(

You didn't deserve that assumption, and I am profusely sorry.

Posted: Fri Jun 16, 2006 7:41 pm
by nathanr
yay :D