Chaos Project

Community => News / Suggestions / Feedback => Topic started by: ForeverZer0 on April 30, 2011, 12:43:29 am

Title: "Copy to Clipboard" button for code boxes.
Post by: ForeverZer0 on April 30, 2011, 12:43:29 am
I was curious why we don't have this. It would make copy-pasting scripts out code boxes mush more convenient. I understand its not exactly needed, but I have always thought it would be a nice feature.
Title: Re: "Copy to Clipboard" button for code boxes.
Post by: Blizzard on May 02, 2011, 02:43:12 am
I've had the same idea ages ago, but I always either forgot it or was to lazy at that time. I agree that this would be very useful. I'll see what I can do in the next few days.
Title: Re: "Copy to Clipboard" button for code boxes.
Post by: Holyrapid on May 02, 2011, 01:52:46 pm
Quote from: Blizzard on May 02, 2011, 02:43:12 am
but I always either forgot it or was to lazy at that time.

:facepalm:
Title: Re: "Copy to Clipboard" button for code boxes.
Post by: Blizzard on May 03, 2011, 02:12:09 am
I know. ._.
Title: Re: "Copy to Clipboard" button for code boxes.
Post by: G_G on May 03, 2011, 08:57:34 am
Looks like its going to involve some flash.
http://davidwalsh.name/clipboard
Title: Re: "Copy to Clipboard" button for code boxes.
Post by: Blizzard on May 03, 2011, 09:05:33 am
Nah. This should be doable with some simple JavaScript.
Title: Re: "Copy to Clipboard" button for code boxes.
Post by: PhoenixFire on May 03, 2011, 04:43:44 pm
It will be most useful for the really long scripts.. Not that it won't be useful in general, but realistically speaking, it gets kinda disheartening when you have to click and hold and scroll to copy the really long ones lolz..
Title: Re: "Copy to Clipboard" button for code boxes.
Post by: Holyrapid on May 05, 2011, 02:37:40 pm
Yea, like when you get tons or a generically long script, if the spoiler thing is only a row or two high, it's a pain in the ass to copy...
And, it would be useful in other ways as well i guess?