Graham Christensen @grahamc.com · Dec 16

Web friends, can you help me make Firefox do what I want? In Chrome, this text copies and pastes as "helloworld!" which I like. Any tips on getting Firefox to do the same thing? Right now Firefox pastes as: hello world! Codepen: codepen.io/gchristensen...

0 likes 2 replies

?

Replies

citriqa (extra tart edition) · Dec 17

my intuition is that the easiest way should be to create two parts that get separated by the layout algorithm due to insufficient horizontal space, be it as blocks or using zero width spaces.

0x04 · Dec 25

My totally overengineered solution 😅 (JS required): codepen.io/0x04/pen/ZYz.... The thing in Firefox is, the use of `user-select: none` creates a new selection range. Gecko browsers allow multiple selections, e.g. for table cells. It's wonderful how broken the clipboard API still is 👍