Reputation: 604
I want to stop a person from editing a DOM element from the Developer console. I saw ==$0 and so on till $4(Google Chrome), which denotes the current selection previous selection and so on, so can I use this somehow or if you can suggest anything else will be of great help.
I just want to stop a person from editing an element from the Developer console, even if I have to remove it as soon as he/she selects it that is okay with me. But it should stop him/her from editing it.
Upvotes: 0
Views: 78
Reputation: 1356
Just disbale the element inspector option from right click, F12
key and combination ctrl + shift + i
. You can find the required documentations on the web. And no one will be able to open the developers' console.
Upvotes: 0
Reputation: 68
This is not possible. As soon as the DOM is loaded on the user side, he is also able to manipulated it with the developer console.
Also check out: How to prevent html/JavaScript code modification
Upvotes: 1