34
submitted 11 months ago by mac@programming.dev to c/webdev@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] SkyNTP@lemmy.ca 10 points 11 months ago

I used to be html and css-first, and to some degree I still am, but the advantages of SPA, lazy load, hot reload, and automatic state management and Dom rendering of a JS based framework are just too awesome to forego for the sake of staying native.

I know about HTMX but it's not really JS-less. It just creates the illusion that no JS is written. It still gets implemented in the browser with JS.

[-] I_am_10_squirrels@beehaw.org 1 points 11 months ago

I run Librefox, the less scripts I have to temporarily trust to make a site work the better.

[-] silas@programming.dev 2 points 11 months ago

Do you have to manually approve every single script, even if it’s from the same origin as the site you’re visiting?

[-] neosheo@discuss.tchncs.de 2 points 11 months ago

Idk about librefox but with noscript you manually approve ALL scripts even same origin. However you dont need to do a temporary trust for them all. For sites you trust and frequent you can just trust them so it allows them to run everytime

[-] I_am_10_squirrels@beehaw.org 1 points 11 months ago

It also comes default with the google ajax server always trusted, and the google analytics server untrusted.

I'm trying to shop on Luxe Bidet, and it's trying to load 26 different scripts. Everything that the scripts are doing, should be done in HTML/CSS instead as the article suggests. Going to a different page shouldn't be an onClick event, it should be an HTML link. Loading images shouldn't break with JS disabled, it should be an HTML image element.

I get that JS has it's place, but if I can't even navigate your site without testing 26 different scripts to see which one is breaking the site, I'm going to a different site.

this post was submitted on 02 Dec 2023
34 points (94.7% liked)

Web Development

3430 readers
1 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS