We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Can't Copy From New Google Calculator Applet

  • 2 përgjigje
  • 6 e kanë hasur këtë problem
  • 8 parje
  • Përgjigjja më e re nga cor-el

more options

When I enter a mathematical expression into Googles search, it now brings up a javascript calculator that shows the result.

For example, when I search for "2+3" the calculator appears above the search results, showing "5" in the calculation window.

Unfortunately, while I the calculator appears to perform the indicated arithmatic, I'm unable to select the result to copy it from the calculator and paste it into the document I'm editing.

The cursor changes to the I-bar when it's over the result field, but the text cannot be selected.

It works fine in Chrome.

Upgrading Firefox to 14.0.1 and Java to 7.0.50.255 didn't help.

When I enter a mathematical expression into Googles search, it now brings up a javascript calculator that shows the result. For example, when I search for "2+3" the calculator appears above the search results, showing "5" in the calculation window. Unfortunately, while I the calculator appears to perform the indicated arithmatic, I'm unable to select the result to copy it from the calculator and paste it into the document I'm editing. The cursor changes to the I-bar when it's over the result field, but the text cannot be selected. It works fine in Chrome. Upgrading Firefox to 14.0.1 and Java to 7.0.50.255 didn't help.

Krejt Përgjigjet (2)

more options

Some script must be blocking the result from getting focus. Annoying. Perhaps only temporary?

As a workaround, you can retrieve the result using a bookmarklet, a snippet of code saved as a bookmark on the Bookmarks Toolbar.


javascript:var txt=document.getElementById("cwotbl").textContent; txt=txt.replace(/\s/g, ""); window.prompt("Calculator result", txt); void 0;

To create the bookmarklet:

  1. Copy the above code to the clipboard (it's all 1 line).
  2. Right-click your bookmarks toolbar and choose New Bookmark.
  3. Click in the Location and paste the code.
  4. Choose a short name for the bookmark and click Add.
  5. Test on your Google results page. You can copy the result from the dialog.

If you find it too inconvenient, then we could try to develop a better workaround.

more options

That is caused by using -moz-user-select: none; instead of -moz-user-select: -moz-none;
So Google needs to fix this for Firefox.

.cwmd { -moz-user-select: none; }
-moz-none Non-standard
    The text of the element and sub-elements cannot be selected, but selection can be enabled on sub-elements using -moz-user-select:text .

Add code to the userContent.css file.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.


@-moz-document domain(www.google.com){
 .cwmd { -moz-user-select: -moz-none!important; }
}