struct String dom_get_prop(int handle, const &char name)Any property: String(el[name]) (empty for undefined/null), el[name] = value; the numeric forms convert with Number() / assign a number (0/1 works for boolean properties). DOM_DOCUMENT and DOM_WINDOW work too: dom_set_prop(DOM_DOCUMENT, "title", "...").