hide some code from inspect element in Google chrome. for make private.

1,899 views
Skip to first unread message

Biswajit

unread,
Nov 23, 2013, 5:04:30 AM11/23/13
to google-chrome-...@googlegroups.com
hi 
Its really Good Google chrome show inspect element . but in my site have some codes which i don't visitor see it on inspect element . So we request you pleas tell use and code which is help me to disable  inspect element for these page . Thanks its about private .. so we request you pleas help us reply . thanks.
Have a Nice Day.
Best,
Biswajit Das, India

PhistucK

unread,
Nov 23, 2013, 6:14:27 AM11/23/13
to Google Chrome Developer Tools
There is no way to disable the Inspect Element feature or the Developer Tools feature for a website.
You can obfusticate or minify your code in order to make it much harder to read and comprehend. Other than that, no.
(Inspect a GMail element for an example of obfusticated and minified code)

Tools like Closure Compiler and Closure Templates can help you with that.

Note that native applications have the same issue. Anyone can (illegally) disassemble your application and read the obfusticated code). I believe it is even easier with .NET and Java (unless the code is obfusticated before the compilation), or any other language compiled into some intermediate form.


PhistucK


--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/9bdd899c-258e-4443-bebc-72cc38b6e011%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages