There are several real issues with this code snippet. Combining business and rendering logic, one-letter variables, not canceling requests or timers, lack of single responsibility, readability, ... This is not to be rude or anything. I would never approve this as a senior dev (in a professional environment).
Yes, but since these were staff emails, I was told the impact wasn't as high. However, I'm not sure a lot of third-party contractors and licensors realize this.
I'm not even sure how you would effectively prevent that and have the emails still visible. Shove some non-printing characters in between part of the email? Or empty tags?
51
u/bigorangemachine May 05 '26
wow... so my security team would like a word with you
21
u/Intelligent-Main539 May 05 '26
Are people still using one letter variables in 2026?
5
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” May 06 '26
You're trying to scrape emails from some quiz website? Why?
4
u/findus_l May 06 '26
It's your project why did you sneak? Also what does that do? I can barely read it on my phone. Scrapes some email addresses? For spam purposes?
6
u/OldGuy001 May 05 '26
It would be funny if that corsproxy went down one day. kkkkkkkkkkkkkkkkkkk
5
u/Linuxmartin May 06 '26
Why don't you just
await fetch(...).then(...).catch(...).finally(...)?1
u/MurkyWar2756 echo "Sub Mod" && :(){ :|:& };: May 06 '26
archive.today situation all over again!
1
u/Shoshuooo May 09 '26
White IDE is criminal 🤣
1
u/reklis May 10 '26
Gaaahh. Light mode. Hiss.
-5
u/remy_porter May 05 '26
Stop trying to make fetch happen.