4 ms·
I remember many years ago having to explain to a client that disabling right clicks to prevent 'image stealing' wouldn't work. They weren't really concerned wit
by sitharus 14y ago
I remember many years ago having to explain to a client that disabling right clicks to prevent 'image stealing' wouldn't work. They weren't really concerned with how difficult it made normal usage, but the astonishment when I demonstrated disabling JavaScript was quite impressive.
- jiggy2011 14y agoRight click disabling is especially annoying because it prevents me from using the context menu to do back->forward->reload which I do out of habit. And since it's usually implemented as an alert() you get that "thunk!" noise every time you try (unless like me you disable all event sounds). You don't even need to turn off JS to rip the pages usually, just doing "save as" will do the job. The way I have heard people justify this is "Even if it doesn't work, at least it warns people" though I'm pretty sure site rippers know exactly what they are doing. Indecently, I have found that when site rippers rip your site they don't usually bother to change the src="" for assets and will continue to serve JS from your domain. In such a case you simply need to do a referrer check when you serve up the JS scripts and you can inject whatever you want into the ripped page including a redirect back to your own site (or any site of your choosing).