Jump to content


background help


4 replies to this topic

#1 Totie

    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 20 June 2007 - 03:58 AM

ei guys, can someone help me to disable the background of my webpage so anyone could'nt save it?
many thanks guys

#2 N4Z.

    Call me Yoda

  • Members
  • PipPipPipPip
  • 3,018 posts
  • Gender:Male
  • Location:127.0.0.1
  • Interests:Designing, Apple Fan Boy, Music Production and Weekends!

Posted 20 June 2007 - 04:45 AM

Hmm.. Im not too sure how to do that, but if you are cheap and cheerfull like me and really lazy like me too.. Just add a "No Right Click" Script ;)


<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit [url="http://www.dynamicdrive.com"]http://www.dynamicdrive.com[/url]

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// --> 
</script>


Found that on DynamicDrive.com

People may still use the "View Source" button, but at least you have countered it a little :D

Also, im sure there is a script that jumbles your code, so like.. when you click "View Page Source" Its just a load of jibberish, anyone back me up on that?

Edited by S0LDIER., 20 June 2007 - 04:45 AM.


#3 Archangel

    P2L Jedi

  • Members
  • PipPipPip
  • 988 posts
  • Gender:Male
  • Location:Indiana
  • Interests:Reading (mainly fantasy books), Gaming (Xbox 360, Wii &amp; PS3), Sports, Outdoor Recreation, Watching/Collecting Movies

Posted 20 June 2007 - 06:18 AM

Yeah, I'm not for certain but like Soldier said I'm sure you can find some type of script to mask where it's coming from...maybe.

For instance, the company I work for uses an ASP thumbnail generator so instead of listing the picture's name each image points to exactly the same location and can't be stolen...kinda cool actually.

#4 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 20 June 2007 - 02:15 PM

No, you can't.

1. Disable JS... takes 2 seconds.
2. Print Screen... takes less than 2 seconds.

Besides, if it is a background image, you can't right click and save anyways.

#5 Archangel

    P2L Jedi

  • Members
  • PipPipPip
  • 988 posts
  • Gender:Male
  • Location:Indiana
  • Interests:Reading (mainly fantasy books), Gaming (Xbox 360, Wii &amp; PS3), Sports, Outdoor Recreation, Watching/Collecting Movies

Posted 20 June 2007 - 02:23 PM

ROFL rc, you're my hero.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users