Maybe web devs should more carefully consider how much crap third party scripts and resources inject into their sites, rather than caring about a tiny bit of convenience.
No, the onus is clearly on the developers, who are the ones with the professional responsibility to make software that abides by the laws.
I shouldn’t have to abide by some stupid rules to plug my server onto the Internet and listen on port 80.
I’m not even saying responsible— just they cant reasonably complain when they drive somewhere new and they don’t like the road conditions.
Your original analogy is more like this: If a person's computer got hacked unintentionally, they shouldn’t be responsible for the damage it caused to others.