Open Bug 520481 Opened 11 years ago Updated 11 years ago

Cut and paste does not work SOHOLAUNCH page editor using Vista x64


(Core :: DOM: Editor, defect)

Windows Vista
Not set





(Reporter: fz1dm5, Unassigned)




User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729)

The cut and paste function does not work in Vista X64. I can cut and paste while editing a page using my SOHOLAUNCH page editor only if I revert back to using XP. I also tried checking to see if the version of firefox had anything to do with it but it didn't. I loaded both version 3.0 and 3.5  and neither work using Vista x64 but will work using XP. 

Reproducible: Always

Steps to Reproduce:
1. on a Vista x64 system go to SOHOLAUNCH page editor and highlight any text then right click the highlighted text and click copy or cut. 
Actual Results:  
This error is displayed: Copy/Cut/Paste is not available in Mozilla and Firefox.
Do you want more information about this issue?

If I click okay to this message it takes me to a Mozilla page that gives instructions on how to correct...see additional information. The instructions for correction are for Windows XP systems not Vista. It referrences a USERID.js file that I do not find anywhere on my Vista system. 

Expected Results:  
I use this function all the time in Windows XP to cut and paste data.

This is the page I was redirected to:

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. Quit Firefox. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
   2. Find your Firefox profile directory. On Windows, this is often located in

      C:\Documents and Settings\<Windows login>\Application Data\Mozilla\Firefox\Profiles\<one folder>.
      (See also editing configuration files for more info on locating your profile folder.)
   3. Open the user.js file from that directory in a text editor. If there's no user.js file, create one.

      Add these lines to user.js:

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

      *Change the url "" to where you want to enable this function.
   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", "")

is not the same as

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

(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:


For more information about security policies, see
Component: General → Editor
Product: Firefox → Core
QA Contact: general → editor
You need to log in before you can comment on or make changes to this bug.