Sponsor for PC Pals Forum

Author Topic: Hide URL & Stop right click  (Read 2713 times)

Offline Muggins

  • Regular Member
  • **
  • Posts: 74
Hide URL & Stop right click
« on: November 03, 2003, 20:41 »
Can anyone help me?

I am helping a pal design a website.. he is going to use a webredirection site and point it to his basic ISP webpage.. can anyone offer a solution to stop the full URL of the actual webpage showing up (in the bottom left of IE) when the cursor is moved over a link?
And also can you offer help on how to deactivate the use of right clicking on the page?

cheers folks  ;D



raig.

It has been hypothisized that a million monkeys typing onto a million keyboards will produce the works of Shakespeare.
With the invention of the internet we now know this is untrue.

Offline Rodders

  • Forum Fanatic
  • ******
  • Posts: 6495
  • Bournemouth: Where even the water is 'ard!
Re:Hide URL & Stop right click
« Reply #1 on: November 03, 2003, 20:47 »
Hiya Muggins,

The only way I can think of successfully hiding the true URL, would be to use Frames.

Deactivating the 'right-click' is done by using a bit of JavaScript in your heading.  You'll never completely be able to stop people from nicking stuff from your site though.  What are you trying to guard - graphics?

Offline DJ

  • Established Member
  • ****
  • Posts: 1448
Re:Hide URL & Stop right click
« Reply #2 on: November 03, 2003, 21:22 »
To disable right click SEE HERE

to hide the URL in the bottom left SEE HERE

or do a google for 'javascript disable right click' or 'javascript scroll bar message'.

Hope that helps

DJ

Offline Muggins

  • Regular Member
  • **
  • Posts: 74
Re:Hide URL & Stop right click
« Reply #3 on: November 03, 2003, 23:00 »
aye thats what i thought Rodders but he dont wanna use frames (for some reason  ::))

@ DJ1UK
Just what I needed mate cheers muchly ;)

raig.

It has been hypothisized that a million monkeys typing onto a million keyboards will produce the works of Shakespeare.
With the invention of the internet we now know this is untrue.

Offline Rodders

  • Forum Fanatic
  • ******
  • Posts: 6495
  • Bournemouth: Where even the water is 'ard!
Re:Hide URL & Stop right click
« Reply #4 on: November 12, 2003, 19:21 »
Here's another nifty way to hide a URL!   8)

<SCRIPT language="JavaScript">
<!--
function stat_write(yourtext)
{
window.status=yourtext;
}
//-->
</SCRIPT>

It allows the text (or URL) of your choice to be displayed at the bottom of the browser window.  Use it wisely!

Offline WhiteDevil

  • Regular Member
  • **
  • Posts: 170
Re:Hide URL & Stop right click
« Reply #5 on: November 18, 2003, 17:28 »
trust me mateys, there is a bug in javscript that will allow anyone who knows a certain trick to get to whatever you are protecting  ;D

Using frames doesnt work either, i can simply view your source code and bring up the page outside frames.. In short, HTML/Javascript are INCAPABLE of protecting your website from someone that knows what they are doing..

dam Boyle
Owner, Director
www.Severn-Computers.com


Show unread posts since last visit.
Sponsor for PC Pals Forum