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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Jina AI
Jina AI
Hugging Face - Blog
Hugging Face - Blog
博客园 - 三生石上(FineUI控件)
博客园 - 【当耐特】
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
爱范儿
爱范儿
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
S
SegmentFault 最新的问题
博客园 - Franky
博客园_首页
T
Tailwind CSS Blog
雷峰网
雷峰网
罗磊的独立博客

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.