Edit and save selection as clean HTML, Markdown or Text file optimized for printing. Hotkey: Command + Shift + S.
This userscript saves the common (root) HTML element, of given selection, and all of its child elements into a printing-optimized and valid (x)XHTML, Markdown or Text file. This program is useful in cases you want a tightly and quick reference without extra resources and media.
This script was written because of the following reasons:
Tested on this page. This is a comparison of common available ways (default behaviour):
Software | Complete | Page | Selection |
---|---|---|---|
Save HTML | - | 14 KiB | 4 KiB |
Wget | - | 24 KiB | - |
Falkon | 350 KiB | 24 KiB | - |
Writer (ODT) | - | 33 KiB | 32 KiB |
SingleFile | 600 KiB | - | 580 KiB |
Save Page WE | 1.3 MiB | - | - |
Tag | Value |
---|---|
url | https://www.corbettreport.com/5thgen/ |
date | Tue May 09 2023 15:29:39 GMT+0200 |
creator | i2p.schimon.paperclip |
user-agent | Mozilla/5.0 (Wayland; Linux postmarketOS) Falkon/23.04.3 |
content-type-sourced | text/html |
charset-sourced | UTF-8 |
viewport-imported | width=device-width,initial-scale=1 |
description-imported | We are in the middle of a world-changing war. . . . |
generator-imported | Publii Open-Source CMS for Static Site |
extracted-media-audio | https://www.corbettreport.com/mp3/episode441_5th_gen.mp3?_=1 |
extracted-media-iframe | https://odysee.com/$/embed/@corbettreport:0/ep441-5thgen:0 |
Fetch and download main content on current page, provide special support for chinese novel.
Enable or disable the ability to edit any text on a given webpage by clicking a button in the top right corner of the screen.
Erase parts of any webpage --annoyances, logos, ads, images, etc., permanently with just, Ctrl + Left-Click.
element.contentEditable = "true"
;<tag></tag>
);