Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #25593
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Disable viewing outside of frame set |
| Date | Wed, 30 Jul 2014 17:04:09 +0200 |
| Organization | PointedEars Software (PES) |
| Lines | 19 |
| Message-ID | <2978035.TjpaFmbO7j@PointedEars.de> (permalink) |
| References | <lrachh$p3v$1@l01news1.ot.hr> <frame-set-20140730154334@ram.dialup.fu-berlin.de> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | solani.org 1406732650 6771 eJwFwQkBwEAIAzBLx1OGHb76l7AEFhLzeSAcBImJ285slVq2XlJfSrKs5R7OM8ZpXYNd/DisEh4= (30 Jul 2014 15:04:10 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Wed, 30 Jul 2014 15:04:10 +0000 (UTC) |
| User-Agent | KNode/4.12.4 |
| X-User-ID | eJwFwQkBwDAIA0BL0IZPTgrDv4Td2XX1Drg5bG2JL0jqOa13VixLV6PBZeW80z61vOipL0OaqHGRxMMxtx9tWhW9 |
| Cancel-Lock | sha1:v8oZU4zZuAsdQfluSi+16f562Ko= |
| X-NNTP-Posting-Host | eJwFwYEBgDAIA7CXwFGQc2oZ/59ggpOeqkhkYLFxl1eExvtbt2c7h2WHoSy1rMAlOK4X7B8+BxIa |
| Xref | csiph.com comp.lang.javascript:25593 |
Show key headers only | View raw
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