惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
腾讯CDC
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
L
LangChain Blog
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
P
Proofpoint News Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
IT之家
IT之家
A
About on SuperTechFans
H
Help Net Security

jb's posts

One year on Nekoweb AI is overpowered now and it's really worrying Redirecting... Does having webrings slow down your site? Things the Indie Web should consider [UPDATE: PATCHED] XSS on Status Cafe: What you need to know jbsite4 is overcomplicated and I love it [RANT] Browser inconsistencies, yes it still exists. Web responsiveness: why you should follow it on your site jb's 17th birthday jbsite4, preparing for takeoff. Nekoweb 1-month Review AIAIAIAIAIAIAIAIAIAI Burnout Making this website Making a website doesn't need to cost you money The Great Nekoweb Elections My love/hate relationship on Bluetooth JB's site, now hosted on Nekoweb! My First Blog Y2DL Devlog - May 2024
(RANT) I despise annoying scripts
2025-02-28 · via jb's posts

#rant #javascript #indie-web #web

Update 03/01/2025 @ 9:27 AM PHT

Found another site that has good leaky homepage script implementation. Thanks Xan! Also toned down some text.

Update 9:30 PM PHT

Changed the title to a more toned down one. Link stayed the same so already made links won't break.

⚠️ This post contains swearing. Proceed with caution.

Preamble of the rant

So, the indie web space contains some wonderful work of art but it sometimes get crushed by annoying things, from suddenly autoplaying music, to using scripts to make their website unusable.

I had a bounce transition on my site when you switch between pages, but decided to remove it because it’s annoying AF.

I will just cover annoying JavaScript resources people uses here, so I would recommend seeing moosyu’s blog about indie web peeves for other annoying stuff on the indie web space.

Putting annoying scripts on your site just breaks user engagement. Yes, it is quirky but for the end user visiting your site, this is just plain annoying.

Let’s pull one script that I absolutely hate.

melonking’s leaky homepage script

Leaky homepage script in action (note: simulated using inspect element)

This is melonking’s leaky homepage script. It fills the webpage with water, and it’s multiplayer, and I ABSOLUTELY DESPISE IT.

If I needed something, and this fucking flood just pierces my eyes, I would just leave.

If you need to see or click something on the site, and this flood is there blocking it, nuh uh, you won’t see it or the click won’t be registered on to the target element, instead you will see this fucking water just blocking the contents of the site.

And if you tried clearing it out, it plays a loud ass water sound effect EVERY TIME you clicked the fucking thing.

Great implementations

I have seen 2 great implementations (as of 03/01/2025 PHT), and that are:

If you are just blocking the content with the fucking flood, please fucking stop.

So I just did what I’m gonna do

and just blocked the scripts using ublock’s custom filter lists.

ublock blocking melonking.net

You can too by putting this:

||{domain of the annoying script}^$script,3p

That won’t disable scripts when you’re on that domain tho because I want it to not break other scripts.

This is actually possible because most of these scripts are ran client-side.

And that’s my TED talk.

Thanks for reading.