.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid

Home >> Code Snippets >> Javascript >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Disable The Firebug Plugin

Posted By:krishana singh       Posted Date: December 09, 2010    Points: 15    Category: Javascript    URL: http://www.dotnetspark.com  

Disable The Firebug Firefox Plugin using Javascript

Disable The Firebug Plugin
Using JavaScript, you can disable the Firebug Firefox plugin to prevent others from debugging your code.
if (!("console" in window) || !("firebug" in console))
    var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
    window.console = {};
    for (var i = 0; i


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend