Skip to content

Instantly share code, notes, and snippets.

Opera Mini OBML file format

© 2016 Mantas Mikulėnas grawity@gmail.com

This documentation is released under CC BY 4.0.


OBML (Opera Binary Markup Language) files are self-contained, rendered versions of HTML documents generated by the Presto v2 engine. They are static, containing pixel-positioned regions adapted for a specific device's screen size & font metrics. (Thus OBML documents generated for one device tend to look slightly 'off' everywhere else, and a perfect rendering is impossible without knowing the original device.)

@andrii-riabchun
andrii-riabchun / poshttp.ps1
Created September 25, 2016 12:52
Powershell static http server
#Requires -RunAsAdministrator
# Simple static http server.
Param(
[int]$port = 8080,
[string]$root = (Get-Location)
)
function Serve {
$listener = [System.Net.HttpListener]::new()
$listener.Prefixes.Add("http://+:$port/")