Advertisement:

copy to clipboard

Aloittaja Fantaz, lokakuu 05, 2007, 10:32:57 AP

« edellinen - seuraava »

Fantaz

anyone have a mod that can copy to clipboard from a code paste?

karlbenson

Its on my mods I want to create list.

However I have yet to find a way to do it that doesnt involve embedding some flash.

This is because
a) browsers copy to clipboards in different ways
b) some browsers like IE by default prevent copy to clipboard
c) some prevent it alltogether (like Firefox).

Fantaz

ie does have a popup asking if you want to allow it, but it does allow it. I use it at hawkee to copy code

karlbenson

yeah by default IE disallows it (for security reasons), but like you say, you can enable it (sometimes it does give a popup).

Other browsers don't do the same though.

I really want to make a mod to do this, but like I said, the only way I've seen people do it is by a hack which embed a flash file.

karlbenson

Fantaz.

After all I said, I eventually made the mod anyway with the 'flash'.
Its currently awaiting approval. http://custom.simplemachines.org/mods/index.php?mod=981

Advertisement: