As part of the devs farewell message on their site, they have included malicious code to make each visitor sends 2,000 requests to the dbzer0 servers in an attempt to DDOS and take the instance offline.
As part of the devs farewell message on their site, they have included malicious code to make each visitor sends 2,000 requests to the dbzer0 servers in an attempt to DDOS and take the instance offline.
Expert dev. Doesn’t even know the attribute for setting the language in the script tag is
type, notlang. Not to mention that you are encouraged to omit the attribute altogether if the script tag contains JavaScript…Petty, and a bad dev. Big yikes.
To be fair, it’s not as if it supports languages other than fucking Javascript anyway, so it mostly doesn’t matter.
Edit: I don’t want to split hairs about modules or json or whatever; I just want to be salty about how we could’ve had Scheme or Python in the browser.
The
typeattribute is not only to specify the language. It’s like one case out of several. It definitely matters in those contexts where you want to do the other things you can do with thetypeattribute.Actually some sites do. Instagram uses
type=application/jsonto store preloaded data.We could have had VM languages also like C# and Java and had web that was actually fast.
Well the
scripttag has a deprecated attribute calledlanguage, so in older code and media you will see<script language="javascript">a bunch. The weird thing is they instead used thelangattribute which just doesn’t exist.Uh huh. Exactly.
There used to be a
languageattribute, but I don’t think I’ve ever seenlangbefore.The lang attribute exists for other elements, but not on the script tag. 👍