Block a particular if statement in an iframe?

S

simpleinventor

So here's the situation. I have a page with an IFRAME. I load into
that IFRAME a particular website (it's actually GMAIL.) However, my
site disappears, and gmail becomes the new webpage. one of the firs
few lines are:

if (top.location != self.location) {
top.location = self.location.href;
}

I believe that my problem. Any way around it?
 
S

shimmyshack

So here's the situation. I have a page with an IFRAME. I load into
that IFRAME a particular website (it's actually GMAIL.) However, my
site disappears, and gmail becomes the new webpage. one of the firs
few lines are:

if (top.location != self.location) {
top.location = self.location.href;

}

I believe that my problem. Any way around it?

1. proxy the code removing the offending lines.
2. write a gadget that uses the google api.
similar to http://www.google.com/a/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,792
Messages
2,569,639
Members
45,348
Latest member
RoscoeNevi

Latest Threads

Top