Turning on Cut/Copy/Paste in the Firefox browser

How to Enable Cut, Copy and Paste for the WYSIWYG editor in Firefox

Setting Prefs to allow Cut/Copy/Paste in Firefox

To protect users' private information, the default Firefox settings prevent scripts from invoking the Cut, Copy, and Paste commands, so the corresponding buttons on the WYSIWYG Toolbar will not work. To enable these functions for Firefox, you must modify the browser preferences.

For Firefox on Windows:

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>.
(For more info on locating your profile folder, use the search term 'editing configuration files' in the Firefox Knowledge Base at: http://support.mozilla.com/en-US/kb/ )

3. Open the user.js file from that directory in a text editor. If there's no user.js file, create one.

4. Add these lines to user.js:

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://www.omniupdate.com http://omniupdate.com");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

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


For Firefox on Macintosh:

1. Quit Firefox.

2. Find your Firefox profile directory. On Macintosh, this is often located in one of these locations:

~/Library/Mozilla/Firefox/Profiles/<profile folder>
~/Library/Application Support/Firefox/Profiles/<profile folder>

The tilde character (~) refers to the current user's Home folder, so ~/Library is the /Macintosh HD/Users/<username>/Library folder.
The format of the <profile folder> name is: randomcharaters.Test (example: ohertjj8.Test ) This will be unique for each users profile folder.

3. Make a backup copy of the prefs.js file.

4. Using a text editor add the following lines to the end of the original prefs.js file:

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://www.omniupdate.com http://omniupdate.com");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

5. Save the prefs.js file. Launch Firefox and test Cut/Copy/Paste functions when editing an page in OU.

For more information about security policies, see http://www.mozilla.org/projects/security/components/ConfigPolicy.html.