
Getting Cut and Paste Back the Way You Want It
One thing I find annoying is when I right click to cut and paste and I get the reminder that my security setting prohibit cut and paste without control V or C. I finally got around to finding out how to fix it and doing something about it. It is not for the total novice but it is not terribly complicated either. If you have been wanting to use the cut and paste button in Firefox and other Mozilla browsers here is the way.
This is an issue when cutting and pasting into some text boxes generally ones that are used in applications like Wordpress, blogger and other CMS systems.
For Firefox:
- Quit Firefox. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
- 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>.
OR you can use explorer to search for the file name user.js make sure you select hidden and system files and to be safe I would select the root of drive c: and include all subdirectories and files - Open the
user.jsfile from that directory in a text editor. If there’s nouser.jsfile, create one. -
Add these lines to
user.js: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 the site that you want to be able to edit using right click or the applications buttons. Unfortunately there is no global setting you have to list each site.
- 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")
from http://www.mozilla.org/editor/midasdemo/securityprefs.html
No time to comment, Nothing in particular to say?





To be notified by email when there are new blog entries, 



3 Comments
Write a Comment»Ha i hate the restrictions on that. Thanks for finding that. I hate having to use control c and v especially in google docs on firefox.
Interesting.
Never heard of this problem and never experienced it. I am using firefox for some years now. But of course i never set the security-setting too high because working becomes impossible.
Musashi, I guess I should have clarified that the issue generally comes up when you are using some content management systems and similar software like Wordpress to post to the web.
I edited the post to add that.