News for hackers. Stuff that matters.
Re:uBlock, I exfiltrate: exploiting ad blockers with CSS by Sohcahtoa82 on Monday December 06, 2021 @07:34PM (#29467721)
> but in practice it was doomed to fail from the moment a single bracket off made entire sites to stop working.

Maybe the solution was to not publish sites that are a bracket off.

I think half the problems with JavaScript are because of its weak typing. 1 + {} should be a type error.

Re:uBlock, I exfiltrate: exploiting ad blockers with CSS by zerocount on Tuesday December 07, 2021 @01:39AM (#29469640)
No, half the problems with JavaScript are because people refuse to learn it. Just don't write 1+{}. Every time people start bashing JavaScript, it's with these odd-ball examples that they make up.
Re:uBlock, I exfiltrate: exploiting ad blockers with CSS by tadfisher on Tuesday December 07, 2021 @01:50AM (#29469693)
And this is how add_two_numbers becomes embedded in the node_modules of 73,000 projects on GitHub.

It's okay if JS has warts, but denying they exist doesn't help anyone.

Re:uBlock, I exfiltrate: exploiting ad blockers with CSS by Akronymus on Tuesday December 07, 2021 @09:58AM (#29473082)
If JS just had stuck to LISP like syntax it'd be quite a bit more usable IMO.