Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Crude javascript solution

by nop (Hermit)
on Nov 13, 2002 at 19:20 UTC ( [id://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: http://www.marvelcreations.com/priv15.html </code> Right click on their images and try to save them.

Replies are listed 'Best First'.
Re: Crude javascript solution
by Mr. Muskrat (Canon) 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-24 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found