CTRL C/CTRL V

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.
Please direct questions that are Mac or Linux-specific (dealing with installation and OS integration) to the appropriate Linux or Mac board.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions that are specific for Linux and Mac to the dedicated boards for those operating systems.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Locked
dogluvver

CTRL C/CTRL V

Post by dogluvver » 2013-02-12, 19:03

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

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29249
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: CTRL C/CTRL V

Post by Moonchild » 2013-02-13, 07:51

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
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

dogluvver

Re: CTRL C/CTRL V

Post by dogluvver » 2013-02-13, 16:21

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

Blacklab
Astronaut
Astronaut
Posts: 735
Joined: 2012-06-08, 12:14
Location: Scotland UK

Re: CTRL C/CTRL V

Post by Blacklab » 2013-02-13, 16:32

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! :wtf: Success! :thumbup:
Last edited by Blacklab on 2013-02-13, 16:42, edited 1 time in total.

dogluvver

Re: CTRL C/CTRL V

Post by dogluvver » 2013-02-13, 16:41

Thanks - exactly what I was looking for.

Brian

dogluvver

Re: CTRL C/CTRL V

Post by dogluvver » 2013-02-13, 19:52

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

Blacklab
Astronaut
Astronaut
Posts: 735
Joined: 2012-06-08, 12:14
Location: Scotland UK

Re: CTRL C/CTRL V

Post by Blacklab » 2013-02-13, 20:30

One for Moonchild I suspect! :) mozillaZine's "Preferences not saved" http://kb.mozillazine.org/Preferences_not_saved suggests some possible reasons.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29249
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: CTRL C/CTRL V

Post by Moonchild » 2013-02-13, 20:33

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.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

alan9182

Re: CTRL C/CTRL V

Post by alan9182 » 2013-02-13, 21:49

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"

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29249
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: CTRL C/CTRL V

Post by Moonchild » 2013-02-14, 06:46

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.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

alan9182

Re: CTRL C/CTRL V

Post by alan9182 » 2013-02-14, 08:55

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

Locked