-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathjsenv.xul
More file actions
44 lines (36 loc) · 1.54 KB
/
Copy pathjsenv.xul
File metadata and controls
44 lines (36 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xul-overlay href="chrome://extensiondev/content/commonOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://extensiondev/locale/extensiondev.dtd">
<window id="jsenvironment"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
contenttitlesetting="true"
title="&jsenv.title;"
onload="onLoad()"
width="&default.window.width;"
height="&default.window.height;"
persist="width height screenX screenY">
<keyset id="extdevCommonKeyset"/>
<script type="application/x-javascript" src="chrome://extensiondev/content/jsenv.js"/>
<script type="application/x-javascript" src="loadsaveutils.js"/>
<browser id="content" flex="1" type="content-primary" src="&jsenv.html.url;"/>
<hbox align="baseline">
<label value="Set scope to:"/>
<menulist id="scopelist" flex="2" sizetopopup="always">
<menupopup datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot">
<menuitem id="noscope" label="(none)"/>
<template>
<rule>
<menuitem uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
</template>
</menupopup>
</menulist>
<button id="setscope" label="Set" oncommand="doSetScope()" flex="1"/>
</hbox>
<hbox align="baseline">
<button label="Load File..." oncommand="load()"/>
<button label="Save As..." oncommand="save()"/>
</hbox>
</window>