Re:GNU LibreJS
by madeofpalk on Friday April 29, 2016 @05:27PM
(#11598881)
Eh. HTML and CSS is the easy part - you can't really obfuscated, only minify it to remove whitespace, which is easily reversible. All great browser dev tools have built in ways to unminify web assets. And it's even easier for HTML and CSS as they're easily viewable in parsed form (DOM).
[ Parent
| on HN ]
My point is that HTML and CSS rarely is "source code" these days, (i.e. "the preferred form for modification") but the output of a tool. Back when we were using assemblers instead of compilers, assembly was considered source code, but now it's an opaque object. It is most HTML and CSS these days: opaque objects. If nothing else, the identifiers and CSS selectors can be easily obfuscated.
Re:GNU LibreJS
by ashitlerferad on Saturday April 30, 2016 @05:18AM
(#11601033)
CSS is often compiled from other languages like SASS.
HTML is often built from complicated templates.