Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2010-07-27 05:07:37

timecott01
New member
Registered: 2010-07-19
Posts: 8

Enabling cut/copy/paste etc. in Xinha on browsers other than IE

Hello:
I am trying to find a way of enabling the cut/copy/paste (etc) functions of Xinha:

...... (Xinha.is_gecko ? [] : ["cut","copy","paste","overwrite","saveas"]),

This works fine and shows the buttons in the Xinha toolbar when using IE.

However, it does not work in other browsers.
I think this may be because other browsers do not natively access the clipboard - possibly?
There is a clipboard helper in FF which (sort of) works, but installing this does not make the buttons appear in the Xinha toolbar.

Is there a cross-browser way of getting this functionality to work??

or

are there specific browser mods which will get this functionality and toolbar icons to work???

any info welcome.

thank you.

Offline

#2 2010-07-27 08:16:23

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Enabling cut/copy/paste etc. in Xinha on browsers other than IE

Correct, Firefox (and others?) does not permit Javascript to access the clipboard for security reasons.  This security restriction can be disabled by editing the firefox config from memory, but because it's not a very good thing to do, Xinha does not promote (or support) this.

You can simply replace the [] with  ["cut","copy","paste","overwrite","saveas"] in the above to have the buttons appear, but if it will work for you or not depends on the browser.

I don't recommend having these buttons at all.


James Sleeman

Offline

Board footer

Powered by FluxBB