Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Services > Web Designing and Development

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2007, 01:56 PM
Queenie's Avatar
Member
 
Join Date: Jun 2007
Location: On your head
Posts: 48
Default Preventing pages to load into frames

I hate people loading our pages loading in frames without our permissions. I found this on the net and share it to you all to protect your pages from being stolen.

The code tests whether the top page is the same as the page being displayed. If this is not the case, the URL of the top page is changed to the URL of the present page. Thus, your page always loads in a full browser window the way you wanted it.
Place this script in the HEAD section of each document you want to protect.


Enjoy!!!
Attached Files
File Type: txt script.txt (146 Bytes, 7 views)

Last edited by Queenie; 06-29-2007 at 02:04 PM.
Reply With Quote
  #2 (permalink)  
Old 06-29-2007, 02:23 PM
paul's Avatar
Senior Member
 
Join Date: Apr 2006
Location: Norway
Posts: 1,642
Default

Thanks for sharing that queenie, I will check it how this work, I am also looking for a solution to give some of my stray pages a home.

__________________

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:42 PM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum