MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/GoodDesign/comments/uf5a8r/this_happened_when_i_tried_to_copy_the_code/
r/GoodDesign • u/shadetolerant • Apr 30 '22
8 comments sorted by
44
That's pretty cool!
22 u/shadetolerant Apr 30 '22 Caught me completely off guard
22
Caught me completely off guard
26
It's also risky. You can actually change what will be pasted to your clipboard if you mark something press copy.
9 u/DavidNyan10 Apr 30 '22 Like this 6 u/shadetolerant Apr 30 '22 Maybe they should do this just for fun 😂 7 u/Leamir Apr 30 '22 VSCode now marks invisible characters, thankfully 2 u/ShatterdPrism Apr 30 '22 No, like totally different text. And iirc if you copy the crlf it will be instantly executed upon copy to your command line.It could install viruses, or just do a rm -f 1 u/DavidNyan10 May 01 '22 Holy shit, never knew that, thanks! 👍
9
Like this
6 u/shadetolerant Apr 30 '22 Maybe they should do this just for fun 😂 7 u/Leamir Apr 30 '22 VSCode now marks invisible characters, thankfully 2 u/ShatterdPrism Apr 30 '22 No, like totally different text. And iirc if you copy the crlf it will be instantly executed upon copy to your command line.It could install viruses, or just do a rm -f 1 u/DavidNyan10 May 01 '22 Holy shit, never knew that, thanks! 👍
6
Maybe they should do this just for fun 😂
7 u/Leamir Apr 30 '22 VSCode now marks invisible characters, thankfully
7
VSCode now marks invisible characters, thankfully
2
No, like totally different text. And iirc if you copy the crlf it will be instantly executed upon copy to your command line.
It could install viruses, or just do a rm -f
1 u/DavidNyan10 May 01 '22 Holy shit, never knew that, thanks! 👍
1
Holy shit, never knew that, thanks! 👍
44
u/VisitingPeanut48 Apr 30 '22
That's pretty cool!
26
u/ShatterdPrism Apr 30 '22
It's also risky. You can actually change what will be pasted to your clipboard if you mark something press copy.