[Mozile] Paste Bin

Michael Stenitzer jenoe.stenitzer at gmail.com
Thu Sep 14 16:44:36 EDT 2006


hi,

i haven't worked with mozilla extensions for a longer time now, but i
think the extension http://allowclipboard.foxinus.cz/ is what other
online editor use for this problem. but maybe the situation is totally
different in mozile's case.

regards, michael

On 9/14/06, James A. Overton <james at overton.ca> wrote:
> Hi Reto,
>         A textarea paste bin would certainly work. Another possibility is an
> iframe or second window with an HTML document and designMode turned
> on. Then you'd be able to get HTML from the clipboard as well as
> text. You might even be able to use a hidden iframe.
>         (The main problem with pasting only occurs in Mozilla browsers. With
> an HTML document and contentEditable in IE, Safari, and Opera, you
> can use document.execCommand("paste") to get at the clipboard. In
> Mozilla you have to set the whole document to use designMode, and
> then use execCommand(). If your document isn't HTML, you can't use
> designMode. You can also access the clipboard through XPCOM, but that
> requires privileges.)
>         It would be good to have a proper paste system. Are you
> volunteering? :)
>
> James
>
>
>
> _______________________________________________
> Mozile mailing list
> Mozile at mozdev.org
> http://mozdev.org/mailman/listinfo/mozile
>


-- 
-- 
Michael Stenitzer | WIENFLUSS information.design.solutions
www.wienfluss.net | linke wienzeile 178 / 3 / 142 | wien AT
fon ++43 650 wfluss 0 | fax  ++43 1 4854200 31


More information about the Mozile mailing list