When I type few commands like this:
$("#popup").click();
var x = 1;
x;
the commands are simply copied to the prompt window.
They are not executed !
What is wrong with my Firebug (Firefox) addon, please ?
Firefox v 43, Firebug v2.0.12b1

but with Chrome everything works fine

According to a thread in the Firebug forum, this may be caused by a conflict with other extensions. The extensions named there are:
- Wappalyzer
- Ghostery 5.2.1
- The easiest Xdebug 1.2
- Skype Click to Call
- A Greasemonkey script
- Nimbus Screen Capture
- 1Password
- Coupons at Checkout
So, if you have one of those extensions installed or a Greasemonkey script running, disabling it and try it again.
If that doesn't help, I suggest you follow the steps described in the Firebug first aid page and report that bug. The steps are:
- Open the Firefox Error Console (Ctrl/⌘+Shift+J). Any errors related to Firebug? Copy them and remember to include them in your report.
- Create a new profile, install Firebug, reproduce the problem. Still a bug? Report the problem, else
- Return to your previous profile, open the Add-ons Manager via Ctrl/⌘+Shift+A or Firefox menu button > Add-ons or
about:addons
to disable all extensions except Firebug. Solved? Enable the other extensions again one by one until you find the buggy one and report it, else
- Open the troubleshooting information via Firefox menu button > ? > Troubleshooting Information, click Show Folder, open prefs.js in a text editor, copy all lines containing
extensions.firebug
into a separate text file, reset all options (via Firebug icon menu (upper left corner) > Options > Reset All Firebug Options), reproduce the problem. Solved? Report the problem attaching the created file, else
- In the profile folder go to firebug/, move the file breakpoints.json (if it doesn't exist, go to step 4) out of that folder, reproduce the problem. Solved? Report the problem attaching your breakpoints.json (Attention: breakpoints.json contains the URLs of all breakpoints you set, so make sure there's nothing, that shouldn't be public), else
- In the profile folder under firebug/ move the file annotations.json (if it doesn't exist, go to step 5) out of that folder, reproduce the problem. Solved? Report the problem attaching your annotations.json (Attention: annotations.json contains the URLs of all pages you enabled Firebug for, so make sure there's nothing, that shouldn't be public)