ちょっと
気絶してXULで遊んでみる。
いや、ここまで堂々と書かれるとちょっと凹むのであって…
Note: this document is out of date. According to Benjamin Smedberg: "build XULRunner and use that for all new embedding. You do not need/should not use embedding/config".
(Roll your own browser - An embedding HowToより)
で、できたのがこれ。
ソースはこれだけ。
<?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window id="main" title="meimei" width="640" height="400" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <textbox id="urlbox" left="0" top="0" width="600" height="20" type="autocomplete" autocompletesearch="history" /> <browser id="browserwin" left="0" top="20" width="600" height= "380" src="http://www.google.co.jp" /> </window>
…改めてその楽さに驚愕。
とりあえず、今ののみな相当のものを作ってベンチしてみるかなぁ