Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #25593
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Disable viewing outside of frame set |
| Date | 2014-07-30 17:04 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <2978035.TjpaFmbO7j@PointedEars.de> (permalink) |
| References | <lrachh$p3v$1@l01news1.ot.hr> <frame-set-20140730154334@ram.dialup.fu-berlin.de> |
Stefan Ram wrote: > en2 <nijePravi@mail.com> writes: >> frameset. So if he makes copy of this link and passes it on new tab like > > Maybe something like: > > if( top.location.href.toLowerCase() === "www.example.com/cars.html" ) > top.location.href = "example.com"; > > . But this would only work in case that someone had enabled JavaScript. Please don't. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Disable viewing outside of frame set en2 <nijePravi@mail.com> - 2014-07-30 11:05 +0200
Re: Disable viewing outside of frame set danca <cyberdanny@tiscalinet.it> - 2014-07-30 15:47 +0200
Re: Disable viewing outside of frame set Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-30 17:04 +0200
Re: Disable viewing outside of frame set Andrew Poulos <ap_prog@hotmail.com> - 2014-07-31 09:52 +1000
Re: Disable viewing outside of frame set Huub de Beer <H.T.de.Beer@gmail.com> - 2014-07-31 08:26 +0200
Re: Disable viewing outside of frame set en2 <nijePravi@mail.com> - 2014-07-31 08:53 +0200
Re: Disable viewing outside of frame set Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-31 12:46 +0100
Re: Disable viewing outside of frame set Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-31 14:56 +0200
Re: Disable viewing outside of frame set JJ <jj4public@vfemail.net> - 2014-07-31 14:11 +0700
Re: Disable viewing outside of frame set en2 <nijePravi@mail.com> - 2014-07-31 09:50 +0200
csiph-web