Tip: Click lines to highlight, hold ctrl/cmd to multi-select

http://codedumper.com/exaba (15-Jun @ 08:51)

yansky

Syntax Highlighted Code

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="style/style.css" type="text/css"?>
  4. <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">
  5. <script type="text/javascript" src="scrapeB.js"/>    
  6.  
  7.     <vbox id="holder" flex="1">
  8.         <toolbox>
  9.             <toolbar id="findfilesToolbar">
  10.                 <menubar id="scrapeMenubar">
  11.                     <menu id="scrapeFileMenu" label="File">
  12.                         <menupopup id="filePopup">
  13.                             <menuitem id="scrapeInstall" label="Install Script"/>
  14.                             <menuseparator/>
  15.                             <menuitem id="programExit" label="Exit"/>
  16.                         </menupopup>
  17.                     </menu>
  18.                     <menu id="scrapeSettingsMenu" label="Settings">
  19.                         <menupopup id="edit-popup">
  20.                             <menuitem id="scrapePreferences" label="Set Download Folder"/>
  21.                         </menupopup>
  22.                     </menu>
  23.                     <menu id="scrapeHelpMenu" label="Help">
  24.                         <menupopup id="help-popup">
  25.                             <menuitem label="Help Contents"/>
  26.                             <menuitem label="About"/>
  27.                             <menuitem label="Donate"/>
  28.                         </menupopup>
  29.                     </menu>                    
  30.                 </menubar>
  31.             </toolbar>
  32.         </toolbox>
  33.         <menuseparator/>
  34.         <spacer style="height: 20px"/>
  35.        
  36.         <description id="descr">
  37.             I can haz intarwebs?
  38.         </description>
  39.  
  40.         <spacer style="height: 20px"/>
  41.  
  42.        
  43.         <vbox id="selectContainer">
  44.            
  45.                 <menulist id="selectScript">
  46.                     <menupopup id="selectScriptMP">
  47.                         <menuitem value="Select A Script To Run" label="Select A Script To Run"/>
  48.                     </menupopup>
  49.                 </menulist>
  50.            
  51.            
  52.                 <groupbox id="sInfo">
  53.                     <caption label="Script Info:"/>
  54.                     <label class="sInfoLabels" value="Filename:"/>
  55.                     <description value=""/>
  56.                     <label class="sInfoLabels" value="Script Name:"/>
  57.                     <description value=""/>
  58.                     <label class="sInfoLabels" value="Version:"/>
  59.                     <description value=""/>
  60.                     <label class="sInfoLabels" value="Description:"/>
  61.                     <description value=""/>
  62.                     <label class="sInfoLabels" value="Author:"/>
  63.                     <description value=""/>    
  64.                     <label class="sInfoLabels" value="Start Page:"/>
  65.                     <description id="stPage" value=""/>                        
  66.                 </groupbox>
  67.            
  68.         </vbox>
  69.        
  70.         <vbox id="pBucket">
  71.             <label value="Enter Photobucket URL:"/>
  72.             <textbox id="pbucketU" size="300"/>
  73.         </vbox>
  74.        
  75.         <spacer style="height: 20px"/>
  76.        
  77.         <hbox id="rsButtons">    
  78.             <button id="runButton" label="Run Script"/>
  79.             <button id="stopButton" label="Stop Script"/>
  80.         </hbox>
  81.         <spacer style="height: 10px"/>
  82.         <hbox>
  83.             <progressmeter id="progress" value="0%"/>
  84.             <image id="progressImage" height="16px" width="16px" src="images/ajax-loader.gif"/>
  85.             <label id="progressLabel" value="Finished"/>
  86.             <spacer flex="1"/>
  87.         </hbox>  
  88.  
  89.         <groupbox flex="1">
  90.           <caption label="current page"/><label id="currentPage" value=""/>
  91.           <browser type="content" src="" flex="1" id="showResponse"/>
  92.         </groupbox>
  93.     </vbox>
  94.  
  95.  
  96.    
  97. </window>
  98.  

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>

Permalink: http://codedumper.com/exaba