Firefox Logo
Those who have used GNU+Linux know the very useful select-to-copy and middle-click-to-paste feature, which has grown to a habit. This feature is very much used when browsing. We just select a string and middle-click paste it into the search-bar, or somewhere else. Microsoft Windows do not support this feature. But the good news is this select-to-copy and middle-click-to-paste feature can be enabled in Firefox under Microsoft Windows. Read the following simple guide to know how to unlock the Windows Firefox select-to-copy and middle-click-to-paste feature.

By changing firefox config

Firefox has a treasure hidden in its own configuration structure which can be thought like the Microsoft Registry. We will edit just one configuration here.

  1. Launch Firefox
  2. In the address bar type in
  3. You will see a warning. Click the “I’ll be careful, I promise!” button. You will see a lot of text written in the next page.

    Click "I'll be careful, I promise!"
    Click "I'll be careful, I promise!"
  4. Type in “middlemouse.paste” in the filter bar on the top, and you will end up in one entry. The Value of this “middlemouse.paste” Boolean (true, or false) entry is false. Double click this entry to make it true. Or right click on the entry and click Toggle. This will enable the paste function when you click the middle mouse button in firefox.

    Toggle the middlemouse.paste value to true
    Toggle the middlemouse.paste value to true
  5. Now start surfing with the select-to-copy and middle-click-to-paste feature in Firefox under Windows.

There are two more such configurations one is “clipboard.autocopy” . This is set to false in Microsoft Windows version of Firefox by default, and true in GNU+Linux by default. Setting this to true copies text automatically when selected. Although this function in Windows does not work. But works fine in GNU+Linux and you can disable this select to copy feature in GNU+Linux.

Another one is “middlemouse.contentLoadURL” . If this controls if a URL is copied, then a middle click will load the URL. This is default to true in GNU+Linux and false in Windows, although this feature then changed to true does not work in Windows.

Install Plugin

To avoid manual configurations and also to enable the select to copy, there is a Firefox plugin AutoCopy available which can enable select-to-copy. Install this plugin and configure it and you can select to copy and middle click to paste. Remember to make “middlemouse.paste” to false before using the AutoCopy plugin, else middleclick will paste twice. Here is the link of AutoCopy


8 thoughts on “Enable Select-to-Copy MiddleClick-to-Paste in Windows Firefox

  1. Remember to make “middlemouse.paste” to false before using the AutoCopy plugin, else middleclick will paste twice.

    –thank you very much for helping me solve a long term annoyance.

    1. Very important thing to do. I noticed this when testing the plugin, and figured out that the finrefox’s internal paste should be disabled.

  2. AutoCopy is great, except it doesn’t seem to work in the address bar.
    I haven’t found any useful tool for middle mouse copying in other applications. TXmouse breaks most of the other uses of middle mouse button, e.g. you can’t open links in a new tab with middle mouse anymore. It breaks other things too, e.g. the context menu on bookmarks will disappear when moving the mouse.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s