Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Crude javascript solution

by nop (Hermit)
on Nov 13, 2002 at 19:20 UTC ( #212667=note: print w/ replies, xml ) Need Help??

in reply to Mangling HTML to protect content, and finding stolen HTML content

This is nop again. OK, this is really simple and crude, but this small javascript hack does slow down the basic click-and-save image grabbers. Yes, they can view source and get the image URL there, but that's more inconvenient, plus (as our pages are graphics-rich with images, banners, logos, nav elements, etc) it takes a few moments to find the right IMG tag in the source. Here's a site using it: </code> Right click on their images and try to save them.

Comment on Crude javascript solution
Re: Crude javascript solution
by Mr. Muskrat (Abbot) on Nov 13, 2002 at 19:32 UTC

    I hate to be harsh nop but it is very crude indeed, as it doesn't work with all browsers. I viewed that page with Phoenix 0.4 and was able to right-click all I wanted. It doesn't stop someone from saving the page and the images (most modern browsers do this). It also doesn't stop some one from using software other than a browser to download everything.

      Yep. Basically stops the IE crowd. As I said, it isn't a "solution" by any means.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://212667]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-12-27 01:15 GMT
Find Nodes?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?

    Results (176 votes), past polls