Page 1 of 1
CTRL C/CTRL V
Posted: 2013-02-12, 19:03
by dogluvver
I have a website that uses a CMS system. When I try to copy and paste (using the built in editor controls), say from MS Word, into a page on the site, I get an error message which states
"Because of your browser security settings,the editor is unable to access your clipboard data directly"
. I have to use CTRL V. This is a problem because of the manner in which CTRL V works.
If I use IE I get a similar error message BUT also get a choice to allow the paste to occur.
I wonder what browser setting I could change to correct this situation.
Using Windows 7 and Pale Moon 15.4.1
Brian
Re: CTRL C/CTRL V
Posted: 2013-02-13, 07:51
by Moonchild
You probably need the following settings, made in about:config:
- Set capability.policy.policynames to allowclipboard
- Set capability.policy.allowclipboard.sites to the top URL of your CMS, e.g. "http://cms.mysite.com"
- Set capability.policy.allowclipboard.Clipboard.cutcopy to allAccess
- Set capability.policy.allowclipboard.Clipboard.paste to allAccess
Note the capitalization of the values. You are creating an "allowclipboard" policy, then setting the URL and specific policy for the site. You will have to create some of these values by right-clicking the pref list and selecting New -> String
If capability.policy.policynames already has a value, you need to add "allowclipboard" to the list at the end (space delimited).
See also:
http://kb.mozillazine.org/Caps
Re: CTRL C/CTRL V
Posted: 2013-02-13, 16:21
by dogluvver
Thanks for the information. The question now is how?
Looking at about:config I can only see one instance of capability. How do I SET something?
Brian
Re: CTRL C/CTRL V
Posted: 2013-02-13, 16:32
by Blacklab
MozillaZine's
about:config Knowledge Base article:
http://kb.mozillazine.org/About:config has
Adding modifying and resetting preferences paragraph? Is that what you were looking for?

EDITS -
Apologies - forum software not parsing that link correctly! 
Success!

Re: CTRL C/CTRL V
Posted: 2013-02-13, 16:41
by dogluvver
Thanks - exactly what I was looking for.
Brian
Re: CTRL C/CTRL V
Posted: 2013-02-13, 19:52
by dogluvver
I hope that I did all that I should and followed the instructions, however, it still does not work.
After I made the entries into about:config, I shutdown PaleMoon then reopened it.
These are the only entries in about:config showing 'clipboard' are:-
clipboard.autocopy;false
dom.event.clipboardevents.enabled;true
Can you advise as to why the entries I made do not appear?
Brian
Re: CTRL C/CTRL V
Posted: 2013-02-13, 20:30
by Blacklab
One for Moonchild I suspect!

mozillaZine's "Preferences not saved"
http://kb.mozillazine.org/Preferences_not_saved suggests some possible reasons.
Re: CTRL C/CTRL V
Posted: 2013-02-13, 20:33
by Moonchild
Not much for me to say.. right-click -> new -> string, you enter the correct name and value, and the preferences are saved to your profile. If they aren't saved upon shutdown, you need to indeed poke at the relevant Mozillazine knowledge base articles to troubleshoot it.
Re: CTRL C/CTRL V
Posted: 2013-02-13, 21:49
by alan9182
dogluvver wrote:
After I made the entries into about:config, I shutdown PaleMoon then reopened it.
Whilst Palemoon is shutdown it really is NOT - unless Palemonn.exe and Plugin-Container.exe processes are also closed.
You may need to launch Windows Task Manager and inspect the Processes TAB to see and if necessary "End Process" or even "End Process Tree"
Re: CTRL C/CTRL V
Posted: 2013-02-14, 06:46
by Moonchild
Alan: When you shut down pale moon it is completely shut down, unless you have either an add-on, plugin or third party program preventing Pale Moon from shutting down cleanly, which is something you need to investigate and rectify because it can cause problems.
Re: CTRL C/CTRL V
Posted: 2013-02-14, 08:55
by alan9182
Moonchild wrote:Alan: When you shut down pale moon it is completely shut down, unless you have either an add-on, plugin or third party program preventing Pale Moon from shutting down cleanly, which is something you need to investigate and rectify because it can cause problems.
Yes - I knew that but failed to state it because my focus was on giving a quick diagnostic to show if things were not as they appeared on the surface.
Perhaps it is also worth commenting upon the possibility of data loss when forcing a process to terminate.
I rarely create a new password immediately before closing a browser,
and therefore my Addon LASTPASS has plenty of time before closing to ensure that new passwords are synchronised with the remote LastPass servers.
But there are times when I decide to bookmark some pages before closing,
and after closing the browser xMarks continues for some seconds to synchronise local bookmarks with the remote xMark servers.
My preference is to allow remote synchronisation to complete before I "pull the plug".