Firebug lite (Google Chrome) not working for local file?

2,259 views
Skip to first unread message

ak sh

unread,
Jul 5, 2011, 3:34:51 PM7/5/11
to Firebug

1) When I clicked on firebug button in google chrome, its window at
the bottom pop-ups.
2) But when I clicked on the same button for local file on my desktop
or in some other folder, nothing happens.
Whats wrong with local file?

P.S: Of-course I'm working with HTML files!

Pedro Simonetti Garcia

unread,
Jul 5, 2011, 5:25:22 PM7/5/11
to fir...@googlegroups.com
Is not that simple.

For security reasons, extensions are not allowed to run in pages loaded via "file:///" protocol:

http://getfirebug.com/wiki/index.php/Firebug_Lite_FAQ#It_doesn.27t_work_on_local_pages

We recommend using a local web server, which the most secure and error proof solution.

At the same time, I presume that the most common case for using "file:///" files is related to design things like tweaking CSS, and I also presume that not all designers use local web servers.

We could add "file:///" to the mafinest.json, but there's a bug preventing us to execute scripts in it, which means we cannot load Firebug Lite:

http://code.google.com/p/chromium/issues/detail?id=30756

Also, extensions that uses "file:///" in the mafinest.json need to be manually approved by Google in order to be in the Chrome Web Store. To avoid this problem, we could release it in our site in the beta channel (but first we need that bug to be fixed):

http://getfirebug.com/releases/lite/chrome/

Again, we recommend using a local web server. But if you don't want or cannot install one, you can also use the bookmarklet:

http://getfirebug.com/firebuglite#Install

Finally, I guess that one more source of confusion about this is that when you click at the Firebug Lite extension button, nothing happens. There is no message indicating that Firebug Lite could not be loaded. I'll add a message box informing what is happening.

Pedro Simonetti.


2011/7/5 ak sh <coden...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to fir...@googlegroups.com.
To unsubscribe from this group, send email to firebug+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.


ak sh

unread,
Jul 6, 2011, 3:28:30 AM7/6/11
to Firebug
Thanks for the detailed reply. Keep up the Great work!

On Jul 6, 2:25 am, Pedro Simonetti Garcia <pedrosimone...@gmail.com>
wrote:
> Is not that simple.
>
> For security reasons, extensions are not allowed to run in pages loaded via
> "file:///" protocol:
>
> http://getfirebug.com/wiki/index.php/Firebug_Lite_FAQ#It_doesn.27t_wo...
>
> We recommend using a local web server, which the most secure and error proof
> solution.
>
> At the same time, I presume that the most common case for using "file:///"
> files is related to design things like tweaking CSS, and I also presume that
> not all designers use local web servers.
>
> We could add "file:///" to the mafinest.json, but there's a bug preventing
> us to execute scripts in it, which means we cannot load Firebug Lite:
>
> http://code.google.com/p/chromium/issues/detail?id=30756
>
> Also, extensions that uses "file:///" in the mafinest.json need to be
> manually approved by Google in order to be in the Chrome Web Store. To avoid
> this problem, we could release it in our site in the beta channel (but first
> we need that bug to be fixed):
>
> http://getfirebug.com/releases/lite/chrome/
>
> Again, we recommend using a local web server. But if you don't want or
> cannot install one, you can also use the bookmarklet:
>
> http://getfirebug.com/firebuglite#Install
>
> Finally, I guess that one more source of confusion about this is that when
> you click at the Firebug Lite extension button, nothing happens. There is no
> message indicating that Firebug Lite could not be loaded. I'll add a message
> box informing what is happening.
>
> Pedro Simonetti.
>
> 2011/7/5 ak sh <codename...@gmail.com>

Sebastian Zartner

unread,
Sep 7, 2012, 4:55:23 AM9/7/12
to fir...@googlegroups.com
On Friday, September 7, 2012 12:41:10 AM UTC+2, jcb wrote:
Which is interesting considering Firebug in Firefox can deal with local files?

You can't compare Firebug and Firebug Lite here. Firebug is fully integrated into Firefox while the Firebug Lite extension for Chrome is based on the Firebug Lite script for all browsers (which is liable to the security restrictions of the different browsers).

See also Pedro's hint in the other thread how to circumvent this. (Didn't test that by myself, though.)

Sebastian
Reply all
Reply to author
Forward
0 new messages