At my work, I often spend time changing hot-linked images to screw with our lazy competitors (god I wish prostores would give its users access to .htaccess!). I’ve used several methods to make our listings a little bit more of a pain on the ass to copy, but once they’re on ebay, all bets are off. There’s one of our competitors that just uses the good old copy paste method of generating listings. I’ve changed hot-linked images on him, it seems he never notices. Of course if we’re editing and posting stock photos from a manufacturer, we have no copyright claim on the image. I’ve also thought of using one of the many scripts that disable right clicking or selecting anywhere on a page. These would probably add enough work that he would lay off, but ebay thoroughly disapproves of anything that changes the functionality of their site. A great example of one of these can be found at Rainbow Arch:
An excellent solution, but it would eventually get us on eBay’s shitlist.
I recently came across a much more elegant solution… I came across the ‘oncontextmenu’ event thanks to an article on about.com. This method is so much more efficient, as the context menu really is what you’re trying to block with a ‘no right click’ script. The real beauty of this method, is that it can be used on individual elements instead of the entire page! All of my listing templates use a main wrapper for styling, so all that needs to be done is add the following to the main wrapper tag:
Easy! This still allows text selection and [ctrl]+c to copy, but is vastly more effective than background image swaps and massive no right click scripts. Drag and drop probably still works the same, but there’s not much to be done about that. It’s one more bit of work that our lazy-ass competitors will have to deal with though!