Mozilla changes Private Browsing Clipboard handling in Firefox 33

Martin Brinkmann
Jul 24, 2014
Updated • Jul 25, 2014
Firefox
|
14

If you copy data from a private browsing window in Firefox 32 or earlier to the clipboard and close the private browsing window afterwards, you will notice that the data is not there anymore.

Firefox empties the clipboard whenever you exit private browsing mode. You can test this easily by opening a new private window in Firefox using the shortcut Ctrl-Shift-p, copying text displayed on the introductory page, closing the window again, and trying to paste the copied text to a regular browser window or text document.

The result is that it won't work since there is no data to paste anymore.

Why is that done? The main intention appears to be to protect data from surviving accidentally when the mode is exited. Opponents have argued that Firefox should not interfere with operating system specific features, that users should get to choose whether they want the data to remain, and that it is a feature that needs to be activated by the user which in turn means that the user should be aware of it.

The problems that some users have with the behavior is that it makes things more complicated for them. Instead of copying something in private browsing mode, closing the window and pasting the copied data into another application, they need to paste first and close later which means more switching on their part.

The clipboard handling when existing Firefox's private browsing mode has changed in Firefox 33. Instead of deleting the clipboard on exit, data is now retained so that it can be copied as expected.

Firefox 33 is currently part of the Aurora channel. It will take roughly 12 weeks before the feature lands in the stable version of the web browser. It may also take a while before it lands in the Aurora channel itself. For now, it is enabled in the most recent Nightly version of the web browser.

How are other browsers handling this?

  • Chromium and Chromium-based web browsers (including the new Opera) are not deleting the data when you exit the private browsing mode.
  • Internet Explorer does not clear the clipboard either.

What if you liked the original behavior?

There is no configuration switch or option to retain the original functionality. You can either avoid copying any data to the clipboard, or, if you need to, copy dummy data in the end before you close the private browsing window.

If you are using Windows, you may run the command echo off | clip using a command prompt to clear the clipboard.

Summary
Mozilla changes Private Browsing Clipboard handling in Firefox 33
Article Name
Mozilla changes Private Browsing Clipboard handling in Firefox 33
Description
Clipboard contents in Firefox's private browsing mode will not be deleted anymore from Firefox 33 onwards.
Author
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. adf said on January 27, 2018 at 4:21 pm
    Reply

    damnit, they changed it back somewhere in the 50s. I liked the”old” way of not wiping out my clpboard. how to prevent firefox from doing so?

  2. Anonymous said on September 29, 2016 at 3:58 pm
    Reply

    This shortcut :
    cmd.exe /c “echo off | clip”
    clears the clipboard.

  3. Anon said on September 2, 2014 at 4:59 am
    Reply

    YES! The one thing I really hated about firefox!

  4. PhoneyVirus said on July 27, 2014 at 11:20 pm
    Reply

    There’s one thing that should be fixed and that’s when you have normal mode running with Private mode open, when opening a link from say Keepass it opens in normal mode even though Private mode is selected.

    It’s annoying and hate copying the url to paste in Private mode when paying bills online.

    “You may run the command echo off | clip using a command prompt to clear the clipboard.”

    The “clip” command only copy’s it to clipboard not clearing it, example typing “dir” would reveal the current directory, using dir | clip would copy the current directory to clipboard, there’s not clearing it. Could be wrong but pretty sure that’s how it works.

    Note: The “clip” command may not be available on Windows XP but in that case, you can use the redirect operators, like > and >>, for saving the command output to a text file. >log.txt

    Thanks for the little Overview Martin

  5. bastik said on July 25, 2014 at 3:44 pm
    Reply

    Previously I did not use the PrivateBrowsing mechanism of Firefox. With PrivateTab, however it is very convenient.

    In my opinion the private mode is there for a reason and therefore the default behavior is justified. I find it appealing to have an application taking care of user errors. KeePass, for example, has the option to clear the clipboard after X seconds. I think it’s better to clear the password from the clipboard rather than keeping it sitting around forever.

    If I’d copy something from PrivateBrowsing sessions, I don’t find it complicated or inconvenient to paste the stuff before I close the session.

    I wonder if there will be a setting to control this. I also wonder how many users don’t recognize the change and what their feeling is about Firefox now doing nothing about their privacy.

  6. Karl Gephart said on July 25, 2014 at 12:04 am
    Reply

    I guess there’s not going to be an about:config option for users to set Firefox to not save private data after 33?

  7. Jan said on July 24, 2014 at 6:22 pm
    Reply

    This behavior was already adopted by Tor.
    And I hate this with a passion. If I made the choice to copy something to the clipboard, well this is not to see it deleted by the program if I close it.
    This forced me regularly to paste the link somewhere else to copy it again after.

  8. B. Moore said on July 24, 2014 at 6:17 pm
    Reply

    Ummm this isn’t new… This happens to me with Firefox 28.

    maybe they removed it after 28 and brought it back in 33 but its definitely in 28 because it drives me CRAZY.

    1. Martin Brinkmann said on July 24, 2014 at 6:54 pm
      Reply

      You mean Firefox 28 is not saving clipboard data when you exit private browsing mode, or it is? Please clarify.

      1. Jan said on July 25, 2014 at 2:37 pm
        Reply

        Reading your article again, it is what you say. I’m not the only one to have been mistaken however : I took the beggining of the article as describing the new behavior when it was the old one. You may clarify it further to avoid any confusion.

      2. Martin Brinkmann said on July 25, 2014 at 3:03 pm
        Reply

        Okay done.

      3. B.Moore said on July 24, 2014 at 7:49 pm
        Reply

        It is NOT saving.

      4. Martin Brinkmann said on July 24, 2014 at 10:21 pm
        Reply

        Yes that is the default behavior. From Firefox 33 on, it will be saving.

  9. Sleeping said on July 24, 2014 at 5:03 pm
    Reply

    What about Pale Moon? :)

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.