Mastodon Icon RSS Icon GitHub Icon LinkedIn Icon RSS Icon

Tag HTML

Remove custom tags from SingleFile output

Or, how I cut 2 Mb of Readwise scripts from each archived pages.

A man cleaning a large, empty, dirty, library.

I often use SingleFile to archive the page I like. One day, I’ve found out that Readwise was injecting 2Mb of JavaScript in each page. That is a lot of wasted space. Luckily, there is a (not simple) way to filter out custom tags from archived pages.