Discussion:
How to disable the firebug with JavaScript?
Hao Dong
2013-07-09 01:49:30 UTC
Permalink
I have a web page contains some js code. I don't want others to inspect
them. So How I can detect the existence of Firebug and disable it with my
JavaScript code
--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebug+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/a8dc724a-9f8e-4503-8e13-0edbd31d4614%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sebastian Zartner
2013-07-09 05:59:30 UTC
Permalink
Sorry, but this simply isn't possible. People don't need Firebug to look at
the code of a website. Also for privacy and security reasons we're trying
to avoid Firebug being detectable by websites<http://code.google.com/p/fbug/issues/detail?id=5139>
.

What you can do, though, is to minimize your JavaScript code<http://stackoverflow.com/questions/4843871/javascript-and-css-minimizer>,
so it's less readable for people inspecting it.

Sebastian
Post by Hao Dong
I have a web page contains some js code. I don't want others to
inspect them. So How I can detect the existence of Firebug and disable it
with my JavaScript code
--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebug+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/96587d09-d640-474a-b186-5a18020c8fa6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Michael
2013-07-15 18:21:58 UTC
Permalink
What you can do, though, is to minimize your JavaScript code, so it's less readable for people inspecting it.
Sebastian
Having seen some of that "obfuscated" java script, where the script writes code into the document body for later execution, is it possible to see the "final" document / final java script that is actually run?

---
This message was composed with the aid of a laptop cat, and no mouse
--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebug+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/D514E2FF-CD99-4533-9DC7-781C28B333E2%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sebastian Zartner
2013-07-15 19:34:48 UTC
Permalink
Post by Sebastian Zartner
What you can do, though, is to minimize your JavaScript code<http://stackoverflow.com/questions/4843871/javascript-and-css-minimizer>,
so it's less readable for people inspecting it.
Sebastian
Having seen some of that "obfuscated" java script, where the script writes
code into the document body for later execution, is it possible to see the
"final" document / final java script that is actually run?
Sure, if the JavaScript is executed using eval(), it should be listed
within the Location Menu inside the *Script* panel<https://getfirebug.com/wiki/index.php/Script_Panel#Script_Location_Menu>.
If it is attached by dynamically creating a <script> tag, you'll even see
it within the *HTML* panel<https://getfirebug.com/wiki/index.php/HTML_Panel>.


Sebastian
--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebug+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/6d5b7291-7f58-418c-84d0-29138fa7d7e0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Continue reading on narkive:
Loading...