Now you can install the Firefox DEB package via APT: sudo apt install firefox ' | sudo tee /etc/apt/preferences.d/Mozilla Now create the file /etc/apt/preferences.d/mozilla using any text editor such as nano: sudo nano /etc/apt/preferences.d/mozillaĪdd the following lines to it: Package: firefox*Īlternatively, run the following command (all at once) in your terminal to perform the above steps: echo ' After adding the repository, update the repository index with: sudo apt update You may be prompted for admin credentials. If you get the "add-apt-repository: command not found" error, simply install the software-properties-common package to fix the issue. To add the Mozilla Firefox repository, run the following: sudo add-apt-repository ppa:mozillateam/ppa For this, you will need to add the Firefox PPA, give it priority over the Snap package, and then install Firefox using APT. If you don’t like the Snap version of Firefox, you can install the Firefox DEB package via APT. Install the Firefox DEB Package on Ubuntu There are multiple ways to install Firefox on Ubuntu. Var data = (e.originalEvent || e).clipboardData.getData('text/plain') ĪddEventListener('paste', handlePaste, true) ĮDIT: Fixed it so that image paste works.ĮDIT2: Added information about multiple paragraphs/line breaks in text.Snap is not the only installation method for Firefox on Ubuntu, however. Fixes paste function on whatsapp for Firefox Here's what I have for now, until WhatsApp fixes it: // =UserScript= This works great but - as with all the other workarounds/answers that circumvent the WhatsApp web code - it cannot properly handle multiple paragraphs with blank lines between them. I worked around it with the ViolentMonkey (browser extension) script below.Īs it is only a workaround, you should disable once resolved. UPDATE: This issue appears to be resolved (at least for me) on (earliest I noticed)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |