зеркало из https://github.com/mozilla/gecko-dev.git
32 строки
501 B
HTML
32 строки
501 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
|
|
<script>
|
|
|
|
<![CDATA[
|
|
|
|
|
|
function init()
|
|
{
|
|
var textbox = document.getElementsByTagName("textbox")[0];
|
|
var hbox = SpecialPowers.wrap(document).getAnonymousNodes(textbox)[0];
|
|
var menupopup = SpecialPowers.wrap(document).getAnonymousNodes(hbox)[1];
|
|
|
|
menupopup.click();
|
|
}
|
|
|
|
window.addEventListener("load", init);
|
|
|
|
]]>
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
<textbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/>
|
|
|
|
</body>
|
|
</html>
|