TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Manipulate the DOM before any resources have loaded using Capturing

61 pointsby shawnjan8about 12 years ago

4 comments

pornelabout 12 years ago
Sadly it's not a native API, but a clever hack that effectively comments-out source of the page with a legacy `&#60;plaintext&#62;` element (proving that old cruft is <i>really</i> hard to kill in HTML :)
评论 #5442738 未加载
评论 #5444576 未加载
cbrabout 12 years ago
Adding a blocking javascript resource that disables speculative resources loading is going to speed up pageloads?
评论 #5443094 未加载
评论 #5444601 未加载
daleharveyabout 12 years ago
I didnt know this was a thing, wouldnt this be a really nice place to be doing l10n?
stopcyringabout 12 years ago
or you know, you can use some inline scripts, brand new lib coming out next week i guess.