General Community > Scripting Help
Disabling View Source
Arantor:
You realise that it's trivially possible to bypass disable-right click, right?
And that even if you attach code to forcibly suppress Ctrl-U, and F12 to bring up developer tools, there's no way to stop users going to the menus in browsers or using the likes of Firebug or Chrome Inspector.
Long story short (as entirely predicted) this is NOT POSSIBLE. No matter how much protection you think you have against this, it's almost always trivially easy to bypass and even where it isn't trivial, it's still no more than a few minutes' work.
-=[Vyorel]=-:
--- Quote from: Arantor on May 25, 2012, 09:23:09 PM ---Long story short (as entirely predicted) this is NOT POSSIBLE. No matter how much protection you think you have against this, it's almost always trivially easy to bypass and even where it isn't trivial, it's still no more than a few minutes' work.
--- End quote ---
Look here. Is possible. :(
Arantor:
Seriously I'm telling you it's not possible to prevent view source from being used - not without infecting the browser with some malware - and I don't think your users would like that.
I would look at that site but it appears to be down - and even if it were up I know full well I could view the source with a few keypresses. Just because you don't know how to immediately do so doesn't mean I can't bypass that with minimal effort.
Navigation
[0] Message Index
[*] Previous page
Go to full version