News for hackers. Stuff that matters.
Re:The Great Cannon has been deployed again by thaumasiotes on Friday December 06, 2019 @06:10PM (#21726962)
> It's called hyperlink and doesnt require any code or javascript to run.

Hyperlinks generally don't open themselves. There is an obvious exception -- img tags[1] -- and I think it's worth considering whether they should be allowed to have the behavior they do. As far as I see, img tags load themselves so that, if you're editing HTML by hand, you don't have to deal with binary image data in the middle of what was supposed to be a clean text file. That may not be the right tradeoff.

[1] The img model got extended to other external resource loads, like script and css. But both of those frequently do appear as part of the same HTML that uses them. Image data can, but usually doesn't.

Also, external script loads are such an obvious problem that we got the Content-Security-Policy just to deal with it.

Re:The Great Cannon has been deployed again by sonofhans on Friday December 06, 2019 @06:50PM (#21727289)
HTML was initially intended as, and still largely is, a markup language. An HTML file provides a container and presentation for other types of content. If you saved all those types of content into the same file you'd have many of the problems HTML was specifically designed to avoid, like bloat, vendor lock-in, format incompatibility, and editing difficulty.
Re:The Great Cannon has been deployed again by kerng on Friday December 06, 2019 @07:19PM (#21727483)
Iframes are popular for these things - also, dont require javascript to run.