1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Watermarking HTML Doc's and Pics.

Discussion in 'The Lounge - Off Topic' started by Boycie, Jul 1, 2005.

  1. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    Is there anything built into Frontpage or Dreamweaver that stops people right clicking or pressing the Print Screen button when viewing a web page?
    If not can anyone recommend anything?
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  2. Phoenix
    Honorary Member

    Phoenix 53656e696f7220 4d6f64

    5,726
    175
    221
    Erm thats not really watermarking
    and its a very poor policy, it annoys the hell out of users, doesnt actually stop anyone getting the code for the site, its just generally an annoying pointless feature


    a quick wget http://www.yourweb.com/yourpage.html retrieves the file for me and others
    if your looking to protect the graphics the above line will also give them the source links to all the images allowing them to wget those, there also often stored in a users cache

    to keep on topic
    i dont know of anyway to do that out the box unfortunatly, sorry, many use javascript to disable the mouse stuff, not sure how you would disable the print screen function though
     
    Certifications: MCSE, MCITP, VCP
    WIP: > 0
  3. SimonV

    SimonV Petabyte Poster Administrator

    6,616
    149
    228
    I'm not aware of anything built into Dreamweaver, you can achieve this with some java script. However this wont stop anyone from saving the page and extracting text or images from the saved page this only stops people from right clicking on your page and there is no real way to stop people from veiwing your html, if someone is determined to see your code they will.

    Code:
    <SCRIPT language=JavaScript>
    <!-- http://www.spacegun.co.uk -->
    	var message = "function disabled"; 
    	function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ 	alert(message); return false; } 
    	if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { 	alert(message); 	return false; } } 
    	document.onmousedown = rtclickcheck;
    </SCRIPT>
    This code goes in the head section of the document.
     
    Certifications: MOS Master 2003, CompTIA A+, MCSA:M, MCSE
    WIP: Keeping CF Alive...
  4. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    Thanks for the reply's Guys. Just curious as i was viewing some site a while ago and it disabled the right mouse button....

    Thanks for the link Ryan
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  5. Phoenix
    Honorary Member

    Phoenix 53656e696f7220 4d6f64

    5,726
    175
    221
    link?

    oh right, my edit turned back on the 'parse texts to links' option. oops :P
     
    Certifications: MCSE, MCITP, VCP
    WIP: > 0
  6. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    Just tried it now :oops:
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT

Share This Page

Loading...