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

推荐订阅源

Y
Y Combinator Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
F
Full Disclosure
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threat Research - Cisco Blogs
A
Arctic Wolf
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Cloudflare Blog
博客园 - 【当耐特】
AWS News Blog
AWS News Blog
U
Unit 42
V
Vulnerabilities – Threatpost
P
Privacy International News Feed
T
Tor Project blog
Microsoft Security Blog
Microsoft Security Blog
宝玉的分享
宝玉的分享
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Recorded Future
Recorded Future
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
Latest news
Latest news
GbyAI
GbyAI
S
SegmentFault 最新的问题
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
Hacker News: Ask HN
Hacker News: Ask HN
美团技术团队
N
News | PayPal Newsroom
J
Java Code Geeks
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
The Hacker News
The Hacker News
The GitHub Blog
The GitHub Blog
V
V2EX
N
News and Events Feed by Topic
T
Troy Hunt's Blog
Security Latest
Security Latest
博客园 - 叶小钗
P
Palo Alto Networks 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.