Make any url as website
The uweb internal link "i:0m" make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks:
- "i:0m04:[url]": to treat the [url] content as html with bookmarklet.
- "i:0m?:[url]": to treat the [url] content as html, handling css/js properly.
- "i:0m?[postfix]:[url]": auto append query postfix to url to retrieve content.
- "i:0mi:5h:[url]": similar to "i:0m?:[url]", to treat the [url] content as html (for download or no-script links etc.)
- "i:0mi:5h?[postfix]::[url]": similar to "i:0m?[postfix]:[url]". auto append query postfix to url to retrieve content.
- "i:0mi:5h/[regex]/[replacement]::[url]": use the result of regular expression replacement to retrieve the content.
For more complicated links such as cloud storage shared links, which need user gestures to reach temporary generated content link, use
"i:0m/.../[local.html]:[url]", where the local file "/.../[local.html]" processes "[url]" as needed.