No.22289
install noscript
No.22301
Isn't NoScript shady? Install uMatrix instead.
No.22302
>>22301noscript comes by default on tor… but yes, umatrix does what noscript does even better
No.22305
It's weird I can't see who replied to a post or easily mention a post on here with JavaScript disabled
>>22301If you have uBlock Origin:
https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-scripting No.22306
the EU won't even force websites to not use tracking cookies, only informing users that they do and giving them "choice" (despite this choice already existing in all browsers)
No.22315
we should be making sites that use isomorphic rendering and rehydration to deliver websites that work with or without javascript and provide non-js fallback actions when applicable, that would be super cool and is totally doable – projects like nextjs even make it relatively easy. this is great for both privacy and backwards compatibility.
we should also be phasing out js and replacing it with wasm, and asm.js can provide a fallback when wasm isn't available.
none of this means we shouldn't have made javascript. despite being a rightoid who hates gay marriage, brendan eich gave us a very useful tool. a lot of the design decisions were *terrible* given the cathedrals that have been built on such shoddy foundations, but they were useful to get people not used to programming to be able to read and write code. all of this stupid implicit type casting can create nightmarish bugs in a large codebase if you fuck up somewhere and forget to expkicitly cast types yourself to get the behavior you expect, but for an ignorant teenager trying to hack code together it often does something useful. like, 1 *shouldn't* equal true, and i'm glad the strict equality operator doesn't implicitly cast it to bool like the old equality operator does, but i also get that an idiot checkjng whether or not a number is true usually wants to know if it is above 0 or not. the logic for adding empty objects is more ridiculous, but i still conceotually get that he was trying hard to avoid error states, and why.
while js does have less number types than a lot of languages, the wonkiness around number exactness is something that extends to number types in many languages (it's a float64). i appreciate that it looks weird to non- or new-programmers, but citing it as a quirk of javascript seems like a failure to appreciate how hard numbers are to manage at the level of hardware and how quickly everything would become unusable if we insisted on perfect precision.
No.22319
>>22315>we should also be phasing out js and replacing it with wasmgo to GNU/lag
No.22341
>>22315t. web-scale node code artisan with a mac
No.22343
Remember when javascript only existed to make websites prettier?
No.22349
>>22343No, and my first browser was text based. JS has always been about adding functionality.
No.22350
>>22343I think you mean CSS
No.22351
Not to defend js-fuckery but Math.max() and Math.min() make sense if you think of them as taking the sup/inf of the empty set