I've got to do this (below) but I can't find the user.js. file. I can see two files with (js) in them prefs.js.back and prefs.js.new? Could it be one of them?
The instructions I'm following say to create one if none exists - how would I do that?
One more thing. It say 'change the url "Http://www.mozilla.org" to the site for which you want to enable this function. Again how do I do that?
This is what i'm trying to do:
Quit Firefox. If you have Quick Launch running (in Windows, an icon in the toolbar), quit that too.
Open the user.js file from that directory in a text editor. If there's no user.js file, 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.Clipbo ard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipbo ard.paste", "allAccess"); * Change the url "http://www.mozilla.org" to the site for which you want to enable this function.
What do you mean redo? Did it work the first time? I think Aabiru sabeel made a change to my post to make the code appear in code blocks but the code is still the same as it was before.
Where did you get these instructions from btw and what does it do?
Ahh. It should work if you copy paste from my edited code. There was an extra space in the code that you originally posted within the word 'clipboard' which would cause it to fail.
PS : @sis snowflake, in case you couldn't make it work the (alpha) geeky way, or if you are lazy like me, you can install the plugin AllowClipboard helper from here it helps do it.
then from firefox menu "tools" (sorry my FF is french)
then put the url and click "allow" :
Install AllowClipboard Helper. (If you already have this, skip down to Tools->AllowClipboard Helper.) Note: When you click Install on this page, a popup bar may popup at the top of the current page asking you to allow the site. Go ahead and do this.
Bookmark this page so you can come back after you exit your browser.
Exit(Close) all browser windows.
Restart your browser.
Click Tools->AllowClipboard Helper.
Add your domain: 'www.mysite.com' in the server address text box and click 'Allow'.
(Or you can use http://www.mydomain.com and https://www.mydomain.com Do not include an ending slash on the website or copy/paste will not work.)
Click Ok.
Close all browser windows.
Restart your browser, and copy/paste should work for you in HTMLArea.
If you want to uninstall the AllowClipboard Helper plugin once you have verified things are working: In FireFox goto Tools->Extensions. Click on AllowClipboard Helper in your extension window and click Uninstall.
Note about AllowClipboard Helper: AllowClipboard Helper will show a tab under your Rich Text HTML Editors if it thinks cut/copy/paste is disabled. (Feel free to test yourself.) You can easily add a site to your allowed list by clicking this tab and clicking allow in the AllowClipboard Helper window. If you do not want these tabs then go here to remove them: "Tools->Extensions->AllowClipboard Helper->Options".
What does it mean to allow cliboard? I'm quite confused actually lol.
Can't you just ctrl+c/ctrl+v? What am I missing here.
AFAIK, (for security reasons) firefox does not allow access to the clipboard (os "copy/paste" buffer) from JavaScript code, like javascript functions used in js components (Editors,etc .). This makes some online text editors unable to make copy paste on some websites, so we have to explicitely allow it on this website.
Yeah, you have to save it in the profile folder. Drag and drop the file you created into it.
It's not worked and I know it's my fault. I'm just hopeless : ( I couldn't save it to the profile folder. Didn't know how to locate it. I tried mozilla folder but there was no 'profile' folder file in there.
format_quote Originally Posted by marwen
^ Alpha Dude is the man !
PS : @sis snowflake, in case you couldn't make it work the (alpha) geeky way, or if you are lazy like me, you can install the plugin AllowClipboard helper from here it helps do it.
then from firefox menu "tools" (sorry my FF is french)
then put the url and click "allow" :
It's not worked and I know it's my fault. I'm just hopeless : ( I couldn't save it to the profile folder. Didn't know how to locate it. I tried mozilla folder but there was no 'profile' folder file in there.
The profile folder is actually where you saw the pref.user.js and the other file, that you mention in your first post?
Type this in the address bar: about:support then hit go. Then click Open Containing Folder and there you go.
Hey there! Looks like you're enjoying the discussion, but you're not signed up for an account.
When you create an account, we remember exactly what you've read, so you always come right back where you left off. You also get notifications, here and via email, whenever new posts are made. And you can like posts and share your thoughts. Sign Up
Bookmarks