How to set up Firefox to enable the Cut, Copy and Paste features.

Last post 02-18-2011, 11:16 AM by Trekrod1. 0 replies.
Sort Posts: Previous Next
  • How to set up Firefox to enable the Cut, Copy and Paste features.
    Posted: 02-18-2011, 11:16 AM

    To protect users' private information, unprivileged scripts cannot invoke the Cut, Copy, and Paste commands in the Mozilla rich text editor, so the corresponding buttons on the Mozilla Rich Text Editing demo page will not work. To enable these functions for purposes of the demo, you must modify your browser preferences.

    For Firefox:

    1. 1.    Quit Firefox. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
    2. 2.    Find your Firefox profile directory.
    3. 3.    Open the user.js file from that directory in a text editor. If there's no user.js file, create one.
    4. 4.    Add these lines to user.js:
    5. 

    user_pref("capability.policy.policynames", "allowclipboard");

    user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org");

    user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");

    user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

    *Change the url "http://www.mozilla.org" to where you want to enable this function.

    1. 5.    Save the file, and restart Firefox. The Clipboard buttons should now function.

    Note: The preference is site as well as protocol specific. For example

    user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org")

    is not the same as

    user_pref("capability.policy.allowclipboard.sites", "https://www.mozilla.org")

    (the first is http and the second is https)

    If you want to allow multiple urls to access the Paste operation, separate the urls with a space. For example:

    user_pref("capability.policy.allowclipboard.sites",

     "http://www.mozilla.org https://www.mozilla.org")

    For more information about security policies, see

    http://www.mozilla.org/projects/security/components/ConfigPolicy.html

     

    So to add copy paste to Firefox for the CommVault Forums editor add the following Url to this parameter: 

    "http://sso.forum.commvault.com"

     

    The file should like like this:

    user_pref("capability.policy.policynames", "allowclipboard");

    user_pref("capability.policy.allowclipboard.sites", "http://sso.forum.commvault.com");

    user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");

    user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2019 Commvault | All Rights Reserved. | Legal | Privacy Policy