Firebug showing wrong UI - firefox

I am facing a strange issue related to Firebug in my Firefox.
I have Mozilla firefox installed (51.0.1 [32-bit]) in my Windows machine and I have Firebug 2.0.18 installed, but when I click the Firebug button to open it up, it is sometimes showing the default developer tools which Firefox provides. Below are the screenshots to look at what I am getting:
But I want something like this:
Can someone guide me what to do to enable the previous UI of Firebug again?

Firebug is officially discontinued. You were automatically switched to the Firefox DevTools, because with the Firefox update multi-process Firefox was enabled for you.
You can get Firebug to work again temporarily (until multi-process Firefox is mandatory) by changing a preference. See my answer to a related question how to do that.
I've also explained the alternatives to the Firefox DevTools.
If you want to give them a try, you should read the migration guide for Firebug users.
There is a blog post on Mozilla Hacks explaining the details.

Related

Firebug toolbar button is always shown deactivated since Firefox 51.0.1

Recently my Firefox got updated to version 51.0.1. Initially it was showing some reminder check (I'm not clear with that) related to Firebug, but I ignored it. Now, the Firebug toolbar button is always shown deactivated.
I've reinstalled Firebug several times, but the result is always the same.
Is there any compatibility issue? How do I activate Firebug?
There is a solution to use Firebug version 2.0.18 in the latest version of Firefox (this time 51.0.1).
To enable the old Firebug:
In the address bar, enter about:config and
find browser.tabs.remote.autostart. Set it to false.
Also set browser.tabs.remote.autostart.1
and browser.tabs.remote.autostart.2 to false.
This is the new version of Firefox, and it is not working as intended and making the life of developers & designers even more difficult... look at the review, https://addons.mozilla.org/en-US/firefox/addon/firebug/reviews/?page=1.
This actually is Firefox DevTools as Firebug is no longer supported for future developments.
You can install the previous version to work with. I installed it and my problem was solved. I have my old version back...
https://addons.mozilla.org/en-US/firefox/addon/firebug/versions/.
New version of it comes with some new features, but some handy features are also left out. It looks totally new to me. May be one day I have to get used to it. For now one can revert back to the old version.
This is because Firebug is integrated into the Firefox DevTools once multi-process Firefox is enabled, and it doesn't track the enabled state of those tools. This is a known bug.
Note that a click on the Firebug button with multi-process Firefox enabled actually opens the Firefox DevTools with a Firebug theme trying to make the transition a bit easier, because Firebug is officially discontinued.
If you want the old Firebug back and by that make the Firebug button work again as expected, you need to disabled multi-process Firefox as explained in an answer to a similar question by going to about:config and setting the preferences browser.tabs.remote.autostart, browser.tabs.remote.autostart.1 and browser.tabs.remote.autostart.2 to false. Though note that this is just a temporary workaround, because multi-process Firefox will be mandatory at some point.
Furthermore, the Firefox DevTools offer a lot more features than Firebug, but they are also lacking some Firebug had. Therefore, a bug is filed to close those gaps.
In the answer to a related question I've listed what your alternatives are.
If you want to stay with the Firefox DevTools, there is a migration guide for Firebug users.
Firebug seems to have activated for me after I got the Web Developer Add-On on Firefox.
Open the default Element Inspector, and click the settings icon.
Under the Themes section, you will see the Light option is checked. Change it to Firebug. Firebug will be activated automatically.
The best way to install FirePath and Firebug is to downgrade Firefox by downloading an older version of Firefox , like 31 from Firefox ftp.
I downloaded older version of Firefox from http://mozilla_firefox.en.downloadastro.com/old_versions/
After downgrading, go to menu option → Update and check "Never check for updates" checkbox
If the below setting has been made:
In address enter about:config, find
browser.tabs.remote.autostart set it false
browser.tabs.remote.autostart.1 set it false
browser.tabs.remote.autostart.2 set it false
Then reset firefox by typing 'about:support' in the address bar
Click "Reset Firefox"
By doing this, you should be able to install the FirePath and Firebug addons from the Mozilla addons page.

console.log() doesn't work anymore in Firebug since Firefox 51.0.1

I've just updated firefox to a Firefox 51.0.1 (32-bit), and after the update console.log stopped working.
When I am tring to test some JavaScript variables using console.log(), it doesn't output anything.
As I mentioned in another answer, this happens because the Firefox internal APIs, which Firebug uses to output the data, have changed.
When you open the Browser Console, you'll see the following error:
TypeError: ConsoleAPIListener is not a constructor console.js:149:38
Note that, as stated in a thread in the Firebug discussion group and on the Firebug homepage, Firebug is discontinued and unmaintained.
I.e. it breaks more and more with every new version of Firefox and will quit working completely once multi-process Firefox is enabled. There is a blog post explaining the reasons.
The team behind Firebug advises to use the Firefox DevTools instead and there is a migration guide available.
In 2 steps:
disable or (better) uninstall Firebug
press F12 and enjoy the console and other Devtools
Why: Firebug is not regularly updated anymore, it often becomes obsolete with new FF update. Tools already available in Firefox (F12) are inglobating it.

What are the alternatives to the Firefox Developer Tools?

Since last few updates of Firefox our beloved Firebug is integrated into the Firefox Developer Tools and a lot of people including me don't like what happened to Firebug.
The built-in developer tools have a very ugly menu system and messed up usability.
So, what are the alternatives to the Firefox Developer Tools? Is there a tool with the same usability as Firebug?
Alternatives are:
Turn off multi-process Firefox. (Though that's only a temporary solution and doesn't bring back all functionality of Firebug. E.g. the Script panel is broken in current versions of Firefox.)
Install an old version of Firefox where Firebug still works and disable updates. (Also only a temporary solution, because you'll miss (security) bug fixes and new features.)
Wait until the gaps between Firebug and the Firefox DevTools are fixed. (Or even help them fixing them.)
Switch to another browser and use its developer tools.
Rework Firebug to make it compatible with multi-process Firefox (which is the main reason for the integration into the DevTools). Update: Starting with Firefox 57 only WebExtensions will be supported, meaning extensions work cross-browser and are more secure, but they also have limited APIs. So, a reworked Firebug would not have all the features the original Firebug had.
Following Sebastian's advice I've downloaded old Firefox portable v47 from here:
https://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./Mozilla%20Firefox%2C%20Portable%20Edition%2047.0.1/
and I'm using it with Firebug only for development. According to Firebug's website 47 is the last compatible version of Firefox:
https://getfirebug.com/downloads
To avoid compromising on security, for normal browsing I use updated version of Chrome.
Downgrading the version is not advisable, So instead of that go to the browser console and type your respective xpath in the mentioned syntax $x('path') to validate your XPath.
Or can find other similar plugin. So far I find the Plugin 'Xpather' in http://xpath.alephzarro.com/ link.
But I still would like to reactivate Firebug to rework by setting the preferences browser.tabs.remote.autostart,
browser.tabs.remote.autostart.1 and
browser.tabs.remote.autostart.2
to false via about:config.

Why doesn't FirePath work anymore since Firefox 51.0.1?

I have Firefox version 51.0.1 and Firebug version 2.0.18 (though it just says "deactivated"). I have been installing the latest FirePath over and over, but I don't see it appearing when I click the Firebug icon.
They both are enabled in my extensions. I saw it a few days ago, but I had to reinstall Firefox yesterday for some reason, and both Firebug and FirePath were gone, and it is now giving me problems. What should I do?
Firebug development is discontinued and it does not work anymore once multi-process Firefox is enabled and clicking the Firebug button opens the Firefox DevTools instead. You can read more about this in the related Mozilla Hacks blog post.
This also affects FirePath, because it doesn't work with the Firefox DevTools.
They don't have an exact equivalent to it, but allow you to test XPaths via the $x() command within the command line. Furthermore, there are requests for copying the XPath of an element and for searching for XPaths within the Inspector.
There's also a way to get Firebug and FirePath work again by disabling multi-process Firefox. Though that is only a temporary solution, because multiple processes will be enforced in an upcoming version of Firefox.
The latest Firefox has used DevTool instead of Firebug.
You can reactivate Firebug to rework as the above mentioned links.
In about:config set the preferences browser.tabs.remote.autostart, browser.tabs.remote.autostart.1, and browser.tabs.remote.autostart.2 to false.
I just deleted my Firebug and FirePath, downloaded Firebug version 2.0.18, and installed FirePath again.
It is working fine for me.
I am just sharing what I found while on Google. Instead of downgrading anything, you can use ChroPath. It is available for both - Chrome as well as Firefox.
Chrome plugin: ChroPath
Firefox plugin: ChroPath
Here is the video: ChroPath for Firefox
Actual site: SelectorsHub

Firebug is not working with Firefox version 50.0

I am using Firefox 50.0. After auto update of Firefox to version 50.0, Firebug has stopped working and attempting to use it is showing an inbuilt Firefox console while inspecting any DOM element.
Is there any patch to use Firebug on Firefox 50.0 version?
Solve The problem by Changing Mozilla Browser Configuration Settings.
Open A Blank Tab
type about:config in address bar then press enter (click on I accept the risk!)
find browser.tabs.remote.autostart
select the option then click the mouse right side
Turn The Option As False
Close the browser for restart browser
open browser again, inspect the element. I hope It Works Properly.
I manage to get Firebug work again, so here is what I done.
Everyone knows that Firebug isn't being developed or maintained any longer because it can't work with e10s, so here is my workaround:
Download Firefox Developer edition so you can allow XPI installation.
firefox-53.0a2.en-US.win64.installer.exe or
firefox-53.0a2.en-US.win32.installer.exe
Run Firefox developer edition after installing and go to the about:config (type in url bar)
Find xpinstall.signatures.required (set to false)
Find browser.tabs.remote.autostart (set all to false: browser.tabs.remote.autostart.1 and browser.tabs.remote.autostart.2)
NOTE: The Multi-process architecture improves the browser's stability, performance and security by separating tasks into processes, you disabling it at own responsibility.
After that you need to restart the browser.
Now you can go at the Firebug repository and install desired version
Here you can find all Firebug installations
I chose latest firebug-2.0b8.xpi and it forking fine.
P.S. You can disable updates for Firefox Developer edition.
Hope it helps.
Head over to Firebug website, you can see following message:
The Firebug extension isn't being developed or maintained any longer. We invite you to use the Firefox built-in DevTools instead.
Also Sebastianz told me,
Firebug is discontinued. The team has split up, the former team leader Jan "Honza" Odvarko is working on the Firefox DevTools now.
As #Makyen said in his answer, Firebug does not work with multiprocess Firefox, so remove Firebug right now and try Firefox DevTools instead, it's not optional (sadly), unless you don't update Firefox :)
Update 1
Take a look # Why got Firebug removed after updating Firefox to version 50?
Update 2
Take a look # my answer here: how to revert firebug to old version
Firebug does not work with multiprocess Firefox
The Firebug site claims that:
Firebug 2.0.18 is compatible with Firefox 30 – 52
However, it also explains that [emphasis mine]:
Firebug 2.0.18 fixes issue 8030. The extension is marked as multi-process (e10s) compatible so, it isn’t blacklisted and users can continue installing it. This way Firebug can help users to easily migrate into built-in Firefox developer tools – in case it’s running in multi-process enabled browser. When opened in a multi-process Firefox, Firebug’s tools cannot be used. Firebug will then only assist the user with migration to Firefox’s built-in tools.
They also direct you to read: Unifying Firebug & Firefox DevTools
That page says that [emphasis mine]:
Firebug 2 doesn’t work in multi-process browsers (i.e. e10s) and converting it is too complex, so it will stop working when e10s is activated in Firefox. You will be able to disable e10s for a while to keep using Firebug 2, but this won’t last forever.
The fact that Firebug does not actually work in multiprocess Firefox will account for different people having different experiences with Firebug working or not working in a particular version of Firefox. Firefox automatically enabling multiprocess mode will depend on multiple factors, including what other add-ons are installed in the profile.
Using Firebug in newer versions of Firefox
Thus, to use Firebug in newer versions of Firefox, you will need to disable Firefox from entering multiprocess mode. This can be done from the about:preferences page (also available from Tools➞Options). This an option which is under the "General" tab as "Enable multi-process Firefox ...". If multiprocess is not available, this option will not be shown. This option can also be changed by adjusting the preference browser.tabs.remote.autostart from about:config. [Note: browser.tabs.remote.autostart.2 and browser.tabs.remote.autostart.1 also appear to be used to indicate default states, thus I suggest using the about:preferences page to change this option.]
You can determine if your Firefox is currently running in multiprocess mode by looking in about:support. The line "Multiprocess Windows" under "Application Basics" will state if multiprocess is enabled or disabled.
Set up profiles explicitly for testing
Personally, I have different profiles set up for each of multiprocess explicitly disabled and multiprocess explicitly enabled (set browser.tabs.remote.force-enable to true), so I can perform testing under both conditions, with the state of multiprocess being enabled/disabled being known in advance.
I had the same problem when I updated Firefox. I was so addicted to firebug but I moved on to Firefox developer edition - https://www.mozilla.org/en-US/firefox/developer/
It also comes with the firebug theme which resembles firebug UI and its efficient.Just install FDE and activate the firebug theme as shown in the image below :
I had the same unexpected surprise when ubuntu updated FFX and suddenly things like the script panel stopped working. Since I was in the middle of working on something with a short deadline, I was not going to have the luxury of learning the firefox developer toolset and desperately needed to get firebug working. The fix that finally worked for me was to set Firefox preferences not to update. Then download v 49.0.2
https://support.mozilla.org/en-US/kb/install-older-version-of-firefox
I also had to tell Ubuntu not to include firefox in it's upgrades.
It looks like firebug will no longer be maintained as a seperate project, so you will want to get familiar w/ the built in dev tools, but hopefully this buys you some time. Worth mentioning (if I'm reading this right, it sounds like it will be integrated into the native tools:
https://blog.getfirebug.com/2016/06/07/unifying-firebug-firefox-devtools/
https://github.com/firebug/firebug.next
Its working. You need to install one more add-on "Firepicker" and restart the Firefox.
https://addons.mozilla.org/en-US/firefox/addon/firepicker/
I managed to resolve this issue by simply downgrading to mozilla old version using this url:
open https://ftp.mozilla.org/pub/firefox/releases/50.0/win64/en-US/
download and run the .exe setup
Go to Settings - > Add Ons
Click on extensions and search for firebug and firepath and then add those extensions
Hope this should resolve the issue. For those using Windows 32 machine can use the url
https://ftp.mozilla.org/pub/firefox/releases/50.0/win32/en-US/
http://toolsqa.com/selenium-webdriver/xpath-helper/
Open a new tab and navigate to any webpage. I have used www.DemoQA.com for demo.
Hit Ctrl-Shift-X (or Command-Shift-X on OS X), or click the XPath Helper button in the toolbar, to open the XPath Helper console.
Hold down Shift as you mouse over elements on the page. The query box will continuously update to show the XPath query for the element below the mouse pointer, and the results box will show the results for the current query.
If desired, edit the XPath query directly in the console. The results box will immediately reflect your changes.
Repeat step (2) to close the console.

Resources