Copy/Cut/Paste is not available

Tuesday, September 23, 2008 by SKoriginals | Discussion: Forum Issues

Alright, just noticed this tonight for the first time. I'm recently and slowly converting to FF as v3 is growing on me. However, I commonly use the 'Right-click > Copy'  (or cut and/or paste) options. Just got used to doing so instead of the key short-cuts Ctrl+c (or x or p or whatever).

Now when using the key short-cut method everything is fine and dandy but when using the right-click method you get the following error (which I'll take a sceenshot of right now)....

Notice its a screenshot of me writing this message 

ok, the link takes me to this page for an explination and 'fix'... http://www.mozilla.org/editor/midasdemo/securityprefs.html

Well that just seems absurd that that even needs to be done, so if there is something that can fix that 'issue' on the sites end that would be a good idea I think. 

 

WebGizmos
Reply #1 Tuesday, September 23, 2008 6:30 AM

Yeah....this has been bugging ma as well!

 

WebGizmos
Reply #2 Tuesday, September 23, 2008 6:33 AM

And the fix doesn't work explained on that page......much like the edit button here...or a lot of other stuff in the forums now.

Vandenburg
Reply #3 Tuesday, September 23, 2008 8:22 AM

Yeah, it's strange that it doesn't work.

 

But ctrl+c and ctrl+v work perfectly, so use that instead.

kryo
Reply #4 Tuesday, September 23, 2008 9:13 AM

And the fix doesn't work explained on that page

Most likely the tinymce devs have it coded to not even try, since unless someone has specially set it to allow, since javascript clipboard access is prohibited in Gecko browsers by default.

Anyway, you can still use Ctrl+X/C/V just fine, since those are manual user-triggered shortcuts.

WebGizmos
Reply #5 Tuesday, September 23, 2008 9:26 AM

you can still use Ctrl+X/C/V just fine, since those are manual user-triggered shortcuts.

Yeah....but those are a pain in the butt when you can rightclick faster.

BigDogBigFeet
Reply #6 Tuesday, September 23, 2008 9:53 AM
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");

Boy oh boy. It's obvious why it doesn't work here. Look at the second line only mozzilla.org is being added as allowclipboard.sites in their example. You have to add "https://forums.wincustomize.com to get it to work here.
BigDogBigFeet
Reply #7 Tuesday, September 23, 2008 9:55 AM
Boy oh boy.  It's obvious why it doesn't work here.  Look at the second line 
only mozzilla.org is being added as allowclipboard.sites in their example.
You have to add "https://forums.wincustomize.com to get it to work here.

Argg! please fix the edit.

Don't know why I had to manually format that line????
BigDogBigFeet
Reply #8 Tuesday, September 23, 2008 10:05 AM

This is a test.

Don't know why I had to manually format that line????

It's working here.
BigDogBigFeet
Reply #9 Tuesday, September 23, 2008 10:17 AM

This is what my user.js file looks like:

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

I also have javascript enabled.

FF3 right click copy and paste is working here for me on these forums.

andrew_
Reply #10 Tuesday, September 23, 2008 10:46 AM

Yep. It's a 'security measure' employed by Mozilla. Not an actualy bug in the editor or the forums persae, even though it may be percieved as a bug. The workarounds that BigDogBigFeet and kryo outlined do work pretty well (thanks guys).

much like the edit button here...or a lot of other stuff in the forums now

Just a friendly request guys; please hold off on posting commentary like that in posts in the Forum Issues category. It's demoralizing and it doesn't help with resolving the actual issue, or helping someone to get a workaround working. It's also pretty off topic. There are quite a few posts right now about the edit button not working, and this particular post isn't the proper place to comment on that issue. Please help us out in this regard and have a little restraint. We know that issues can be frustrating, but the people on the other side of the screen are human too.

BigDogBigFeet
Reply #11 Tuesday, September 23, 2008 11:22 AM

It's demoralizing and it doesn't help with resolving the actual issue, or helping someone to get a workaround working. It's also pretty off topic.

You're right.  Does no good to beat something to death in every forum post.

SKoriginals
Reply #12 Tuesday, September 23, 2008 11:30 AM

The workarounds that BigDogBigFeet and kryo outlined do work pretty well (thanks guys).

I know it 'will' work, hell I even posted the link to the page with the 'work-around'. I was just wondering if there was something that could be done on the sites end.  Thats all

BigDogBigFeet
Reply #13 Tuesday, September 23, 2008 11:56 AM

Oh well SK your post didn't make that clear and Web's clearly said their example doesn't work at all.  If anyone can answer your question regarding how to get that facility to work over a number of web sites it would be Mozilla.  I'm not why you would think there was something that the site could do given that this is a security feature in FF3 that Mozilla has put in place that specifically was made to prevent a web site from controlling that function thru javascript.

kryo
Reply #14 Tuesday, September 23, 2008 12:34 PM

If anyone can answer your question regarding how to get that facility to work over a number of web sites it would be Mozilla.

As you say, I wouldn't bet on it. Being able to remotely override a security setting kinda defeats the point of having one.

BigDogBigFeet
Reply #15 Tuesday, September 23, 2008 1:01 PM

As you say, I wouldn't bet on it

I haven't asked them but, I'm thinking what SK indicated in his initial post would be their response and would go something like this. 

"You have to enumerate each site you want this facility to be active for in your user.js file"

I'm just saying.

WebGizmos
Reply #16 Tuesday, September 23, 2008 1:16 PM

Just a friendly request guys; please hold off on posting commentary like that in posts in the Forum Issues category. It's demoralizing and it doesn't help with resolving the actual issue, or helping someone to get a workaround working. It's also pretty off topic. There are quite a few posts right now about the edit button not working, and this particular post isn't the proper place to comment on that issue. Please help us out in this regard and have a little restraint. We know that issues can be frustrating, but the people on the other side of the screen are human too.

I realize you guys are human Andrew...same here...and it certainly wasn't meant to demoralize anyone...thats a bit extreme...it just gets very frustrating.

WebGizmos
Reply #17 Tuesday, September 23, 2008 1:30 PM

This is what my user.js file looks like:

And I tried that as well...but still a no go....user.js file looks that same and javascript enabled. I can copy text already submitted but can't copy anything I'm in the process of writing.

BigDogBigFeet
Reply #18 Tuesday, September 23, 2008 2:28 PM

Getting a bit off topic Web doesn't sound like a forum issue more like a FF3 issue better addressed with Mozilla but here goes

 

Getting a bit off topic Web doesn't sound like a forum issue more like a FF3 issue better addressed with Mozilla but here goes

 

Worked for me.

WebGizmos
Reply #19 Tuesday, September 23, 2008 2:47 PM

Right on topic....same concern as SK's.

Anyway....I have no idea what it is then! I have the same user.js file as you and its still not working. I can't copy what I'm typing here without using the ctrl-c and ctrl-v method. Oh well...lifes a bitch!

andrew_
Reply #20 Tuesday, September 23, 2008 3:18 PM

WebGizmos, I do know that the dev for TinyMCE is working on a way around that. He's working directly with the Moz people. I don't have any more information than that, but the guy is great and speaks with me directly. If/When a workaround for this becomes available for the editor, I'll make sure to make a big deal about it so you know.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01