PC Pals Forum

Technical Help & Discussion => Website Design & Programming => Topic started by: Muggins on November 03, 2003, 20:41

Title: Hide URL & Stop right click
Post by: Muggins 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



Title: Re:Hide URL & Stop right click
Post by: Rodders 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?
Title: Re:Hide URL & Stop right click
Post by: DJ on November 03, 2003, 21:22
To disable right click SEE HERE (http://www.e-powersellers.com/disable_right_click.htm)

to hide the URL in the bottom left SEE HERE (http://simplythebest.net/info/dhtml_scrollers.html)

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

Hope that helps

DJ
Title: Re:Hide URL & Stop right click
Post by: Muggins 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 ;)

Title: Re:Hide URL & Stop right click
Post by: Rodders 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!
Title: Re:Hide URL & Stop right click
Post by: WhiteDevil 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..