Open
+ 13
How can we hide our html code from inspect window ?
for all web browsers
10 Answers
+ 7
its not truly 100% possible, but you can add in javascript
document.addEventListener('keydown', function(e){
// stops ctrl shift i
e.preventDefault();
}, false);
and
document.oncontextmenu = function(){ return false; }
// Stops right click
+ 6
I know this method
but I don't like it.
+ 6
here is more i found but yea its not 100% possible and only done in JS
https://www.quora.com/How-do-I-block-inspect-element-on-my-website?share=1
+ 6
Thank you all to everyone
+ 6
Happy to help!
+ 6
welcome :D
glad to help :D
good luck :D
+ 5
😊
+ 3
You can make it harder to analyze but you can't make it impossible to read at all.
+ 2
Buy the copyright of your code and good luck. Every time you put a barrier in your code, a new challenge for a hacker begins. Does SOLOLEARN hide his code?