Skip to content
Sign upLog in
← Back to Community

Copy Text?

Profile icon
QuickV

Anyone

know how to make a copy joke button that would work for my ChuckNorris repl?

I can provide more detail if needed, but it's a simple question lol. I was originally going to ask ch1ck3n or Bookie0 but they're probably busy.
Voters
Profile icon
QuickV
Comments
hotnewtop
Profile icon
ruiwenge2

like this:

navigator.clipboard.writeText("text")
Profile icon
QuickV

thanks! I won't bother to test it tho (sry xd), because ch1ck3n helped already xD

@ruiwenge2

Profile icon
ruiwenge2

ok

@QuickV

Profile icon
QuickV

kk

@ruiwenge2

Profile icon
ch1ck3n

all done

Profile icon
QuickV

woah pog yay :D....

I'll try to add a "Copied :D" thingy after you press the button in a while :)

@ch1ck3n

Profile icon
ch1ck3n

wtf is a copy joke

Profile icon
QuickV

like copying the joke text.... Like let's say the joke is "Chuck Norris can wheelie a unicycle.".... If you press the "Copy Joke" button, it would copy "Chuck Norris can wheelie a unicycle.".

@ch1ck3n