User Tools

Site Tools



HTML mode has been removed from Uzbl in favour of using data URI scheme.


Uzblcat was a small perl script that made handling uzbl's HTML mode easy and safe.

Usage example

uzblcat *.html | uzbl

curl | uzblcat | uzbl

curl | BASE_URL= uzblcat | uzbl

backwards compatibility

You can use the following replacement for with scripts that depended on it.

#!/usr/bin/env python

from sys import stdin, stdout
from base64 import b64encode

stdout.write("uri data:text/html;base64,")

# vim: set noet ff=unix

In some cases you need to specify to read the config from stdin

./uzblcat < file.html | uzbl-core -c -
html-mode.txt · Last modified: 2016/08/31 14:10 (external edit)