Page 1 of 1

Hotmail Frame of Shame

Posted: Sat Feb 08, 2003 1:58 pm
by virgil
Hi Php's :D

When an e-mailed link in a hotmail message is followed, hotmail opens a new window with its own title and banner frame. Direct links to my site now have no title bar unless the page is redirected manually with a <a href... Target='_top'>.


Does anyone have any ideas how to force an <a href in a hotmail recieved email to break out of the hotmail banner framed window?


I tried...



Code: Select all

if($a===TRUE)&#123;
$sender="name";
$sender_email="any.com";

$headers = "MIME-Version: 1.0\n";
$headers .= "From: $sender <$sender_email>\n";
$headers .= "Reply-To: <$sender_email>\n";
$headers .= "X-Sender: <$sender_email>\n";
$headers .= "X-Mailer: PHP4\n"; //mailer
$headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal
$headers .= "Return-Path: <$sender_email>\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";

//this dosent do the trick
$body=<a href='http://www.any_site.com/any_page.php?target=_top' target='_top'>click here</a>



 mail($receiver_Email,"E-mail Confirmed", "$body", "$headers");
&#125;



They do attach anew part to your URL...

http://64.4.36.250/cgi-bin/linkrd?_lang ... ___action=
http%3a%2f%2fwww%2eany_site%2ecom%2fany_page%2ephp%3ftarget%3d_top





This kind of forced advertising really ticks me off.

I'm tring to link to an internal page where there is nothing
identifing the site except the title bar.


Any ideas at all would be most appreciated.


Thanks
Virgil :)

Posted: Sat Feb 08, 2003 3:28 pm
by evilcoder
i know somehow there is a way to close a frame down. i've seen it dont somewhere.

What you would need to do is find out what hotmail calls its frame, then find the frame cancel snippet, and call it like that.

But other then that, i'm all out of ideas.

Posted: Sun Feb 09, 2003 4:20 am
by grief
try this


<SCRIPT LANGUAGE="JavaScript">
if (window != top) top.location.href = location.href;
</script>

Re: Hotmail Frame of Shame

Posted: Mon Feb 10, 2003 12:45 am
by redJag
virgil wrote:This kind of forced advertising really ticks me off.
Well it is a free service. Sorry that's all I have to contribute, though, since I hate Microsoft :)