Monday, July 26, 2010

Detect Firebug console using Javascript

Hi Developers,
Nowadays Firebug console is one of the best tool to debug html or javascript or AJAX or css. In the same time it allows any user to see the datas passed in between the pages. It is not a secure method for our website. Gmail has blocked firebug console because of this activities. You can able to login to gmail with firebug console but it will say that "If your firebug console is ON, then gmail will become slow". So you definitely switch off your firebug console. So in the same way, we save our website from firebug.

You can prevent this using javascript.

In your page load call this function
  
<script type='text/javascript'>
function blockfirebug(){
if(window.console.firebug!=""){
document.location.href="firebug_error.html";
return false;
}
}
<script>


<body onload='return blockfirebug()'>

44 comments:

Wicked Web Programmers said...

Thanks.To prevent firebug,you can use a javascript.Did you know that Firebug has multiple tabs which can be disabled separately?

lenon said...

And how detect Web Inspector in WebKit?? Of course via javascript

RafaƂ Nowak said...

Do you know how detect or disable Web Inspector in WebKit??

Anonymous said...

Remember that if data passes in clear it only takes a bit of fiddling to read it. Detecting Firebug because "OMG H4CKERZ USE IT" is absolutely pointless. Gmail advises users to disable it for performance reasons, not security.

DataDiary.com said...

ohh...thanks for really nice example,....

Anonymous said...

http://raovishal.blogspot.com/

Gear Oillubricants said...

Cutting oil Manufacturers if you want oil products for your CNC products you can purchase from us.

jagmeet maan said...

this is really good website
PHP tutorial|php tips

Aroha Tech said...

nice post
ArohaTech

PHP Training said...

Learn how to make a DYNAMIC WEB FORM that uses AJAX to pass data to MySQL. Learn how to make your HTML page content interact with BACK-END code.

Naviya Nair said...

Great Article..
PHP Training in Chennai
Online PHP Training
Online PHP Training India
PHP Training Chennai
PHP Training institute in Chennai

Naviya Nair said...

Great Article..
PHP Training in Chennai
Online PHP Training
Online PHP Training India
PHP Training Chennai
PHP Training institute in Chennai

Dinesh Kumar said...

PHP Training in chennai
Creating Experts provide Real Time scenarios PHP training in Chennai.At creating experts the trainers have around 8+ years of experience.They teach the advance level topics by giving real time examples.
Contact us: 8122241286, 9003085882 – Karthick
Here everything is practical basis not any classroom training.The trainers are working in mnc's and they will take classes only on Saturday and Sunday.
Ref link : http://thecreatingexperts.com/php-training-in-chennai/

Divya Dheen said...

Thanks for sharing this Information, Got to learn new things from your Blog on PHP.
Ref link : http://thecreatingexperts.com/php-training-in-chennai/

J said...

Thanks for sharing this Information.I would say this is quite a valuable blog.
You can check some php tutorial here

Divya Dheen said...

Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about Php.
http://thecreatingexperts.com/php-training-in-chennai/

Malathy m said...

Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about php training in chennai

Malathy m said...

Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about php

Dinesh Kumar said...


Thanks for sharing great information in your blog.It was very nice blog to learn about php

Unknown said...


Many consider me one of the top Youtube Marketing Training people in the business, and companies pay me ... Video Traffic Academy is a 5 module A-Z training course.

Bhavya Kumar said...

My friend Suggest me this blog and I can say this is the best blog to get the basic knowledge.Thank you so much for this Selenium Training in Chennai

Anonymous said...

You have share the great info. I like your post. Thanks for sharing the good points. I will recommend this info. Industrial training Punjab

Shalini said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
Digital Marketing Company in India

Jeffy said...

Thank you for sharing such a nice and interesting blog with us. Hope it might be much useful for us. keep on updating...!!
seo company in india
digital marketing company in india

jessica said...

Here i had read the content you had posted. It is much valuable information so please keep update like this.

School Website Designs

Nandalal S said...

Thanks, But i can't able to load my website.

amala amala said...

This blog is having the general information. Got a creative work and this is very different one.We have to develop our creativity mind.This blog helps for this. Thank you for this blog. This is very interesting and useful...
Jobs in Delhi
Jobs in Hyderabad

Webtrackker Noida said...

Webtrackker technology is the best IT training institute in NCR. Webtrackker provide training on all latest technology such as Php training. Webtrackker is not only training institute but also it also provide best IT solution to his client. Webtrackker provide training by experienced and working in the industry on same technology.Webtrackker Technology C-67 Sector-63 Noida 8802820025

Php training institute in indirapuram


Php training institute in Noida


Php training institute in Ghaziabad


Php training institute in Vaishali


Php training institute in Vasundhara


Php training institute in Delhi South Ex

Caroline Eva said...

It's interesting that many of the bloggers your tips helped to clarify a few things for me as well as giving.. very specific nice content. And tell people specific ways to live their lives.Sometimes you just have to yell at people and give them a good shake to get your point across.
Mobile App Development Company
Android app Development Company
ios app development Company
Mobile App Development Companies

Guhan said...

Thanks for your kind information.

IOS Training in Chennai

App Development Company said...

Hey keep posting such good and meaningful articles.

Lucky Srivastava said...

Hey Nice blog,Thanks for sharing this blog.!!!


Best Summer training in lucknow

Best Php training in lucknow

Summer training in lucknow

Summer training Company in lucknow

Lucky Srivastava said...

Hey Nice blog,Thanks for sharing this blog.!!!

Best Summer training in lucknow

Best Php training in lucknow

Summer training in lucknow

Summer training Company in lucknow

Priya Kannan said...

Pretty section of content. I simply stumbled upon your site and in accession capital to say that I get actually loved to account your blog posts.
PHP Training in Chennai

sunitha vishnu said...



This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharng this information,this is useful to me...
Android training in chennai
Ios training in chennai

Sharon Sandy said...


Thanks for posting useful information.You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...Really it was an awesome article...very interesting to read..please sharing like this information......
Web Design Development Company
Mobile App Development Company

Lucky Srivastava said...

Hey Gyss Check out this...

Softpro Learning Center (SLC)is the training wing of Softpro India Computer Technologies Pvt.
Limited. SLC established itself in the year 2008.
SLC offer an intensive and extensive range of training/internship programs for B.Tech, BCA, MCA & Diploma students.
Softpro Learning Center is a best Summer training institute in Lucknow extends in depth knowledge of technology like .Net, Java, PHP and Android and also an opportunity to practically apply their fundamentals. SLC’s objective is to provide skilled manpower to support the vast development programs.
Best Java Summer training in lucknow.

Atul Srivastava said...

Hey Nice blog,Thanks for sharing this blog.!!!

Best Embedded system training in lucknow

Best python Summer training in lucknow

php industrial training in Lucknow

sunitha vishnu said...



This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
Android Training in Chennai
Ios Training in Chennai

Atul Srivastava said...

Hey Nice blog,Thanks for sharing this blog.!!!

Best Java Summer training in lucknow

Best Php Summer training in lucknow

Summer training in lucknow

Summer training Company in lucknow

kabul Wahyudi said...

artikel bermanfaat

Priya Kannan said...

Usually I do not read post on blogs, but I would like to say that this write-up very forced me to try and do it! Your writing style has been surprised me. Great work admin.Keep update more blog.
PHP Training in Chennai

Atul Srivastava said...

Hey Nice blog,Thanks for sharing this blog.!!!

Best Java Summer training in lucknow

Best Php Summer training

Summer training

Best Summer training Company

Job Oriented training in Lucknow

Sujitkumar said...

Nice info about Php it’s reallyhelpful…. If it possible share some more tutorials……….