## Text editors

### Mozilla, Firefox and cut 'n' paste issue

Mozilla, Firefox and cut 'n' paste issue
This forum is for documenting problems with Mozilla/Firefox and cut 'n' paste in the rich text editor.

(related discussion at http://moodle.org/mod/forum/discuss.php?d=5253 )

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

It works for me.  Mozilla 1.5 on both WinXP and WinME.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Mozilla 1.6, Mandrake Linux - it does not work.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
If you make any changes to user.js or pref.js files you'll need to restart your browser, those files are (searching my dictionary for verb read) read when browser starts up.

Here is an example file:

edit those hosts to match yours and rename the file to user.js.txt -> user.js

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
Thanks Janne, you're a patient man.

I kept putting "quotes" around each URL like this:

user_pref("capability.policy.allowclipboard.sites", "http://moodle.org" "http://another.com" "http://third.com");

I still get the warning but the ctrl X C & V function works fine both on my site and Moodle.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
"I still get the warning but..."

Do you have a screenshot of that warning. Is it the same one that appeared before?

- Janne -

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
Hi Janne,
The warning is gone now and everythings working fine except for when I insert a link and then I have to hit cancel on the link editor to close it. The link works fine but the action of inserting it is  a little awkward. I'll try and change some settings and see if that fixes it.

Thanks again for the great editor.
John

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
Sorry, yes it was the same error message that had appeared previously.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

If you need to edit the user.js file often, you can also add in the "Chromedit" extension to FireFox that (it is actually more to allow editing of the .css files, but user.js is included):

http://texturizer.net/firefox/extensions/#chromedit

Once you install this extension you can go to Tools => Edit User Files and you will get this panel:

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
Thanks for the tip Paul
Were you able to get multiple site editing working properly? I did by finally following the instructions closely. I kept using "" around each URL

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

John, yes, I can put multiple sites in and all is well - I can also use the ctrl+c and ctrl+v keys.  As strange as it might sound, I don't think the ctrl+c ctrl+v keys worked until I put the multiple sites in without the "www" in front:

"http://www.site1.com http://www.site2.com http://www.site3.com" - could copy and paste to all three sties but could not use the ctrl+c ctrl+v keys - had to use the edit => copy paste from the browser menu.

"http://site1.com http://site2.com http://site3.com" - can copy and paste using keystrokes (ctrl+c ctrl+v) as well as menu items.

I am not 100% sure of this, however, as I have went throught so many gyrations with this thing, that I lost track of the things I did and the orders I did them in (enough to cast some doubt on my suggestion).  But I still think it is worth a try if someone can't get the ctrl+c ctrl+v keys to work.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
Yes, Chromedit is the way to go for edits, thanks Paul.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hi Paul,

I  inserted the lines in the various pref.js files but that didn't work.  I used the CromEdit solution and created the user.js file, which contain only those four lines of script.  I assume haven't caused any conflicts in my system ().

It is possible that the changes in the pref.js file didn't work is due to not changing the url from mozilla to my site.  Anyway, the cut and paste functions work now.

Thanks for the fix.

Jim Depow

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

James, I have only been using Firefox .8 (not Mozilla) so I can speak only for it (Firefox).  With my user.js file in place, I found that I can do any type of copy/paste function EXCEPT us my ctrl-v keystroke (it gives me an error popup as described in other posts).  I can, however, go into the Edit => Paste menu and paste in what I want.

My user.js file looks like this:

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://domain1.com http://moodle.org http://domain2.com");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

In contrast to what I posted in an earlier post, I later found that it did not matter if the "www" was put in the URL or not.

As I understand it (at least as well as one can understand Firefox .8 ), the contents of user.js are merged into the prefs.js file each time Firefox is started, so manual changes to prefs.js would be overwritten.

It is frustrating to not be able to get Firefox to behave, but then again it is a ".8" release.  I do like the browser very much but I still find myself going back to IE from time to time to get away from the sorts of problems described above.  Hopefully, its developers will get some of these types of problems sorted out by 1.0

Now, having said all that, I just thought I would try a ctrl-v here in this post in Firefox and it worked!  I am at a loss to understand the logic (or illogic) of this behavior.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
In fact, the lines in user.js enable the control-V. That's why you can do it on moodle.org, because you listed it. The Edit->Paste works ALL THE TIME, regardless of settings.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

This looks great, except that I can't find anything that remotely looks like the directories you guys are talking about... I'm on Win XP.   Any clue as to where i can find that user.js file?  Thanks!

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

All the other sites worked but moodle.org

moodle.org needed "http".

All the other sites worked when they were written without "http"

This is my "user.js" file in the directory:
C:\Windows\Profiles\Teemu\Application Data\Mozilla\Profiles\f\

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "opitaan.fi http://moodle.org moodle.fi");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

I needed to restart the computer when I made the changes to the file.

Teemu

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

I use Mozilla 1.4.1, I want to know:

Where do I can find file "user.js"  ?

or

Where do I must to place file "user.is" ?

Help me!

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Thanks guys,
you,re cracks!!
Wonderfully explained!!

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

I had the same problem. In my case, I use Debian with Mozilla 1.6, so I went to look for the user.js file in /usr/lib/mozilla but the file didn't exist.
The next step was to create it. I did so, but it doesn't work. But... in /usr/lib/mozilla/defaults/pref I saw a file called "all.js". I edited it, and -more o less- in line 450, there were two sentences:

// Clipboard
pref("capability.policy.default.Clipboard.cutcopy", "NoAccess");
pref("capability.policy.default.Clipboard.paste", "NoAccess");

I changed them:

// Clipboard
pref("capability.policy.default.Clipboard.cutcopy", "AllAccess");
pref("capability.policy.default.Clipboard.paste", "AllAccess");

and it works... I think that it isn't the best way because of the security... but now we haven't got problems with the html editor.

(I'm sorry for my English...)

Bye.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Suso:

It sounds as if your are using one of the specific Debian distributions, LinEx or Guadalinex. Is this true. If not, what distro are you using, please?

Thanks

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

I installed Debian from Knoppix 3.4
Then, I updated it.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Using Firefox 1.0 under WinXP Pro, I had similar cut/copy/paste problems with composing off-line then using CtrlC and CtrlV into a Moodle course leading to a security 'no-no'.

For me, the KEY was keeping the user.js file in the directory

%AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\

While some other changes (eg stopping banner ads) go into its subdirectory

%AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome\

Putting the following into

%AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\user.js

using Notepad, was all it took to get the cut/copy/paste to work in the Moodle environment.

// Clipboard
user_pref("capability.policy.default.Clipboard.cutcopy","AllAccess");
user_pref("capability.policy.default.Clipboard.paste", "AllAccess");

VERY HELPFUL TIP: Paul Norrod's suggestion to get Chromedit

http://texturizer.net/firefox/extensions/#chromedit

...it saves alot of pondering over file-hunting in WinXP (or Win anything).

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hi.

I'm using Mac OS X (10.3.6) and Firefox 1.0 (just downloaded it last week).

The paste function doesn't work when I try to copy something from WORD. However I can copy something from a browser page, and while the paste icon doesn't work, CTRL-V works.

(There is no problem pasting WORD text using CTRL-V if I use Safari. The problem with Safari is that there is no editing toolbar at all, so all the other editing functions are gone.)

I tried pasting the two suggested lines into the prefs.js file (it seems not to be named user.js in the MAC version, but rather prefs.js) and there is no difference. I know I'm using the right preferences file, because if I delete it and then re-start Firefox, it creates a new copy.

Any ideas?

--Todd Woofenden

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

I just saw this thread and have some help (if you did not find out already):
Firefox help says about user.js:
The file does not exist by default, so you need to create it before you can start adding your preferences.

Hope this helps
Martin

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hi - thanks for the note! No, no solution yet.

I tried creating that file, and also adding the relevant lines to the prefs.js file to allow the clipboard. (prefs.js seems to be Firefox for Mac's equivalent to user.js).

At first I thought It had fixed the problem, until I have discovered that cutting and pasting works from some applications and not from others, regardless of the fix.

For instance, I can't cut and paste from WORD for Mac, with or without the fix, but I can cut and paste from Textedit, with or without the fix. (So bottom line, the fix doesn't work.)

This is pretty much a fatal flaw in Firefox, so please let me know if you come across any other fixes.

Thanks!

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Sorry, but your assumption is wrong. prefs.js is a Firefox internal file - it is overwritten (as you realized). So it is better to leave it alone.

Please try to create a file named user.js. It does not exist by default - neither on windows nor on linux. You _must_ create it. Enter the following text and restart Firefox (changes are not immediate):

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://moodle.org");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

Don't give up!
Martin

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

I guess my post wasn't clear. I understand that the user.js file doesn't exist by default. The first thing I tried was creating the user.js file as instructed, and there was no effect. I just repeated that experiment, and there still is no effect. I also understand that Firefox needs to be re-started, and did that.

Adding those four lines to the prefs.js was a guess, since that is the main preferences file. But that doesn't work, either.

Thanks for the note -- still searching!

--Todd

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hi Todd,

If memory serves - I too had to play  a little before getting it to work.

In Foxfire, what do you see  under Tools / Edit user files? Do you see a tab called user.js?

If so check where the file is saved (says at bottom of window) and try pasting the following to it:

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "www.yoursite.com");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

Hope this helps.

Jeff

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hello Todd,

You wrote that you are using a Mac. Checking with the Firefox homepage:

http://www.mozilla.org/support/firefox/edit

your user.js file might have to be in a different location.

"On Mac OS X, the path is usually ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/"

It also says that you can use the about:config setting in the borwser address window.

HTH,

Bill

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Grr ... i have entered the commands ... but i still cant copy and paste ... i dont know why.

I am using Gentoo Linux and Firefox.

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://moodle.org ttp://localhost/typo3/typo3/alt_main.php http://localhost/ http://localhost/typo3/ http://localhost/typo3/typo3",");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

found the error

user_pref("capability.policy.allowclipboard.sites", "http://moodle.org ttp://localhost/typo3/typo3/alt_main.php http://localhost/ http://localhost/typo3/ http://localhost/typo3/typo3","); <--- last "," was wrong ;)

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

I use Mozilla 1.4.1,

Where do I must to place file "user.js" ?????

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

hi dear...
i made a file called user.js....but i am not able to understand where should i put this file....
can u give me any idea abt that....
any help will be appreciable//
ragards..
Raju

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Get hold of the chrome edit extention (I think its available for Mozilla, I know it is for Firefox), then just copy and past some of the examples from the website into the relevant area!

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

OK, I was able to get the cut and paste going, but I lose formatting.  I compose my homework solutions and lecture outlines using MS Word because the Symbol font is not available in these windows and I have to use it extensively for Greek characters.  When I copy the MS Word text using IE, everything is honky-dory.  When I copy the MS Word text using Firefox, I lose the font formatting.

Anyone have some clues on how to deal with this?

Thank you,

Richard

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
You can add Symbol to your list of fonts in the editor using Admin >> Configuration >> Editor (I have done so on this site).

However, note that using Symbol to represent Greek characters will not work on student/client/other machines because they may not have that font...

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

I use Mozilla 1.4.1, How do I do to enable "cut and paste" in HTML editor ???

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

You'll need to use "Paste"  from the "Edit" menu. Alternatively you can configure site where shortcuts may be used. The solution can be found earlier in this discussion starting around here.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hi,

I have used FF before and was able to edit my user.js file to allow cut and paste.  I have recently installed FF (1.0.2) on a new machine, have added Chrome edit, and modified the user.js file as before but no luck.  I realize this has been discussed in great detail in this forum, but I am still struggling.

I can copy by right clicking the mouse, but can't paste, and I can't copy or paste using the html buttons.

The following are the lines in user.js and pref.js.  Any ideas or suggestions are greatly appreciated.

Thanks,

Jim

user.js

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "
http://www.mozilla.org http://198.164.135.10/moodle");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

pref.js

user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
user_pref("capability.policy.allowclipboard.sites", "
http://www.mozilla.org http://198.164.135.10/moodle");
user_pref("capability.policy.policynames", "allowclipboard");

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
Hi James,
Remove the "/moodle" string from the line. Keep just plain "http://198.164.13.10 "  (or the domain name).

And you will need only one copy, you do not need to have it twice in user and prefs.

- Enrique -

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hi Enrique,

It worked (your reply is pasted in this message using FF )!  One reason this was so important, other than the frustration, is that I am promoting Moodle within our college system. The bug (MS IE not Moodle) with MS IE sometimes not displaying properly, and needing to use the Enlarge Editor to see the text, would be very confusing to new users.  I will promote the use of FF as well.

Thanks so much,

Jim

Hi James,

Remove the "/moodle" string from the line. Keep just plain "http://198.164.13.10 "  (or the domain name).

And you will need only one copy, you do not need to have it twice in user and prefs.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

hi dear...
i am using mozilla..
could you tell me where we can have this file ..user.jsand pref.js

same problem we are facing here(Cut /Copy /Paste)

please do something regarding this issue..
ragards..
Raju

Average of ratings: -
Where is the user.js file?

I would try to edit the user.js file in Firefox... if I could find it! Only a pref.js file is avaible on my browser. Should I edit this one?

Average of ratings: -
Re: Where is the user.js file?
Here are the instructions from Mozilla:

# Setting Prefs for the Mozilla Rich Text Editing Demo

To protect users' private information, unprivileged scripts cannotinvoke the Cut, Copy, and Paste commands in the Mozilla rich text editor, so thecorresponding buttons on the Mozilla Rich Text Editing demo page will not work. To enablethese functions for purposes of the demo, you must modify your browserpreferences.

1. Quit Mozilla. If you have Quick Launch running(in Windows, an icon in the toolbar), quit that too.
2. Find your Mozilla profile directory. On Windows, this is oftenlocated in c://WINNT/Profiles/<your Windows login>/Application Data/Mozilla.(See also editing configuration filesfor more info on locating your profile folder.)
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");
5. Save the file, and restart Mozilla. The Clipboard buttons should now function.

Average of ratings: -
Re: Where is the user.js file?

Thanks Chardelle, but the problem is that there is no user.js file on my hard disk. The closer I could get was to usercontent-example.css and userChrome-example.css.

Average of ratings: -
Re: Where is the user.js file?

From Chardelle's post:

3. Open the user.js file from that directory in a text editor.If there's no user.js file, create one.

Average of ratings: -
Re: Where is the user.js file?

Thank you Zbigniew. It is working throught the edit menu now. But I still cannot get the ctrl+v command to work...

Average of ratings: -
Re: Where is the user.js file?
And.....  If you look way up in this post, you will see Janne posted a copy of the file.

And...Click on the link in my post above for more information on this.
I'm hoping this will clear everything up finally for everyone (except that we shouldn't have to do this in the first place).

BTW, on the topic of Firefox, has anybody else noticed that typing an apostrophe in the editor is now bringing up the Firefox "Find in this page" popup? Weird stuff.

Average of ratings: -
Re: Where is the user.js file?
If you really want to use crtl-v, then you can first toggle to html in the editor with this <> icon, and then either right click, paste, or ctrl-v. You can also paste directly using the Edit>Paste function in the Firefox toolbar.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
We've dealt with a fair share of difficulty on-campus with the FF cut-n-paste issue, from faculty and students alike.   I've attached a solution that generally works for us -- utility I wrote to seek out the firefox profile and create the user.js file with the necessary settings.  I didn't spend an awful lot of time working on it so I'm certain it will fail under certain conditions but it hasn't failed for us yet so, if it helps anyone, that's great.  Note the following:
1. Unzip to a local path, I don't think this will execute correctly from a network.
2. ffPaths.dat contains your server paths (i.e., http://moodle.luther.edu).  One per line, no spaces.  Needs to be in the same local directory as the executable.
3. Overwrites any user.js info already there (I never ran into anyone who had this file before they tried to edit in Moodle anyway so I didn't think this would be a problem)
4. Appends "http://localhost" to whatever other paths you specify in your ffPaths.dat file.
5. Gives you plenty of opportunities to opt out.
6. Set to work with XP, don't know if it works with anything else cuz (unfortunately) we don't have much of anything else.
Code is just a compiled scripting language but I'm certainly willing to share and advise if someone is dealing with the same persistent problems we were.

p.s. There are three ways to paste into the editor and this doesn't fix them all.  I've seen postings (at least one from MD) indicating the fix for those problems.  This just turns at least two of them on.
Good fortune to all

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Thank you all for the tips. I have now enough information to get through the cut/copy/paste firefox bug.

Best

Christina

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hi Bob,

I downloaded your exe file and would love to have a look at the code you used to create it. I have downloaded AutoIt but I cannot convert the exe file back into a .au3 AutoIt file without a passphrase. Would it be possible for you to post the original .au3 file to this forum.

I am wanting to create an exe file that can be downloaded on its own and run by our students without them having to unzip and then run the file, so I would need to edit the exe and add our moodle url to it.

Thank you

Jessica

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
Best of fortune to you.
Bob Puffer

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Thank you The script works great on our network and I'll be distributing it to students very soon.

Thanks for your help.

Jessica

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste fix

Hi Bob,

Thanks again for your code. Just thought I'd let you know though that after version 0.9 of Firefox the default folder name changes from default.{randomstring} to {randomstring}.default, so in order to get your script to work on both old and new versions of Firefox I changed your default.* code to *default* and it now works on both old and new versions of Firefox.

Hope this helps.

Jessica

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hi, I have created the user.js file in:
c:/Archivos de programa/Mozilla/Firefox/defaults/profile
it is a script (or something like that, sorry) of 1KB (I mean that I have successfully created it), withthe lines I have been said in "setting prefs for the mozilla rich text editing demo".
I have even restarted the computer, but still it doesn't work, and I can't paste text from word. What could I do?. Thank you very much.

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hello there,

I struggled in solution of cut 'n' paste issue.
My conclusion is

1. created user.js under

C:\Documents and Settings\sekimoto\Application Data\Mozilla\Firefox\Profiles\twy4dzmx.sekimoto

2. edited user.js below
----------------------
user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "eldemo.sra-osc.ne.jp");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
----------------------
eldemo.sra-osc.ne.jp is my site.

First, I create user.js in

C:\Documents and Settings\sekimoto\Application Data\Mozilla\Firefox\Profiles\f617y2u3.default

It is wrong. create user.js in Profiles\xxxxxxxx.sekimoto , Perhaps my own folder.

and first time, I discribe user.js so that

user_pref ("capability.policy.allowclipboard.sites",  "http://www.moodle.org");

It is wrong. discribe My site and never discribe "http://"

Environment Variable %AppData% id always

C:\Documents and Settings\sekimoto>echo %AppData%
C:\Documents and Settings\sekimoto\Application Data

Hence, I did nothing for AppData.

PS.
OS version of my PC is Windows 2000 SP4.
Firefox 1.0.6

Thank you.
--
SEKIMOTO Shoichi

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Will this ever be resolved. I will totally loose teachers and students if I tell them to edit scripts and I access my Moodle site from multiple computers and do not really want to edit the script on every machine. I prefer Firefox but since I have to do all my copy -n- pasting in IE I may just have to get in the habit of using IE

Any ideas on a way to enable copy -n- pasting without losing formatting and without editing script. If not does anyone have a "script fix for dummies" that I can use and share with others.

Thanks

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

This thread is quite old. Cutting and pasting works fine here.

Maybe some details about what your problem is might help -- what version of Firefox are you using, what version of Moodle, what OS are you using, etc. What are the symptoms of the problem you're having?

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue
Yeah, is there a moodle bug tracker ticket for this? Just curious...

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Stop Copy & Paste, thats new, but it is really something, we should think about. I mean the problem will come back if they take the combination of the Strg or Ctrl Taste and V Taste, thats the same effect and not only in firefox. I mean i have seen something like that in the internet, a field who told me, please make a insert with your keyboard and do not copy & paste.

Andy

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Hello All,

I know this subject has proven to be a problem, but i would like to (if possible) use this to my advantage.

I want to stop people being able to (copy &) paste information into moodle on quizes specifically. Is there anyway at all to get this done? or is it an editor only thing?
(i realise people can edit the files to get round this, but my course users are mainly not very I.T. orientated)

and

Is there a way to check if people are using a (Mozilla) Firefox browser and not let people take (or logon to the course) the quiz if they are not using Firefox?

Just a shot in the dark really......

Thanks for any responses

Steve

Average of ratings: -
Re: Mozilla, Firefox and cut 'n' paste issue

Here is a link to an add-on from Firefox.  It should allow you to copy & paste.  After I installed it, I logged into Moodle and went to where I was experiencing the script error.  In the bottom left corner of the dialog box where I was typing there was a little message in red telling me that copying and pasting was not available.  When I clicked on the message it allowed me to add my moodle site to a list that would allow copying and pasting.