Elektrine lite

← Feed

@econads@mendeddrum.org

Post #2201834

2024-10-21 07:18 UTC

@davidtheeviloverlord@mastodon.social Something you're better off without. Seriously: it's a scripting language used to add functionality to websites. Back in the day we just had HTML, which meant the website couldn't react to users without sending a request off to a server, so if you click a button you have to wait for the server to send you the next page. JavaScript lets the page do loads in the browser without contacting the server. So the instructions of what to do ... @LiamGilmartin@mastodon.ie @paddyduke@mastodon.social

Replies (1)

  • @econads@mendeddrum.org 2024-10-21 07:23

    @davidtheeviloverlord@mastodon.social ..when the button is clicked are all contained as part of the webpage. So instead of waiting for the page to call home to the server and serve the next page, you wait for the under powered browser to decide what to do. There is a lot of unnecessary spying stuff that JavaScript enables too, and it makes it easier for some attacks. It can make pages prettier too, after they've finally loaded. It's more complicated than that, but that's the gist. @LiamGilmartin@mastodon.ie @paddyduke@mastodon.social

    Open ##2201835