the way I think it can be done is, if the Geocities script calls a function, eg. displayAdvert(), just add some javascript to your page with a function of the same name, that does nothing. Then hopefully it'll call yours instead of theirs, and nothing happen. I'm sure that it's against their T&C's, and you'd probably get your site removed without prior warning, as is their wont.
Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Giles Roadnight" To: <[EMAIL PROTECTED]> <giles@roadni cc: ght.name> Subject: Re: [ cf-dev ] OT Javascript frames problem 08/21/02 01:43 PM Please respond to dev I have seen one site that successfully disabled the Geocities popup but I can't remember how it was done and the site has now moved hosts. I do know that it was not perfect though. I got errors on IE 6 but it worked on all other IE versions. It may have been as simple as just closing the popup as soon as the page loads. Sorry I can't be more help. Giles ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 1:39 PM Subject: [ cf-dev ] OT Javascript frames problem > Got a website at http://www.geocities.com/somename/ > Have a domain name somename.com. > > Want to continue hosting the site at Geocities, so have setup a website > with hidden frame redirection for this domain. i.e. at somename.com have > an index page with a frameset. The top frame has zero height, the lower > frame has 100% height, and it's source is the Geocities URL. No problem, > done this before without any hassle. However, Geocities puts in it's > lovely popup advert code in the foot of every page, which includes some > javascript. In IE (and probably Netscape 6, Mozilla, Opera), this > generates a Javascript error "Permission Denied", obviously to prevent > cross-site scripting security flaw. > > How best to get around this? Could just do normal web forwarding, i.e. it > redirects to the Geocities URL, which wouldn't look so nice, but right now > is the best option I can see. Disabling the popup advert probably isn't an > option (if it can be done programmatically then I think you run the risk of > Geocities slapping your wrists). A lot of the big domain resellers provide > hidden frame redirection, and they must have a workaround for this exact > thing, what could it be? Could I set document.domain in the top frame to > the same as the geocities one? > > > ta for any pointers > > > Duncan Cumming > IT Manager > > http://www.alienationdesign.co.uk > mailto:[EMAIL PROTECTED] > Tel: 0141 575 9700 > Fax: 0141 575 9600 > > Creative solutions in a technical world > > ---------------------------------------------------------------------- > Get your domain names online from: > http://www.alienationdomains.co.uk > Reseller options available! > ---------------------------------------------------------------------- > ---------------------------------------------------------------------- > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
