this post was submitted on 06 May 2024
58 points (100.0% liked)

Privacy

31761 readers
414 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] refalo 1 points 5 months ago* (last edited 5 months ago) (8 children)

Apparently it's (by default) everything that doesn't explicitly specify a license (especially a FOSS one) within the javascript code of the page, which is a ridiculously huge portion of JS on the internet.

What if they did this with HTML too? :p

[–] [email protected] 1 points 5 months ago (6 children)

It doesn't apply to HTML because HTML is fundamentally not code that runs, but rather a markup. It's just like how licensing a book under the GPL would be weird and unnatural, because it represents someone's words. JS is code that runs on your computer, just like any other program

[–] refalo -1 points 5 months ago (5 children)

where is the line drawn though, and who gets to decide?

MANY people say "html code" even if you consider that wrong.

Is a shell script or python "code"? Because it doesn't directly translate to machine code?

See what I'm getting at?

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

There is definitely a grey area, but HTML is pretty far away from it. HTML doesn't "execute" and is very far from Turing completeness. You cannot write programs in it, and that is the key. Pure HTML is very much on the side of "rendering text" and not "running software." Once we start talking about things like LaTex though, the line gets a lot harder to see. Note that whether HTML is "code" is irrelevant. The point is that whether it's "code" or not, it is never a program.

Edit: typo in "grey"

load more comments (4 replies)
load more comments (4 replies)
load more comments (5 replies)