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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
|
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://httpsfinder/content/about.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://httpsfinder/locale/Overlay.dtd">
<prefwindow
id="prefWindow"
title="&httpsfinder.preference.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
buttons="accept,cancel">
<script type="application/x-javascript" src="chrome://httpsfinder/content/Preferences.js"/>
<stringbundleset id="stringbundleset">
<stringbundle id="httpsfinderStrings"
src="chrome://httpsfinder/locale/Overlay.properties" />
</stringbundleset>
<prefpane label="&httpsfinder.preference.title;"
onpaneload="httpsfinder.Preferences.loadWindowObjects()">
<preferences>
<preference id="httpsfinder-enable" name="extensions.httpsfinder.enable" type="bool"/>
<preference id="httpsfinder-noruleprompt" name="extensions.httpsfinder.noruleprompt" type="bool"/>
<preference id="httpsfinder-autoforward" name="extensions.httpsfinder.autoforward" type="bool"/>
<preference id="httpsfinder-headfirst" name="extensions.httpsfinder.headfirst" type="bool"/>
<preference id="httpsfinder-showrulepreview" name="extensions.httpsfinder.showrulepreview" type="bool"/>
<preference id="httpsfinder-autoDismiss" name="extensions.httpsfinder.dismissAlerts" type="bool"/>
<preference id="httpsfinder-dismissTime" name="extensions.httpsfinder.alertDismissTime" type="int"/>
<preference id="httpsfinder-HTTPSFoundAlerts" name="extensions.httpsfinder.httpsfoundalert" type="bool"/>
<preference id="httpsfinder-secureCookies" name="extensions.httpsfinder.attemptSecureCookies" type="bool"/>
<preference id="httpsfinder-secureWildcardCookies" name="extensions.httpsfinder.secureWildcardCookies" type="bool"/>
</preferences>
<tabbox id="httpsfindertabs" selectedIndex="0">
<tabs>
<tab label="&httpsfinder.preference.generalTab;"/>
<tab label="&httpsfinder.preference.advancedTab;"/>
<tab label="&httpsfinder.preference.aboutTab;"/>
</tabs>
<tabpanels>
<!--_______________________________ Main panel ______________________________________ -->
<tabpanel>
<column>
<grid>
<rows>
<row>
<checkbox id="enable" preference="httpsfinder-enable" onclick="httpsfinder.Preferences.EnableChecked(document)"/>
<label control="enable" value="&httpsfinder.preference.enable;" />
</row>
<row>
<checkbox id="noruleprompt" preference="httpsfinder-noruleprompt"/>
<label id="promptLabel" control="noruleprompt" value="&httpsfinder.preference.noRulePrompt;"/>
</row>
<tooltip id="silentModeTip" orient="vertical" style="background-color: #33DD00;">
<label value="&httpsfinder.preference.noHTTPSAlertTooltip;"/>
</tooltip>
<row>
<checkbox id="httpsfoundprompt" preference="httpsfinder-HTTPSFoundAlerts" onclick="" tooltip="silentModeTip"/>
<label tooltip="silentModeTip" id="httpsfoundpromptLbl" control="httpsfoundprompt"
value="&httpsfinder.preference.noHTTPSAlertTitle;" />
</row>
<row>
<checkbox id="autoforward" preference="httpsfinder-autoforward" onclick="httpsfinder.Preferences.autoForwardToggle(document)"/>
<label id="autoforwardLabel" control="autoforward" value="&httpsfinder.preference.autoForward;"/>
</row>
<separator class="thin"/>
</rows>
</grid>
<groupbox minwidth="465">
<caption label="&httpsfinder.preference.whitelistLabel;"/>
<row>
<textbox id="whitelistURL" emptytext="&httpsfinder.preference.whitelistAddTextbox;" size="49" />
<button id="whitelistURLLabel" label="&httpsfinder.preference.whitelistAddButton;" oncommand="httpsfinder.Preferences.AddToWhitelist(document)"/>
</row>
<row>
<listbox seltype="multiple" flex="2" id="whitelist" onselect="httpsfinder.Preferences.WhitelistSelect(document)">
<listhead>
<listheader label="&httpsfinder.preference.whitelistUrlColumn;" width="240"/>
</listhead>
</listbox>
</row>
<row>
<button id="modifyRule" label="&httpsfinder.preference.whitelistModify;" oncommand="httpsfinder.Preferences.ModifyWhitelistRule(document)" disabled="true"/>
<button id="removeRule" label="&httpsfinder.preference.whitelistRemove;" oncommand="httpsfinder.Preferences.RemoveWhitelistRule(document)" disabled="true"/>
</row>
</groupbox>
<separator class="thin"/>
<vbox>
<label value="&httpsfinder.preference.ruleTip;" control="ruleTip"/>
</vbox>
<vbox>
<label value="&httpsfinder.preference.savedRulesTip;" control="savedRulesTip"/>
</vbox>
<vbox>
<row>
<label value="&httpsfinder.preference.learnMoreTip;" control="learnMoreTip"/>
<label id="projectlink"
value="&httpsfinder.preference.learnLinkName;"
style="color: blue; text-decoration:underline;"
onmouseover="event.target.style.cursor='pointer'"
onmouseout="event.target.style.cursor='default'"
onclick="httpsfinder.Preferences.openWebsiteInTab('https://code.google.com/p/https-finder/');"/>
</row>
</vbox>
</column>
</tabpanel>
<!--_______________________________ Advanced panel ______________________________________ -->
<tabpanel>
<column>
<grid>
<rows>
<row>
<checkbox id="headfirst" preference="httpsfinder-headfirst"/>
<label control="headfirst" value="&httpsfinder.preference.headFirst;"/>
</row>
<row>
<checkbox id="securecookies" preference="httpsfinder-secureCookies" onclick="httpsfinder.Preferences.secureCookieCheck()"/>
<label id="securecookies" control="securecookies" value="&httpsfinder.preference.secureCookies;"/>
</row>
<row>
<checkbox disabled="true" id="securewildcardcookies" preference="httpsfinder-secureWildcardCookies"/>
<label disabled="true" id="securewildcardcookiesLabel" control="securewildcardcookiesLabel" value="&httpsfinder.preference.secureWildcardCookies;"/>
</row>
<vbox>
<row>
<checkbox id="autoDismiss" preference="httpsfinder-autoDismiss"/>
<label control="ADText" value="&httpsfinder.preference.autoDismissTitle;"/>
<textbox id="dismissTime" type="number" min="0" max="60" preference="httpsfinder-dismissTime"
size="2" maxlength="2" tooltiptext="&httpsfinder.preference.autoDismissToolTip;" style="width: 50px;"/>
</row>
</vbox>
</rows>
</grid>
<separator class="thin"/>
<hbox>
<groupbox flex="1" minwidth="465">
<caption label="&httpsfinder.preference.listHeaderTitle;"/>
<row>
<listbox seltype="single" flex="2" id="cacheList"
onselect="httpsfinder.Preferences.ResultSelect(document)">
<listhead>
<listheader label="&httpsfinder.preference.whitelistUrlColumn;" width="210"/>
<listheader label="&httpsfinder.preference.listHeaderHTTPS;" style="padding: 4"/>
<listheader label="Cookies Secured" style="padding: 4"/>
</listhead>
</listbox>
</row>
<row>
<button id="writeRule" label="&httpsfinder.preference.createRule;" oncommand="httpsfinder.Preferences.writeRule();" disabled="true"/>
<button id="removeFromCache" label="&httpsfinder.preference.whitelistRemove;" oncommand="httpsfinder.Preferences.removeCacheItem()" disabled="true"/>
<button id="restoreCookies" label="Restore insecure cookies" oncommand="httpsfinder.Preferences.resetCookies();" disabled="true"/>
</row>
<row>
<button id="viewReport" label="&httpsfinder.preference.sslReport;" oncommand="httpsfinder.Preferences.sslReport();" disabled="true"/>
<button id="resetCache" label="&httpsfinder.preference.clearResults;" oncommand="httpsfinder.Preferences.resetWhitelist();"/>
</row>
</groupbox>
</hbox>
</column>
</tabpanel>
<!--_______________________________ About panel ______________________________________ -->
<tabpanel>
<column>
<vbox id="httpsfinderPrefsAbout">
<hbox id="httpsfinder-about-details">
<description class="name">&httpsfinder.title;</description>
<description class="name">&httpsfinder.version;</description>
<image id="logo" src='chrome://httpsfinder/skin/iconLarge.png'/>
</hbox>
<description value="&httpsfinder.buildDateTitle;" class="title"/>
<description>&httpsfinder.buildDate;</description>
<description value="&httpsfinder.authorTitle;" class="title"/>
<description>Kevin Jacobs</description>
<description onclick="httpsfinder.Preferences.openWebsiteInTab('http://kevinajacobs.com/');" class="url">&httpsfinder.mySite;</description>
<description value="&httpsfinder.preference.supportTitle;" class="title"/>
<description onclick="location.href='mailto:&httpsfinder.preference.supportEmail;'" class="url">&httpsfinder.preference.supportEmail;</description>
</vbox>
<separator class="thin"/>
<separator class="thin"/>
<separator class="thin"/>
<separator class="groove" width = "&httpsfinder.prefSize.detectDescWidth;"/>
<separator class="thin"/>
<row>
<groupbox width = "&httpsfinder.prefSize.detectDescWidth;">
<caption label="&httpsfinder.preference.translations;"/>
<row>
<label value="&httpsfinder.translation.german;"/>
</row>
<row>
<label value="&httpsfinder.translation.dutch;"/>
</row>
<row>
<label value="&httpsfinder.translation.polish;"/>
</row>
<row>
<label value="&httpsfinder.translation.swedish;"/>
</row>
<row>
<label value="&httpsfinder.translation.spanish;"/>
</row>
<row>
<label value="&httpsfinder.translation.portuguese;"/>
</row>
<row>
<label value="&httpsfinder.translation.finnish;"/>
</row>
<row>
<label value="&httpsfinder.translation.chinese;"/>
</row>
<row>
<label value="&httpsfinder.translation.taiwan;"/>
</row>
</groupbox>
</row>
<separator class="thin"/>
<separator class="thin"/>
</column>
</tabpanel>
</tabpanels>
</tabbox>
</prefpane>
</prefwindow>
|