Commit Bandit code to XPI.
This commit is contained in:
50
BrowserExtensions/common/casajar/content/debug.xul
Normal file
50
BrowserExtensions/common/casajar/content/debug.xul
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<window class="dialog"
|
||||
title="Debug"
|
||||
id="debugwindow"
|
||||
orient="vertical"
|
||||
autostretch="always"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
|
||||
|
||||
<script language="JavaScript" type="text/javascript" src="encode.js"></script>
|
||||
<script language="JavaScript" type="text/javascript" src="casaOverlay.js"></script>
|
||||
|
||||
<script>
|
||||
var button = document.getElementById("ok");
|
||||
button.addEventListener('command', closeWin, true);
|
||||
|
||||
button = document.getElementById("notnow");
|
||||
button.addEventListener('command', cancelWin, true);
|
||||
</script>
|
||||
|
||||
<!-- <radiogroup onclick="alert('test');">-->
|
||||
|
||||
<vbox color="red">
|
||||
<image src="chrome://casa/skin/casa-logo2.png"/>
|
||||
<separator class="thin"/>
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
</hbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
</vbox>
|
||||
|
||||
<hbox>
|
||||
<spacer flex="1"/>
|
||||
<button id="selectall" label="dumpRealms" onclick="dumpRealms()"/>
|
||||
<button id="selectall" label="Read test Secret" onclick="readTestKey()"/>
|
||||
<button id="selectall" label="Write test Secret" onclick="writeTestKey()"/>
|
||||
<button id="selectall" label="Show Java Info" onclick="displayJavaInfo()"/>
|
||||
<button id="selectall" label="Open Java Console" onclick="showConsole()"/>
|
||||
<button id="selectall" label="Show user.dir" onclick="displayUserDir()"/>
|
||||
<button id="notnow" label="Show user.home" onclick="displayUserHome()"/>
|
||||
<button id="notnow" label="Show Bandit User" onclick="getBanditUsername()"/>
|
||||
<button id="notnow" label="Show Bandit Password" onclick="getBanditPassword()"/>
|
||||
</hbox>
|
||||
|
||||
<spacer flex="1"/>
|
||||
|
||||
</window>
|
||||
Reference in New Issue
Block a user