RSS - Log in

Welcome on your first visit

We have hundreds of posts on Natural Approaches to Pain Relief, Analysis of Current Research and Breaking News. You can get our posts sent to you by RSS Please Subscribe. You can get hold of us by phone at 1-800-589-1509 or contact us through the About Us page. We have several great authors, if you find one you particularly like there are links in the sidebar that will take you to all of their writings. Check out our new Natural Approaches to Pain Relief Forum and introduce your self or our delightful Natural Heat Therapy Products
May 17 2008

FireFox - Cut and Paste the Easy Way

Woman office pulling hair out

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:

  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>.
    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

  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.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.

  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")

from http://www.mozilla.org/editor/midasdemo/securityprefs.html

If you Enjoyed this post - Please Subscribe so you don't miss a post.
No time to comment, Nothing in particular to say?

3 Comments

Write a Comment»
  1. soge shirts
    Posted May 17, 2008 at 7:56 pm | Permalink

    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.

  2. Musashi
    Posted May 22, 2008 at 8:54 pm | Permalink

    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.

  3. Joe
    Posted May 22, 2008 at 10:20 pm | Permalink

    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.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

Warning: stristr() [function.stristr]: Empty delimiter in /home/relax/public_html/painrelief101/wp-content/plugins/wassup/wassup.php on line 2093