Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: Fantaz - lokakuu 05, 2007, 10:32:57 AP

Otsikko: copy to clipboard
Kirjoitti: Fantaz - lokakuu 05, 2007, 10:32:57 AP
anyone have a mod that can copy to clipboard from a code paste?
Otsikko: Re: copy to clipboard
Kirjoitti: karlbenson - lokakuu 05, 2007, 11:15:20 AP
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).
Otsikko: Re: copy to clipboard
Kirjoitti: Fantaz - lokakuu 05, 2007, 09:30:01 IP
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
Otsikko: Re: copy to clipboard
Kirjoitti: karlbenson - lokakuu 06, 2007, 10:08:20 AP
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.
Otsikko: Re: copy to clipboard
Kirjoitti: karlbenson - lokakuu 13, 2007, 11:20:53 IP
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