[Pkg-mozext-commits] [nosquint] 38/47: Remove unused files that accidentally slipped in from the dev branch

David Prévot taffit at moszumanska.debian.org
Tue Apr 28 01:41:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 2.1.6
in repository nosquint.

commit ccbd76eff10c3c9499e637528d62cf94c17b06aa
Author: Jason Tackaberry <tack at urandom.ca>
Date:   Wed Jan 25 20:22:07 2012 -0500

    Remove unused files that accidentally slipped in from the dev branch
---
 src/content/globalprefs.js              | 275 --------------------------------
 src/content/globalprefs.xul             | 214 -------------------------
 src/content/help.js                     |   9 --
 src/content/icon-32.png                 | Bin 2418 -> 0 bytes
 src/content/prefs.css                   |  35 ----
 src/content/prefs.xul                   | 139 ----------------
 src/content/siteprefs.js                | 174 --------------------
 src/content/siteprefs.xul               | 119 --------------
 src/content/testinit.js                 |  26 ---
 src/content/utils.js                    |  83 ----------
 src/locale/en-US/globalprefs.dtd        |  53 ------
 src/locale/en-US/globalprefs.properties |   3 -
 src/locale/en-US/help.dtd               |   2 -
 src/locale/en-US/prefs.dtd              |  34 ----
 src/locale/en-US/prefs.properties       |   3 -
 src/locale/en-US/siteprefs.dtd          |   8 -
 src/locale/en-US/siteprefs.properties   |   1 -
 src/skin/logo-32.png                    | Bin 2418 -> 0 bytes
 18 files changed, 1178 deletions(-)

diff --git a/src/content/globalprefs.js b/src/content/globalprefs.js
deleted file mode 100644
index c0d5edf..0000000
--- a/src/content/globalprefs.js
+++ /dev/null
@@ -1,275 +0,0 @@
-var NoSquintPrefs = {
-    prefs: null,
-    site: null,
-    level: null,
-    NoSquint: null,
-
-    init: function(doc, dialog) {
-        NoSquintPrefs.doc = doc;
-        NoSquintPrefs.dialog = dialog;
-        var prefService = Components.classes["@mozilla.org/preferences-service;1"]
-                            .getService(Components.interfaces.nsIPrefService);
-        NoSquintPrefs.privacyBranch = prefService.getBranch('privacy.item.');
-
-        if (window.arguments) {
-            NoSquintPrefs.NoSquint = window.arguments[0];
-            NoSquintPrefs.url = window.arguments[1];
-            NoSquintPrefs.NoSquint.globalDialog = this;
-            NoSquintPrefs.prefs = NoSquintPrefs.NoSquint.prefs;
-        } else {
-            NoSquintPrefs.prefs = prefService.getBranch("extensions.nosquint.")
-        }
-
-        // General tab
-        var forget_cb = doc.getElementById("siteForget");
-        var months = NoSquintPrefs.prefs.getIntPref("forgetMonths");
-        forget_cb.checked = (months != 0);
-        if (months)
-            doc.getElementById("siteForget-menu").value = months;
-        forget_cb.addEventListener("CheckboxStateChange", NoSquintPrefs.forgetMonthsChecked, false);
-        NoSquintPrefs.forgetMonthsChecked();
-        doc.getElementById("siteSanitize").checked = NoSquintPrefs.privacyBranch.getBoolPref("extensions-nosquint");
-        doc.getElementById("rememberSites").selectedIndex = NoSquintPrefs.prefs.getBoolPref("rememberSites") ? 0 : 1;
-
-        // Zooming tab
-        doc.getElementById("fullZoomLevel").value = NoSquintPrefs.prefs.getIntPref("fullZoomLevel");
-        doc.getElementById("textZoomLevel").value = NoSquintPrefs.prefs.getIntPref("textZoomLevel");
-        doc.getElementById("zoomIncrement").value = NoSquintPrefs.prefs.getIntPref("zoomIncrement");
-        doc.getElementById("zoomImages").checked = NoSquintPrefs.prefs.getBoolPref("zoomImages");
-        doc.getElementById("showStatus").checked = !NoSquintPrefs.prefs.getBoolPref("hideStatus");
-        doc.getElementById("wheelZoomEnabled").checked = NoSquintPrefs.prefs.getBoolPref("wheelZoomEnabled");
-        doc.getElementById('primaryZoomMethod-menu').value = NoSquintPrefs.prefs.getBoolPref("fullZoomPrimary") ? "full" : "text";
-        NoSquintPrefs.sitesRadioSelect();
-
-        // Color tab
-        for each (var [id, defcolor] in [['colorText', '#000000'], ['colorBackground', '#ffffff'], 
-                                         ['linksUnvisited', '#0000ee'], ['linksVisited', '#551a8b']]) {
-            var color = NoSquintPrefs.prefs.getCharPref(id);
-            var cb = doc.getElementById(id);
-            var picker = cb.parentNode.childNodes[1];
-            picker.color = color == '0' ? defcolor : color;
-            cb.addEventListener("CheckboxStateChange", NoSquintPrefs.colorChecked, false);
-            cb.checked = color == '0' ? false : true;
-            NoSquintPrefs.colorChecked(null, cb);
-        }
-        doc.getElementById('colorBackgroundImages').checked = NoSquintPrefs.prefs.getBoolPref("colorBackgroundImages");
-        doc.getElementById('linksUnderline').checked = NoSquintPrefs.prefs.getBoolPref("linksUnderline");
-
-        // Exceptions tab.
-        NoSquintPrefs.parseExceptions();
-        NoSquintPrefs.excListSelect();
-    },
-
-    colorChecked: function(event, cb) {
-        cb = cb || this;
-        var picker = cb.parentNode.childNodes[1];
-        picker.disabled = !cb.checked;
-        picker.style.opacity = cb.checked ? 1.0 : 0.2;
-    },
-
-
-    parseExceptions: function() {
-        var exstr = NoSquintPrefs.prefs.getCharPref("exceptions");
-        // Trim whitespace and split on space.
-        var exlist = exstr.replace(/(^\s+|\s+$)/g, "").split(" ");
-        for (var i = 0; i < exlist.length; i++) {
-            if (exlist[i])
-                NoSquintPrefs.exceptionsListAdd(exlist[i].replace(/%20/g, ' '), false);
-        }
-        NoSquintPrefs.doc.getElementById("exceptionsList")._changed = false;
-    },
-
-    exceptionsListAdd: function(pattern, check_dupe) {
-        // Strip URI scheme from pattern (if it exists)
-        pattern = pattern.replace(/^\w+:\/\//, '');
-
-        var listbox = NoSquintPrefs.doc.getElementById("exceptionsList");
-        if (check_dupe) {
-            for (var i = 0; i < listbox.childNodes.length; i++) {
-                var node = listbox.childNodes[i];
-                if (node.childNodes[0].getAttribute("label") == pattern) {
-                    var bundle = NoSquintPrefs.doc.getElementById("nosquint-prefs-bundle");
-                    alert(bundle.getString('patternExists'));
-                    return;
-                }
-            }
-        }
-
-        var node = NoSquintPrefs.doc.createElement("listitem");
-        var li1 = NoSquintPrefs.doc.createElement("listcell");
-        li1.setAttribute("label", pattern);
-        node.appendChild(li1);
-        listbox.appendChild(node);
-        node.addEventListener("dblclick", NoSquintPrefs.buttonEditException, false);
-        listbox._changed = true;
-    },
-
-    textPatternKeyPress: function(event) {
-        if (event.keyCode == 13) {
-            NoSquintPrefs.buttonAddException();
-            return false;
-        }
-    },
-
-    textPatternChange: function() {
-        var pattern = NoSquintPrefs.doc.getElementById("pattern").value;
-        var exc_button = NoSquintPrefs.doc.getElementById("exceptionAdd-button");
-        exc_button.disabled = (pattern == '');
-    },
-
-    excListKeyPress: function(event) {
-        if (event.keyCode == 13) {
-            NoSquintPrefs.buttonEditException();
-            return false;
-        }
-    },
-
-    excListSelect: function() {
-        var btn = NoSquintPrefs.doc.getElementById("exceptionRemove-button");
-        var listbox = NoSquintPrefs.doc.getElementById("exceptionsList");
-        btn.disabled = (listbox.selectedItems.length == 0);
-
-        var btn = NoSquintPrefs.doc.getElementById("exceptionEdit-button");
-        btn.disabled = listbox.selectedItems.length != 1;
-    },
-
-    buttonCopyFromURL: function() {
-        var pattern = NoSquintPrefs.doc.getElementById("pattern");
-        pattern.value = NoSquintPrefs.url;
-        NoSquintPrefs.textPatternChange();
-    },
-
-    buttonAddException: function() {
-        var pattern = NoSquintPrefs.doc.getElementById("pattern");
-        NoSquintPrefs.exceptionsListAdd(pattern.value, true);
-        pattern.value = '';
-        NoSquintPrefs.textPatternChange();
-    },
-
-
-    buttonEditException: function() {
-        var listbox = NoSquintPrefs.doc.getElementById("exceptionsList");
-        var item = listbox.selectedItem;
-        var pattern = item.childNodes[0].getAttribute('label');
-        var bundle = NoSquintPrefs.doc.getElementById("nosquint-prefs-bundle");
-        var prompts = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
-                      .getService(Components.interfaces.nsIPromptService);
-        var input = {value: pattern};
-        prompts.prompt(window, bundle.getString('editTitle'), bundle.getString('editPrompt'),
-                        input, null, {});
-        if (input.value != null && input.value != pattern) {
-            item.childNodes[0].setAttribute('label', input.value);
-            listbox._changed = true;
-        }
-    },
-
-    buttonRemoveException: function() {
-        var listbox = NoSquintPrefs.doc.getElementById("exceptionsList");
-        while (listbox.selectedItems.length)
-            listbox.removeChild(listbox.selectedItems[0]);
-        listbox._changed = true;
-    },
-
-    forgetMonthsChecked: function() {
-        var checked = NoSquintPrefs.doc.getElementById('siteForget').checked;
-        NoSquintPrefs.doc.getElementById('siteForget-menu').disabled = !checked;
-    },
-
-    sitesRadioSelect: function() {
-        var doc = NoSquintPrefs.doc;
-        if (!doc)
-            return;
-        if (!NoSquintPrefs.url)
-            doc.getElementById("copyURL-button").style.display = "none";
-        var disabled = doc.getElementById("rememberSites").selectedIndex == 1;
-        NoSquintPrefs.enableTree(doc.getElementById("siteForget-box"), disabled);
-    },
-
-    enableTree: function(node, state) {
-        for (var i = 0; i < node.childNodes.length; i++) {
-            var child = node.childNodes[i];
-            if (state && child.disabled == false || child.disabled == true)
-                child.disabled = state;
-            if (child.childNodes.length)
-                NoSquintPrefs.enableTree(child, state);
-        }
-    },
-
-    help: function() {
-        window.openDialog("chrome://nosquint/content/help.xul", "NoSquint Help", "chrome");
-    },
-
-    close: function() {
-        var doc = NoSquintPrefs.doc;
-
-        if (doc.getElementById("pattern").value != '')
-            /* User entered stuff in exception input but OK'd dialog without
-             * adding the exception.  We assume here the user actually _wanted_
-             * the exception to be added, so add it automatically.  This is
-             * a bit of do-what-I-mean behaviour.
-             */
-            NoSquintPrefs.buttonAddException();
-            
-        var full_zoom_primary = doc.getElementById("primaryZoomMethod-menu").value == "full";
-        var force_zoom = NoSquintPrefs.prefs.getBoolPref("fullZoomPrimary") != full_zoom_primary;
-        NoSquintPrefs.prefs.setBoolPref("fullZoomPrimary", full_zoom_primary);
-
-        NoSquintPrefs.prefs.setBoolPref("zoomImages", doc.getElementById("zoomImages").checked);
-        NoSquintPrefs.prefs.setBoolPref("hideStatus", !doc.getElementById("showStatus").checked);
-        NoSquintPrefs.prefs.setBoolPref("wheelZoomEnabled", doc.getElementById("wheelZoomEnabled").checked);
-        NoSquintPrefs.prefs.setIntPref("fullZoomLevel", doc.getElementById("fullZoomLevel").value);
-        NoSquintPrefs.prefs.setIntPref("textZoomLevel", doc.getElementById("textZoomLevel").value);
-        NoSquintPrefs.prefs.setIntPref("zoomIncrement", doc.getElementById("zoomIncrement").value);
-        var val = doc.getElementById("rememberSites").selectedIndex == 1 ? false : true;
-        NoSquintPrefs.prefs.setBoolPref("rememberSites", val);
-        NoSquintPrefs.privacyBranch.setBoolPref("extensions-nosquint", 
-                                                doc.getElementById("siteSanitize").checked)
-
-
-        var listbox = doc.getElementById("exceptionsList");
-        if (listbox._changed) {
-            var exceptions = [];
-            for (var i = 0; i < listbox.getRowCount(); i++) {
-                var item = listbox.getItemAtIndex(i);
-                var pattern = item.childNodes[0].getAttribute('label');
-                exceptions.push(pattern.replace(/ /g, '%20'));
-            }
-            NoSquintPrefs.prefs.setCharPref("exceptions", exceptions.join(' '));
-        }
-        if (!doc.getElementById("siteForget").checked)
-            NoSquintPrefs.prefs.setIntPref("forgetMonths", 0);
-        else
-            NoSquintPrefs.prefs.setIntPref("forgetMonths", doc.getElementById("siteForget-menu").value);
-
-        // Colors
-        for each (var id in ['colorText', 'colorBackground', 'linksUnvisited', 'linksVisited']) {
-            var cb = doc.getElementById(id);
-            var picker = cb.parentNode.childNodes[1];
-            NoSquintPrefs.prefs.setCharPref(id, cb.checked ? picker.color : '0');
-        }
-        NoSquintPrefs.prefs.setBoolPref("colorBackgroundImages", 
-                                        doc.getElementById("colorBackgroundImages").checked);
-        NoSquintPrefs.prefs.setBoolPref("linksUnderline", 
-                                        doc.getElementById("linksUnderline").checked);
-
-        var NoSquint = NoSquintPrefs.NoSquint;
-        if (!NoSquint)
-            return;
-
-        NoSquint.globalDialog = null;
-        if (force_zoom)
-            NoSquint.queueZoomAll();
-        NoSquint.queueStyleAll();
-        NoSquint.updateStatus();
-
-        if (NoSquint.siteDialog)
-            NoSquint.siteDialog.setValues(NoSquint.siteDialog.browser, NoSquint.siteDialog.browser._noSquintSite);
-
-    },
-
-    cancel: function() {
-        if (NoSquintPrefs.NoSquint)
-            NoSquintPrefs.NoSquint.globalDialog = null;
-    }
-
-};
diff --git a/src/content/globalprefs.xul b/src/content/globalprefs.xul
deleted file mode 100644
index ae974dc..0000000
--- a/src/content/globalprefs.xul
+++ /dev/null
@@ -1,214 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet href="chrome://global/skin/global.css"  type="text/css"?>
-<?xml-stylesheet href="chrome://nosquint/content/prefs.css"  type="text/css"?>
-<!DOCTYPE window SYSTEM "chrome://nosquint/locale/globalprefs.dtd">
-
-<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        xmlns:html="http://www.w3.org/1999/xhtml"
-        title="&ns.pref.title;"
-        buttons="help,accept,cancel" 
-        ondialogaccept="NoSquintPrefs.close()"
-        ondialogcancel="NoSquintPrefs.cancel()"
-        ondialoghelp="NoSquintPrefs.help()"
-        id="nosquint-prefs-dialog"
-        persist="screenX screenY"
-        onload="NoSquintPrefs.init(document, this)">
-
-    <script type="application/x-javascript" src="chrome://nosquint/content/globalprefs.js" />
-
-    <stringbundleset id="stringbundleset">
-        <stringbundle id="nosquint-prefs-bundle" src="chrome://nosquint/locale/globalprefs.properties" />
-    </stringbundleset>
-
-    <tabbox flex="1">
-        <tabs>
-            <tab label="&ns.pref.tab.general.label;" />
-            <tab label="&ns.pref.tab.zooming.label;" />
-            <tab label="&ns.pref.tab.colors.label;" />
-            <tab label="&ns.pref.tab.exceptions.label;" />
-        </tabs>
-
-        <tabpanels flex="1">
-            <!-- General Tab -->
-            <tabpanel id="generaltab" flex="1">
-                <vbox flex="1">
-                    <groupbox id="persistence">
-                        <caption label="&ns.pref.persistence.caption;" />
-                        <radiogroup id="rememberSites" onselect="NoSquintPrefs.sitesRadioSelect()">
-                            <radio label="&ns.pref.persistence.remember.label;" />
-                            <vbox class="indent" id='siteForget-box'>
-                                <hbox align="center">
-                                    <checkbox id="siteForget" label="&ns.pref.persistence.forget.label;" 
-                                              checked="false" />
-                                    <menulist id="siteForget-menu">
-                                        <menupopup>
-                                            <menuitem value="12" label="&ns.pref.persistence.forget.year;"/>
-                                            <menuitem value="6" label="&ns.pref.persistence.forget.6months;" selected="true" />
-                                            <menuitem value="3" label="&ns.pref.persistence.forget.3months;" />
-                                            <menuitem value="1" label="&ns.pref.persistence.forget.month;"/>
-                                        </menupopup>
-                                    </menulist>
-                                </hbox>
-                                <checkbox id="siteSanitize" label="&ns.pref.persistence.sanitize.label;" checked="false" />
-                            </vbox>
-                            <radio label="&ns.pref.persistence.noRemember.label;" />
-                        </radiogroup>
-                    </groupbox>
-                </vbox>
-            </tabpanel>
-
-            <!-- Zooming Tab -->
-            <tabpanel id="zoomingtab" flex="1">
-                <vbox flex="1">
-                    <groupbox>
-                        <caption label="&ns.pref.zooming.caption;" />
-                        <grid>
-                            <columns>
-                                <column />
-                                <column />
-                            </columns>
-                            <rows>
-                                <row align="center">
-                                    <hbox>
-                                        <spacer flex="1" />
-                                        <label>&ns.pref.zooming.primaryMethod.label;:</label>
-                                    </hbox>
-                                    <menulist id="primaryZoomMethod-menu">
-                                        <menupopup>
-                                            <menuitem value="full" label="&ns.pref.zooming.primaryMethod.full;" 
-                                                      selected="true"/>
-                                            <menuitem value="text" label="&ns.pref.zooming.primaryMethod.text;"/>
-                                        </menupopup>
-                                    </menulist>
-                                </row>
-
-                                <row align="center">
-                                    <hbox>
-                                        <spacer flex="1" />
-                                        <label>&ns.pref.zooming.fullLevel.label;:</label>
-                                    </hbox>
-                                    <hbox align="center">
-                                        <textbox id="fullZoomLevel" size="2" type="number" min="40" 
-                                                 max="300" increment="5" />
-                                        <label class="percent">%</label>
-                                    </hbox>
-                                </row>
-
-                                <row align="center">
-                                    <hbox>
-                                        <spacer flex="1" />
-                                        <label>&ns.pref.zooming.textLevel.label;:</label>
-                                    </hbox>
-                                    <hbox align="center">
-                                        <textbox id="textZoomLevel" size="2" type="number" min="40" 
-                                                 max="300" increment="5" />
-                                        <label class="percent">%</label>
-                                    </hbox>
-                                </row>
-
-                                <row align="center">
-                                    <hbox>
-                                        <spacer flex="1" />
-                                        <label>&ns.pref.zooming.increment.label;:</label>
-                                    </hbox>
-                                    <hbox align="center">
-                                        <textbox id="zoomIncrement" size="2" type="number" min="1" 
-                                                 max="100" increment="1" />
-                                        <label class="percent">%</label>
-                                    </hbox>
-                                </row>
-                            </rows>
-                        </grid>
-                        <vbox>
-                            <checkbox id="zoomImages" label="&ns.pref.zooming.images.label;" checked="false" />
-                            <checkbox id="wheelZoomEnabled" label="&ns.pref.zooming.mousewheel.label;" checked="false" />
-                            <checkbox id="showStatus" label="&ns.pref.zooming.showstatus.label;" checked="false" />
-                        </vbox>
-                    </groupbox>
-                </vbox>
-            </tabpanel>
-
-            <!-- Colors Tab -->
-            <tabpanel id="colorstab" flex="1">
-                <vbox flex="1">
-                    <html:p style="margin: 0 7px 0.5em 7px; padding: 0;">&ns.pref.colors.info;</html:p>
-                    <hbox>
-                        <groupbox flex='1'>
-                            <caption label="&ns.pref.colors.colors.caption;" />
-                            <vbox>
-                                <hbox>
-                                    <checkbox id="colorText" label="&ns.pref.colors.colors.text.label;"
-                                              checked="false" flex="1" />
-                                    <colorpicker type='button' />
-                                </hbox>
-                                <hbox>
-                                    <checkbox id="colorBackground" label="&ns.pref.colors.colors.background.label;"
-                                              checked="false" flex="1" />
-                                    <colorpicker type='button' />
-                                </hbox>
-                                <checkbox id="colorBackgroundImages" label="&ns.pref.colors.colors.images.label;"
-                                          checked="false" flex="1" />
-                            </vbox>
-                        </groupbox>
-                        <groupbox flex='1'>
-                            <caption label="&ns.pref.colors.links.caption;" />
-                            <vbox>
-                                <hbox>
-                                    <checkbox id="linksUnvisited" label="&ns.pref.colors.links.unvisited.label;" 
-                                              checked="false" flex="1" />
-                                    <colorpicker type='button' />
-                                </hbox>
-                                <hbox>
-                                    <checkbox id="linksVisited" label="&ns.pref.colors.links.visited.label;"
-                                              checked="false" flex="1" />
-                                    <colorpicker type='button' />
-                                </hbox>
-                                <checkbox id="linksUnderline" label="&ns.pref.colors.links.underline.label;"
-                                          checked="false" flex="1" />
-                            </vbox>
-                        </groupbox>
-                    </hbox>
-                </vbox>
-            </tabpanel>
-
-            <!-- Exceptions Tab -->
-            <tabpanel id="exceptionstab" flex="1">
-                <vbox flex="1">
-                    <html:p style="margin: 0 7px 0.5em 7px; padding: 0;">&ns.pref.exceptions.info;</html:p>
-
-                    <label value="&ns.pref.exceptions.pattern.label;:" />
-                    <textbox id="pattern" width="100%" oninput="NoSquintPrefs.textPatternChange()" 
-                             onkeypress="return NoSquintPrefs.textPatternKeyPress(event)" />
-                    <hbox>
-                        <button label="&ns.pref.exceptions.copyButton.label;" id="copyURL-button"
-                                accesskey="&ns.pref.exceptions.copyButton.accesskey;"
-                                oncommand="NoSquintPrefs.buttonCopyFromURL()" />
-                        <spacer flex="1" />
-                        <button label="&ns.pref.exceptions.addButton.label;" icon="add" id="exceptionAdd-button" 
-                                accesskey="&ns.pref.exceptions.addButton.accesskey;"
-                                disabled="true" oncommand="NoSquintPrefs.buttonAddException()" />
-                    </hbox>
-
-                    <separator />
-
-                <listbox id="exceptionsList" flex="1" seltype="multiple" rows="5" 
-                         onkeypress="return NoSquintPrefs.excListKeyPress(event)" 
-                         onselect="NoSquintPrefs.excListSelect()">
-                    <listhead>
-                        <listheader label="&ns.pref.exceptions.list.col1.label;" />
-                    </listhead>
-                </listbox>
-                <hbox>
-                    <button label="&ns.pref.exceptions.editButton.label;" id="exceptionEdit-button" 
-                            accesskey="&ns.pref.exceptions.editButton.accesskey;"
-                            oncommand="NoSquintPrefs.buttonEditException()" />
-                    <button label="&ns.pref.exceptions.removeButton.label;" icon="remove" id="exceptionRemove-button"
-                            accesskey="&ns.pref.exceptions.removeButton.accesskey;"
-                            oncommand="NoSquintPrefs.buttonRemoveException()" />
-                </hbox>
-                </vbox>
-            </tabpanel>
-
-        </tabpanels>
-    </tabbox>
-</dialog>
diff --git a/src/content/help.js b/src/content/help.js
deleted file mode 100644
index f67cd4c..0000000
--- a/src/content/help.js
+++ /dev/null
@@ -1,9 +0,0 @@
-var NoSquintHelp = {
-
-    init: function(doc) {
-        var b = doc.getElementById("nosquint-help-browser");
-        //b.webBrowserFind.searchString = "NoSquint";
-        //b.webBrowserFind.findNext();
-    }
-};
-
diff --git a/src/content/icon-32.png b/src/content/icon-32.png
deleted file mode 100644
index b465a31..0000000
Binary files a/src/content/icon-32.png and /dev/null differ
diff --git a/src/content/prefs.css b/src/content/prefs.css
deleted file mode 100644
index f77c384..0000000
--- a/src/content/prefs.css
+++ /dev/null
@@ -1,35 +0,0 @@
-dialog {
-    max-width: 35em; 
-}
-
-label.percent {
-    margin-left: -0.18em;
-}
-
-.indent {
-    margin-left: 2.5em;
-}
-
-button[dlgtype="extra1"] {
-      list-style-image: url("chrome://nosquint/skin/icon-enlarge-16.png");
-}
-
-#global-warning-box {
-    border: 1px solid #e0cd64;
-    background-color: #fffac4;
-    padding: 3px 15px 3px 15px;
-    margin: 0.5em 2em;
-    vertical-align: middle;
-    font-weight: bold;
-    -moz-border-radius: 20px;
-}
-
-#global-warning-box div {
-    padding-left: 0.7em;
-    width: 400px;
-    font-weight: normal;
-}
-
-#global-warning-box image {
-}
-
diff --git a/src/content/prefs.xul b/src/content/prefs.xul
deleted file mode 100644
index 7fcc362..0000000
--- a/src/content/prefs.xul
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet href="chrome://global/skin/global.css"  type="text/css"?>
-<?xml-stylesheet href="chrome://nosquint/content/prefs.css"  type="text/css"?>
-<!DOCTYPE window SYSTEM "chrome://nosquint/locale/prefs.dtd">
-
-<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        xmlns:html="http://www.w3.org/1999/xhtml"
-        title="&ns.pref.title;"
-        buttons="help,accept,cancel" 
-        ondialogaccept="NoSquintPrefs.close()"
-        ondialoghelp="NoSquintPrefs.help()"
-        id="nosquint-prefs-dialog"
-        persist="screenX screenY"
-        onload="NoSquintPrefs.init(document)">
-
-    <script src="prefs.js" />
-
-    <stringbundleset id="stringbundleset">
-        <stringbundle id="nosquint-prefs-bundle" src="chrome://nosquint/locale/prefs.properties" />
-    </stringbundleset>
-
-    <tabbox flex="1">
-        <tabs>
-            <tab label="&ns.pref.tab.options.label;" />
-            <tab label="&ns.pref.tab.exceptions.label;" />
-        </tabs>
-
-        <tabpanels flex="1">
-            <!-- Options Tab -->
-            <tabpanel id="optionstab" flex="1">
-                <vbox flex="1">
-                    <groupbox>
-                        <caption label="&ns.pref.general.caption;" />
-                        <grid>
-                            <columns>
-                                <column />
-                                <column />
-                                <column />
-                            </columns>
-                            <rows>
-                                <row align="center">
-                                    <label>&ns.pref.general.level.label;:</label>
-                                    <textbox id="defaultZoomLevel" size="5"/>
-                                    <label class="percent">%</label>
-                                </row>
-                                <row align="center">
-                                    <hbox>
-                                        <spacer flex="1" />
-                                        <label>&ns.pref.general.increment.label;:</label>
-                                    </hbox>
-                                    <textbox id="zoomIncrement" size="5"/>
-                                    <label class="percent">%</label>
-                                </row>
-                            </rows>
-                        </grid>
-                        <vbox>
-                            <checkbox id="wheelZoomEnabled" label="&ns.pref.general.mousewheel.label;" checked="false" />
-                            <checkbox id="showStatus" label="&ns.pref.general.showstatus.label;" checked="false" />
-                        </vbox>
-                    </groupbox>
-
-                    <groupbox id="site">
-                        <caption label="&ns.pref.site.caption;" />
-                        <radiogroup id="rememberSites" onselect="NoSquintPrefs.sitesRadioSelect()">
-                            <radio label="&ns.pref.site.noRemember.label;" />
-                            <radio label="&ns.pref.site.remember.label;" />
-                        </radiogroup>
-                        <hbox id="siteForget-box" align="center" class="indent">
-                            <checkbox id="siteForget" label="&ns.pref.site.forget.label;" checked="false" 
-                                      oncheck="document.getElementById('siteForget-menu').disabled = !this.checked" />
-                            <menulist id="siteForget-menu">
-                                <menupopup>
-                                    <menuitem value="12" label="&ns.pref.site.forget.year;"/>
-                                    <menuitem value="6" label="&ns.pref.site.forget.6months;" selected="true" />
-                                    <menuitem value="3" label="&ns.pref.site.forget.3months;" />
-                                    <menuitem value="1" label="&ns.pref.site.forget.month;"/>
-                                </menupopup>
-                            </menulist>
-                        </hbox>
-                        <grid id="siteZoom-box" class="indent">
-                            <rows>
-                                <row align="center">
-                                    <label disabled="true" id="siteZoom-label" value="&ns.pref.site.current.label;:" />
-                                    <textbox disabled="true" id="siteZoom" size="5"/>
-                                    <label disabled="true" class="percent">%</label>
-                                </row>
-                                <row align="top">
-                                    <label />
-                                    <button  disabled="true" label="&ns.pref.site.resetButton.label;" 
-                                             id="siteZoom-button" oncommand="NoSquintPrefs.buttonSitesUseDefault()" />
-                                </row>
-                            </rows>
-                        </grid>
-                    </groupbox>
-                </vbox>
-            </tabpanel>
-
-
-            <!-- exceptions Tab -->
-            <tabpanel id="exceptionstab" flex="1">
-                <vbox flex="1">
-                    <html:p style="margin: 0 7px 0.5em 7px; padding: 0;">&ns.pref.exceptions.info;</html:p>
-
-                    <label value="&ns.pref.exceptions.pattern.label;:" />
-                    <textbox id="pattern" width="100%" oninput="NoSquintPrefs.textPatternChange()" 
-                             onkeypress="return NoSquintPrefs.textPatternKeyPress(event)" />
-                    <hbox>
-                        <button label="&ns.pref.exceptions.copyButton.label;" id="copyURL-button"
-                                accesskey="&ns.pref.exceptions.copyButton.accesskey;"
-                                oncommand="NoSquintPrefs.buttonCopyFromURL()" />
-                        <spacer flex="1" />
-                        <button label="&ns.pref.exceptions.addButton.label;" icon="add" id="exceptionAdd-button" 
-                                accesskey="&ns.pref.exceptions.addButton.accesskey;"
-                                disabled="true" oncommand="NoSquintPrefs.buttonAddException()" />
-                    </hbox>
-
-                    <separator />
-
-                <listbox id="exceptionsList" flex="1" seltype="multiple" rows="8" 
-                         onkeypress="return NoSquintPrefs.excListKeyPress(event)" 
-                         onselect="NoSquintPrefs.excListSelect()">
-                    <listhead>
-                        <listheader label="&ns.pref.exceptions.list.col1.label;" />
-                    </listhead>
-                </listbox>
-                <hbox>
-                    <button label="&ns.pref.exceptions.editButton.label;" id="exceptionEdit-button" 
-                            accesskey="&ns.pref.exceptions.editButton.accesskey;"
-                            oncommand="NoSquintPrefs.buttonEditException()" />
-                    <button label="&ns.pref.exceptions.removeButton.label;" icon="remove" id="exceptionRemove-button"
-                            accesskey="&ns.pref.exceptions.removeButton.accesskey;"
-                            oncommand="NoSquintPrefs.buttonRemoveException()" />
-                </hbox>
-                </vbox>
-            </tabpanel>
-
-        </tabpanels>
-    </tabbox>
-</dialog>
diff --git a/src/content/siteprefs.js b/src/content/siteprefs.js
deleted file mode 100644
index c904ea8..0000000
--- a/src/content/siteprefs.js
+++ /dev/null
@@ -1,174 +0,0 @@
-var NoSquintSitePrefs = {
-    prefs: null,
-    browser: null,
-    NoSquint: null,
-    bundle: null,
-    updateTimer: null,
-
-    init: function(doc, dialog) {
-        NoSquintSitePrefs.doc = doc;
-        NoSquintSitePrefs.dialog = dialog;
-        NoSquintSitePrefs.NoSquint = window.arguments[0];
-        NoSquintSitePrefs.prefs = NoSquintSitePrefs.NoSquint.prefs;
-        NoSquintSitePrefs.bundle = doc.getElementById('nosquint-prefs-bundle');
-        NoSquintSitePrefs.NoSquint.siteDialog = this;
-
-        doc.getElementById('full-zoom-level').onchange = function() { NoSquintSitePrefs.valueChange('full', this); }
-        doc.getElementById('text-zoom-level').onchange = function() { NoSquintSitePrefs.valueChange('text', this); }
-
-        NoSquintSitePrefs.setValues(window.arguments[1], window.arguments[2]);
-
-        var update = function() { NoSquintSitePrefs.style(true, false); };
-        doc.getElementById('colorBackgroundImages').addEventListener("CheckboxStateChange", update, false);
-        doc.getElementById('linksUnderline').addEventListener("CheckboxStateChange", update, false);
-
-        for each (var id in ['colorText', 'colorBackground', 'linksUnvisited', 'linksVisited']) {
-            var cb = doc.getElementById(id);
-            cb.addEventListener("CheckboxStateChange", NoSquintSitePrefs.colorChecked, false);
-            var picker = cb.parentNode.childNodes[1];
-            picker.onchange = function() {
-                NoSquintSitePrefs.style(true, false);
-            }
-        }
-    },
-
-    colorChecked: function(event, cb) {
-        cb = cb || this;
-        var picker = cb.parentNode.childNodes[1];
-        picker.disabled = !cb.checked;
-        picker.style.opacity = cb.checked ? 1.0 : 0.2;
-        if (event)
-            // Only style() if we've been triggered by user checking the checkbox,
-            // not a call from elsewhere in this file.
-            NoSquintSitePrefs.style(true, false);
-    },
-
-    setValues: function(browser, site) {
-        var doc = NoSquintSitePrefs.doc;
-        if (NoSquintSitePrefs.NoSquint.rememberSites) {
-            var [text, full] = NoSquintSitePrefs.NoSquint.getLevelForBrowser(browser);
-            // We don't use getStyleForBrowser() because it also applies the default
-            // values.
-            var style = NoSquintSitePrefs.NoSquint.getStyleForSite(browser._noSquintSite);
-            doc.getElementById('global-warning-box').style.display = 'none';
-        } else {
-            var text = Math.round(browser.markupDocumentViewer.textZoom * 100);
-            var full = Math.round(browser.markupDocumentViewer.fullZoom * 100);
-            var style = {text: '0', bg: '0', bgimages: false, unvisited: '0', visited: '0', underline: false};
-            doc.getElementById('global-warning-box').style.display = '';
-        }
-
-        NoSquintSitePrefs.browser = browser;
-        NoSquintSitePrefs.site = site;
-
-        doc.getElementById('text-zoom-slider').value = text;
-        doc.getElementById('full-zoom-slider').value = full;
-
-        function setcolor(id, attr, def) {
-            var cb = doc.getElementById(id);
-            var picker = cb.parentNode.childNodes[1];
-            picker.color = (style && style[attr] != '0') ? style[attr] : def;
-            cb.checked = (style && style[attr] != '0') ? true : false;
-            NoSquintSitePrefs.colorChecked(null, cb);
-        }
-        setcolor('colorText', 'text', '#000000');
-        setcolor('colorBackground', 'bg', '#ffffff');
-        setcolor('linksUnvisited', 'unvisited', '#0000ee');
-        setcolor('linksVisited', 'visited', '#551a8b');
-        doc.getElementById('colorBackgroundImages').checked = style ? style.bgimages : false;
-        doc.getElementById('linksUnderline').checked = style ? style.underline : false;
-
-        var caption = doc.getElementById('site').childNodes[0];
-        //caption.label = NoSquintSitePrefs.bundle.getString('settingsFor') + " " + site;
-        caption.label = site;
-        window.sizeToContent();
-    },
-
-    sliderChange: function(which, slider) {
-        var doc = NoSquintSitePrefs.doc;
-        slider.value = parseInt(slider.value / 5) * 5;
-        if (doc)
-            doc.getElementById(which + '-zoom-level').value = slider.value;
-        NoSquintSitePrefs.queueUpdateZoom();
-        return 5;
-    },
-
-    valueChange: function(which, textbox) {
-        var doc = NoSquintSitePrefs.doc;
-        doc.getElementById(which + '-zoom-slider').value = textbox.value;
-        NoSquintSitePrefs.queueUpdateZoom();
-    },
-
-    queueUpdateZoom: function() {
-        if (NoSquintSitePrefs.updateTimer)
-            return;
-        NoSquintSitePrefs.updateTimer = setTimeout(function() { NoSquintSitePrefs.updateZoom(); }, 400);
-    },
-
-    updateZoom: function() {
-        clearTimeout(NoSquintSitePrefs.updateTimer);
-        NoSquintSitePrefs.updateTimer = null;
-        NoSquintSitePrefs.zoom(true, false);
-    },
-
-    zoom: function(from_form, save) {
-        var doc = NoSquintSitePrefs.doc;
-        var browser = NoSquintSitePrefs.browser;
-        if (from_form) {
-            var text = doc.getElementById('text-zoom-level').value;
-            var full = doc.getElementById('full-zoom-level').value;
-        } else
-            var [text, full] = NoSquintSitePrefs.NoSquint.getLevelForBrowser(browser);
-
-        NoSquintSitePrefs.NoSquint.zoom(browser, text, full);
-        if (save)
-            NoSquintSitePrefs.NoSquint.saveCurrentZoom();
-    },
-
-    style: function(from_form, save) {
-        var style = null;
-        if (from_form) {
-            var doc = NoSquintSitePrefs.doc;
-            style = {};
-            for each (var [id, attr] in [['colorText', 'text'], ['colorBackground', 'bg'], 
-                                ['linksUnvisited', 'unvisited'], ['linksVisited', 'visited']]) {
-                var cb = doc.getElementById(id);
-                var picker = cb.parentNode.childNodes[1];
-                style[attr] = cb.checked ? picker.color : '0';
-            }
-            style.bgimages = doc.getElementById("colorBackgroundImages").checked;
-            style.underline = doc.getElementById("linksUnderline").checked;
-        }
-        if (save)
-            NoSquintSitePrefs.NoSquint.updateSiteList(NoSquintSitePrefs.site, null, style);
-        if (style)
-            style = NoSquintSitePrefs.NoSquint.applyStyleDefaults(style);
-        // FIXME: we've already updated site list from zoom, so we're doing it twice.
-        NoSquintSitePrefs.NoSquint.style(NoSquintSitePrefs.browser, style);
-        NoSquintSitePrefs.NoSquint.updateStatus();
-    },
-
-    buttonUseDefault: function(which) {
-        var doc = NoSquintSitePrefs.doc;
-        var [text, full] = NoSquintSitePrefs.NoSquint.getZoomDefaults();
-        var input = doc.getElementById(which + '-zoom-level');
-        input.value = which == 'text' ? text : full;
-        input.onchange();
-    },
-
-
-    close: function() {
-        NoSquintSitePrefs.zoom(true, true);
-        NoSquintSitePrefs.style(true, true);
-        NoSquintSitePrefs.NoSquint.siteDialog = null;
-        NoSquintSitePrefs.NoSquint = null;
-    },
-
-    cancel: function() {
-        //var [text_current, full_current] = NoSquintSitePrefs.NoSquint.getLevelForBrowser(browser);
-        //NoSquintSitePrefs.zoom(text_current, full_current, false);
-        NoSquintSitePrefs.zoom(false, false);
-        NoSquintSitePrefs.style(false, false);
-        NoSquintSitePrefs.NoSquint.siteDialog = null;
-    }
-};
diff --git a/src/content/siteprefs.xul b/src/content/siteprefs.xul
deleted file mode 100644
index 93dfa37..0000000
--- a/src/content/siteprefs.xul
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet href="chrome://global/skin/global.css"  type="text/css"?>
-<?xml-stylesheet href="chrome://nosquint/content/prefs.css"  type="text/css"?>
-<!DOCTYPE window [
-    <!ENTITY % siteDTD SYSTEM "chrome://nosquint/locale/siteprefs.dtd" >
-    %siteDTD;
-    <!ENTITY % globalDTD SYSTEM "chrome://nosquint/locale/globalprefs.dtd" >
-    %globalDTD;
-]>
-
-<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        xmlns:html="http://www.w3.org/1999/xhtml"
-        title="&ns.pref.title;"
-        buttons="extra1,accept,cancel" 
-        ondialogaccept="NoSquintSitePrefs.close()"
-        ondialogcancel="NoSquintSitePrefs.cancel()"
-        ondialogextra1="NoSquintSitePrefs.NoSquint.openGlobalPrefsDialog()"
-        buttonlabelextra1="&ns.pref.button.global.label;"
-        buttonaccesskeyextra1="&ns.pref.button.global.accesskey;"
-        id="nosquint-siteprefs-dialog"
-        persist="screenX screenY"
-        onload="NoSquintSitePrefs.init(document, this)">
-
-    <script type="application/x-javascript" src="chrome://nosquint/content/siteprefs.js" />
-
-    <stringbundleset id="stringbundleset">
-        <stringbundle id="nosquint-prefs-bundle" src="chrome://nosquint/locale/siteprefs.properties" />
-    </stringbundleset>
-
-    <groupbox id="site">
-        <caption />
-        <vbox flex='1'>
-            <hbox id="global-warning-box" align="center">
-                <image class="alert-icon" />
-                <html:div>&ns.pref.globalWarning;</html:div>
-            </hbox>
-
-            <grid id="siteZoom-box" flex="1">
-                <columns>
-                    <column />
-                    <column />
-                    <column />
-                    <column flex="1" />
-                    <column />
-                </columns>
-                <rows>
-                    <row align="center">
-                        <hbox>
-                            <spacer flex="1" />
-                            <label value="&ns.pref.fullZoom.label;:" />
-                        </hbox>
-                        <scale id="full-zoom-slider" min="40" increment="1" max="300" style="width:200px"
-                               onchange="NoSquintSitePrefs.sliderChange('full', this)"/>
-                        <hbox align="center">
-                            <textbox id="full-zoom-level" size="2" type="number" min="40" max="300" increment="5" />
-                            <label class="percent">%</label>
-                        </hbox>
-                        <spacer flex="1" />
-                        <button  label="&ns.pref.button.useDefault.label;"
-                                 id="siteZoom-button" oncommand="NoSquintSitePrefs.buttonUseDefault('full')" />
-                    </row>
-                    <row align="center">
-                        <hbox>
-                            <spacer flex="1" />
-                            <label value="&ns.pref.textZoom.label;:" />
-                        </hbox>
-                        <scale id="text-zoom-slider" min="40" increment="1" max="300" 
-                               onchange="NoSquintSitePrefs.sliderChange('text', this)"/>
-                        <hbox align="center">
-                            <textbox id="text-zoom-level" size="2" type="number" min="40" max="300" increment="5"  />
-                            <label class="percent">%</label>
-                        </hbox>
-                        <spacer flex="1" />
-                        <button  label="&ns.pref.button.useDefault.label;"
-                                 id="siteZoom-button" oncommand="NoSquintSitePrefs.buttonUseDefault('text')" />
-                    </row>
-                </rows>
-            </grid>
-
-            <hbox flex='1' style='padding-top: 1em'>
-                <groupbox flex='1'>
-                    <caption label="&ns.pref.colors.colors.caption;" />
-                    <vbox>
-                        <hbox>
-                            <checkbox id="colorText" label="&ns.pref.colors.colors.text.label;"
-                                      checked="false" flex="1" />
-                            <colorpicker type='button' />
-                        </hbox>
-                        <hbox>
-                            <checkbox id="colorBackground" label="&ns.pref.colors.colors.background.label;"
-                                      checked="false" flex="1" />
-                            <colorpicker type='button' />
-                        </hbox>
-                        <checkbox id="colorBackgroundImages" label="&ns.pref.colors.colors.images.label;"
-                                  checked="false" flex="1" />
-                    </vbox>
-                </groupbox>
-                <groupbox flex='1'>
-                    <caption label="&ns.pref.colors.links.caption;" />
-                    <vbox>
-                        <hbox>
-                            <checkbox id="linksUnvisited" label="&ns.pref.colors.links.unvisited.label;" 
-                                      checked="false" flex="1" />
-                            <colorpicker type='button' />
-                        </hbox>
-                        <hbox>
-                            <checkbox id="linksVisited" label="&ns.pref.colors.links.visited.label;"
-                                      checked="false" flex="1" />
-                            <colorpicker type='button' />
-                        </hbox>
-                        <checkbox id="linksUnderline" label="&ns.pref.colors.links.underline.label;"
-                                  checked="false" flex="1" />
-                    </vbox>
-                </groupbox>
-            </hbox>
-
-        </vbox>
-    </groupbox>
-</dialog>
diff --git a/src/content/testinit.js b/src/content/testinit.js
deleted file mode 100644
index 2e53a8c..0000000
--- a/src/content/testinit.js
+++ /dev/null
@@ -1,26 +0,0 @@
-var TestExtension = {
-    prefs: null,
-
-    init: function() {
-        var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(
-                          Components.interfaces.nsIPrefService);
-        TestExtension.prefs = prefs.getBranch("extensions.testextension.");
-        TestExtension.prefs.QueryInterface(Components.interfaces.nsIPrefBranch2);
-        TestExtension.prefs.addObserver("", this, false);
-    },
-
-    destroy: function() {
-        try {
-            TestExtension.prefs.removeObserver("", this);
-        } catch (err) {
-            dump(err + "\n");
-        }
-    },
-
-    observe: function(subject, topic, data) {
-    },
-};
-
-
-window.addEventListener("load", TestExtension.init, false); 
-window.addEventListener("unload", TestExtension.destroy, false); 
diff --git a/src/content/utils.js b/src/content/utils.js
deleted file mode 100644
index c9d97c9..0000000
--- a/src/content/utils.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/* Returns a list of lines from a URL (such as chrome://).  This function
- * is a WTF; how more obsure could it possibly be to read a damn file?
- */
-function readLines(aURL) {
-  var ioService = Components.classes["@mozilla.org/network/io-service;1"]
-                  .getService(Components.interfaces.nsIIOService);
-  var scriptableStream = Components.classes["@mozilla.org/scriptableinputstream;1"]
-                         .getService(Components.interfaces.nsIScriptableInputStream);
-
-  var channel = ioService.newChannel(aURL, null, null);
-  var input = channel.open();
-  scriptableStream.init(input);
-  var str = scriptableStream.read(input.available());
-  scriptableStream.close();
-  input.close();
-  return str.split("\n");
-} 
-
-// XXX: don't forget to disable this for releases.
-function debug(msg) {
-//    dump("[nosquint] " + msg + "\n");
-}
-
-/* This function is called a lot, so we take some care to optimize for the
- * common cases.
- */
-function is_chrome(browser) {
-    var document = browser.docShell.document;
-    
-    if (document.URL == undefined)
-        return true;
-
-    /* In the common case, document.URL == browser.currentURI.spec, so we test
-     * this simple equality first before resorting to the probably unnecessary
-     * regexp call.
-     */
-    if (document.URL !=  browser.currentURI.spec &&
-        document.URL.replace(/#.*$/, '') != browser.currentURI.spec.replace(/#.*$/, ''))
-        /* Kludge: doc.URL doesn't match browser currentURI during host lookup failure,
-         * SSL cert errors, or other scenarios that result in an internal page being
-         * displayed that we consider chrome.
-         */
-        return true;
-
-    // A couple other common cases.
-    if (document.contentType == 'text/html' || document.contentType == 'application/xhtml+xml')
-        return false;
-    if (document.URL == undefined || document.URL.substr(0, 6) == 'about:')
-        return true;
-
-    // Less common cases that we'll cover with the more expensive regexp.
-    return document.contentType.search(/^text\/(plain|css|xml|javascript)/) != 0;
-}
-
-function is_image(browser) {
-    return browser.docShell.document.contentType.search(/^image\//) == 0;
-}
-
-
-function foreach_window(callback) {
-    var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
-                       .getService(Components.interfaces.nsIWindowMediator);
-    var windows = wm.getEnumerator("navigator:browser");
-    var win;
-    while (win = windows.getNext())
-        if (callback(win) == false)
-            break;
-}
-
-function popup(type, title, text, bundle) {
-    if (!bundle)
-        bundle = document.getElementById("nosquint-overlay-bundle");
-    var prompts = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
-                  .getService(Components.interfaces.nsIPromptService);
-    if (type == "confirm") 
-        return prompts.confirmEx(window, bundle.getString(title),
-                                 bundle.getString(text),
-                                 prompts.STD_YES_NO_BUTTONS, null, null, null, 
-                                 null, {value: null});
-    else if (type == "alert")
-        return prompts.alert(window, bundle.getString(title), bundle.getString(text));
-    return null;
-}
diff --git a/src/locale/en-US/globalprefs.dtd b/src/locale/en-US/globalprefs.dtd
deleted file mode 100644
index e03330b..0000000
--- a/src/locale/en-US/globalprefs.dtd
+++ /dev/null
@@ -1,53 +0,0 @@
-<!ENTITY ns.pref.title "NoSquint Global Settings">
-<!ENTITY ns.pref.tab.general.label "General">
-<!ENTITY ns.pref.tab.zooming.label "Zooming">
-<!ENTITY ns.pref.tab.colors.label "Colors">
-<!ENTITY ns.pref.tab.exceptions.label "Exceptions">
-
-<!ENTITY ns.pref.zooming.caption "Default Zoom Options">
-
-<!ENTITY ns.pref.zooming.primaryMethod.label "Primary zoom method">
-<!ENTITY ns.pref.zooming.primaryMethod.full "Full Page Zoom (images and text)">
-<!ENTITY ns.pref.zooming.primaryMethod.text "Text Zoom (text only)">
-
-<!ENTITY ns.pref.zooming.fullLevel.label "Default full page zoom level">
-<!ENTITY ns.pref.zooming.textLevel.label "Default text-only zoom level">
-<!ENTITY ns.pref.zooming.increment.label "Zoom increment">
-<!ENTITY ns.pref.zooming.images.label "Zoom standalone images to fit browser window">
-<!ENTITY ns.pref.zooming.mousewheel.label "Enable zoom with ctrl-mousewheel">
-<!ENTITY ns.pref.zooming.showstatus.label "Show current zoom levels in status bar">
-
-<!ENTITY ns.pref.persistence.caption "Persistence">
-<!ENTITY ns.pref.persistence.noRemember.label "Use the global zoom and color settings for all sites">
-<!ENTITY ns.pref.persistence.remember.label "Remember zoom and color settings per site">
-<!ENTITY ns.pref.persistence.forget.label "Forget settings for sites not visited in the last">
-<!ENTITY ns.pref.persistence.forget.year "Year">
-<!ENTITY ns.pref.persistence.forget.6months "Six Months">
-<!ENTITY ns.pref.persistence.forget.3months "Three Months">
-<!ENTITY ns.pref.persistence.forget.month "Month">
-<!ENTITY ns.pref.persistence.sanitize.label "Erase NoSquint site history when Firefox clears private data">
-
-<!ENTITY ns.pref.colors.info "Enabling any of the color options below overrides the default for all pages.">
-<!ENTITY ns.pref.colors.colors.caption "Text and Background">
-<!ENTITY ns.pref.colors.colors.text.label "Text">
-<!ENTITY ns.pref.colors.colors.background.label "Background">
-<!ENTITY ns.pref.colors.colors.images.label "Disable background images">
-<!ENTITY ns.pref.colors.links.caption "Link Colors">
-<!ENTITY ns.pref.colors.links.unvisited.label "Unvisited">
-<!ENTITY ns.pref.colors.links.visited.label "Visited">
-<!ENTITY ns.pref.colors.links.underline.label "Always underline links">
-
-
-<!ENTITY ns.pref.exceptions.info "Exceptions are an advanced feature that controls how NoSquint distinguishes separate sites.  Click the Help button below for full details.">
-
-<!ENTITY ns.pref.exceptions.pattern.label "Pattern for new exception">
-<!ENTITY ns.pref.exceptions.copyButton.label "Copy from URL">
-<!ENTITY ns.pref.exceptions.copyButton.accesskey "C">
-<!ENTITY ns.pref.exceptions.addButton.label "Add Exception">
-<!ENTITY ns.pref.exceptions.addButton.accesskey "A">
-<!ENTITY ns.pref.exceptions.list.col1.label "Exception Pattern">
-<!ENTITY ns.pref.exceptions.editButton.label "Edit Exception">
-<!ENTITY ns.pref.exceptions.editButton.accesskey "E">
-<!ENTITY ns.pref.exceptions.removeButton.label "Remove Exception">
-<!ENTITY ns.pref.exceptions.removeButton.accesskey "R">
-
diff --git a/src/locale/en-US/globalprefs.properties b/src/locale/en-US/globalprefs.properties
deleted file mode 100644
index 1608767..0000000
--- a/src/locale/en-US/globalprefs.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-editPrompt=Specify pattern for exception
-editTitle=Edit Pattern
-patternExists=This pattern already exists in the Exceptions list.
diff --git a/src/locale/en-US/help.dtd b/src/locale/en-US/help.dtd
deleted file mode 100644
index 6e6f28a..0000000
--- a/src/locale/en-US/help.dtd
+++ /dev/null
@@ -1,2 +0,0 @@
-<!ENTITY ns.help.title "NoSquint Help">
-<!ENTITY ns.help.subtitle "Help">
diff --git a/src/locale/en-US/prefs.dtd b/src/locale/en-US/prefs.dtd
deleted file mode 100644
index a23d3c9..0000000
--- a/src/locale/en-US/prefs.dtd
+++ /dev/null
@@ -1,34 +0,0 @@
-<!ENTITY ns.pref.title "NoSquint Settings">
-<!ENTITY ns.pref.tab.options.label "Options">
-<!ENTITY ns.pref.tab.exceptions.label "Exceptions">
-
-<!ENTITY ns.pref.general.caption "General">
-<!ENTITY ns.pref.general.level.label "Default text zoom level">
-<!ENTITY ns.pref.general.increment.label "Zoom increment">
-<!ENTITY ns.pref.general.mousewheel.label "Enable text zoom with ctrl-mousewheel">
-<!ENTITY ns.pref.general.showstatus.label "Show current zoom level and site in status bar">
-
-<!ENTITY ns.pref.site.caption "Site">
-<!ENTITY ns.pref.site.noRemember.label "Use the default text zoom level (set above) for all sites">
-<!ENTITY ns.pref.site.remember.label "Remember text zoom level per site">
-<!ENTITY ns.pref.site.forget.label "Forget zoom settings for sites not visited in the last">
-<!ENTITY ns.pref.site.forget.year "Year">
-<!ENTITY ns.pref.site.forget.6months "Six Months">
-<!ENTITY ns.pref.site.forget.3months "Three Months">
-<!ENTITY ns.pref.site.forget.month "Month">
-<!ENTITY ns.pref.site.current.label "Zoom level for the current site">
-<!ENTITY ns.pref.site.resetButton.label "Use Default">
-
-<!ENTITY ns.pref.exceptions.info "Exceptions are an advanced feature that controls how NoSquint determines separate sites.  Click the Help button below for full details.">
-
-<!ENTITY ns.pref.exceptions.pattern.label "Pattern for new exception">
-<!ENTITY ns.pref.exceptions.copyButton.label "Copy from URL">
-<!ENTITY ns.pref.exceptions.copyButton.accesskey "C">
-<!ENTITY ns.pref.exceptions.addButton.label "Add Exception">
-<!ENTITY ns.pref.exceptions.addButton.accesskey "A">
-<!ENTITY ns.pref.exceptions.list.col1.label "Exception Pattern">
-<!ENTITY ns.pref.exceptions.editButton.label "Edit Exception">
-<!ENTITY ns.pref.exceptions.editButton.accesskey "E">
-<!ENTITY ns.pref.exceptions.removeButton.label "Remove Exception">
-<!ENTITY ns.pref.exceptions.removeButton.accesskey "R">
-
diff --git a/src/locale/en-US/prefs.properties b/src/locale/en-US/prefs.properties
deleted file mode 100644
index 1608767..0000000
--- a/src/locale/en-US/prefs.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-editPrompt=Specify pattern for exception
-editTitle=Edit Pattern
-patternExists=This pattern already exists in the Exceptions list.
diff --git a/src/locale/en-US/siteprefs.dtd b/src/locale/en-US/siteprefs.dtd
deleted file mode 100644
index 6714a77..0000000
--- a/src/locale/en-US/siteprefs.dtd
+++ /dev/null
@@ -1,8 +0,0 @@
-<!ENTITY ns.pref.title "NoSquint Site Settings">
-<!ENTITY ns.pref.globalWarning "Values set here will be discarded when you leave this site because you are using global zoom and color settings for all sites.">
-<!ENTITY ns.pref.button.global.label "Global Settings">
-<!ENTITY ns.pref.button.global.accesskey "G">
-
-<!ENTITY ns.pref.fullZoom.label "Full zoom level">
-<!ENTITY ns.pref.textZoom.label "Text zoom level">
-<!ENTITY ns.pref.button.useDefault.label "Use Default">
diff --git a/src/locale/en-US/siteprefs.properties b/src/locale/en-US/siteprefs.properties
deleted file mode 100644
index 08ef25b..0000000
--- a/src/locale/en-US/siteprefs.properties
+++ /dev/null
@@ -1 +0,0 @@
-settingsFor=Settings for
diff --git a/src/skin/logo-32.png b/src/skin/logo-32.png
deleted file mode 100644
index b465a31..0000000
Binary files a/src/skin/logo-32.png and /dev/null differ

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/nosquint.git



More information about the Pkg-mozext-commits mailing list