Tip: Click lines to highlight, hold ctrl/cmd to multi-select
http://codedumper.com/exaba (15-Jun @ 08:51)
Syntax Highlighted Code
- <?xml version="1.0"?>
- <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
- <?xml-stylesheet href="style/style.css" type="text/css"?>
- <window id="main" persist="screenX screenY width height" title="ScrapeBot3000" width="600" orient="horizontal" height="600" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <script type="text/javascript" src="scrapeB.js"/>
- <vbox id="holder" flex="1">
- <toolbox>
- <toolbar id="findfilesToolbar">
- <menubar id="scrapeMenubar">
- <menu id="scrapeFileMenu" label="File">
- <menupopup id="filePopup">
- <menuitem id="scrapeInstall" label="Install Script"/>
- <menuseparator/>
- <menuitem id="programExit" label="Exit"/>
- </menupopup>
- </menu>
- <menu id="scrapeSettingsMenu" label="Settings">
- <menupopup id="edit-popup">
- <menuitem id="scrapePreferences" label="Set Download Folder"/>
- </menupopup>
- </menu>
- <menu id="scrapeHelpMenu" label="Help">
- <menupopup id="help-popup">
- <menuitem label="Help Contents"/>
- <menuitem label="About"/>
- <menuitem label="Donate"/>
- </menupopup>
- </menu>
- </menubar>
- </toolbar>
- </toolbox>
- <menuseparator/>
- <spacer style="height: 20px"/>
- <description id="descr">
- I can haz intarwebs?
- </description>
- <spacer style="height: 20px"/>
- <vbox id="selectContainer">
- <menulist id="selectScript">
- <menupopup id="selectScriptMP">
- <menuitem value="Select A Script To Run" label="Select A Script To Run"/>
- </menupopup>
- </menulist>
- <groupbox id="sInfo">
- <caption label="Script Info:"/>
- <label class="sInfoLabels" value="Filename:"/>
- <description value=""/>
- <label class="sInfoLabels" value="Script Name:"/>
- <description value=""/>
- <label class="sInfoLabels" value="Version:"/>
- <description value=""/>
- <label class="sInfoLabels" value="Description:"/>
- <description value=""/>
- <label class="sInfoLabels" value="Author:"/>
- <description value=""/>
- <label class="sInfoLabels" value="Start Page:"/>
- <description id="stPage" value=""/>
- </groupbox>
- </vbox>
- <vbox id="pBucket">
- <label value="Enter Photobucket URL:"/>
- <textbox id="pbucketU" size="300"/>
- </vbox>
- <spacer style="height: 20px"/>
- <hbox id="rsButtons">
- <button id="runButton" label="Run Script"/>
- <button id="stopButton" label="Stop Script"/>
- </hbox>
- <spacer style="height: 10px"/>
- <hbox>
- <progressmeter id="progress" value="0%"/>
- <image id="progressImage" height="16px" width="16px" src="images/ajax-loader.gif"/>
- <label id="progressLabel" value="Finished"/>
- <spacer flex="1"/>
- </hbox>
- <groupbox flex="1">
- <caption label="current page"/><label id="currentPage" value=""/>
- <browser type="content" src="" flex="1" id="showResponse"/>
- </groupbox>
- </vbox>
- </window>
Plain Code
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="style/style.css" type="text/css"?>
<window id="main" persist="screenX screenY width height" title="ScrapeBot3000" width="600" orient="horizontal" height="600" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="text/javascript" src="scrapeB.js"/>
<vbox id="holder" flex="1">
<toolbox>
<toolbar id="findfilesToolbar">
<menubar id="scrapeMenubar">
<menu id="scrapeFileMenu" label="File">
<menupopup id="filePopup">
<menuitem id="scrapeInstall" label="Install Script"/>
<menuseparator/>
<menuitem id="programExit" label="Exit"/>
</menupopup>
</menu>
<menu id="scrapeSettingsMenu" label="Settings">
<menupopup id="edit-popup">
<menuitem id="scrapePreferences" label="Set Download Folder"/>
</menupopup>
</menu>
<menu id="scrapeHelpMenu" label="Help">
<menupopup id="help-popup">
<menuitem label="Help Contents"/>
<menuitem label="About"/>
<menuitem label="Donate"/>
</menupopup>
</menu>
</menubar>
</toolbar>
</toolbox>
<menuseparator/>
<spacer style="height: 20px"/>
<description id="descr">
I can haz intarwebs?
</description>
<spacer style="height: 20px"/>
<vbox id="selectContainer">
<menulist id="selectScript">
<menupopup id="selectScriptMP">
<menuitem value="Select A Script To Run" label="Select A Script To Run"/>
</menupopup>
</menulist>
<groupbox id="sInfo">
<caption label="Script Info:"/>
<label class="sInfoLabels" value="Filename:"/>
<description value=""/>
<label class="sInfoLabels" value="Script Name:"/>
<description value=""/>
<label class="sInfoLabels" value="Version:"/>
<description value=""/>
<label class="sInfoLabels" value="Description:"/>
<description value=""/>
<label class="sInfoLabels" value="Author:"/>
<description value=""/>
<label class="sInfoLabels" value="Start Page:"/>
<description id="stPage" value=""/>
</groupbox>
</vbox>
<vbox id="pBucket">
<label value="Enter Photobucket URL:"/>
<textbox id="pbucketU" size="300"/>
</vbox>
<spacer style="height: 20px"/>
<hbox id="rsButtons">
<button id="runButton" label="Run Script"/>
<button id="stopButton" label="Stop Script"/>
</hbox>
<spacer style="height: 10px"/>
<hbox>
<progressmeter id="progress" value="0%"/>
<image id="progressImage" height="16px" width="16px" src="images/ajax-loader.gif"/>
<label id="progressLabel" value="Finished"/>
<spacer flex="1"/>
</hbox>
<groupbox flex="1">
<caption label="current page"/><label id="currentPage" value=""/>
<browser type="content" src="" flex="1" id="showResponse"/>
</groupbox>
</vbox>
</window>