aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2019-02-20 14:17:33 +0100
committerAlessio Vanni <vannilla@firemail.cc>2019-02-20 14:17:33 +0100
commit5787b5d439eb70e6ef882a4ce8ac3d9c97a6fc92 (patch)
treefa95485d2cf616deb6fb276db7575153d1dcb26f
parent91b59f40f87d6a0778feea4a4ee65743ba2508d8 (diff)
downloadematrix-5787b5d439eb70e6ef882a4ce8ac3d9c97a6fc92.tar.lz
ematrix-5787b5d439eb70e6ef882a4ce8ac3d9c97a6fc92.tar.xz
ematrix-5787b5d439eb70e6ef882a4ce8ac3d9c97a6fc92.zip
Reinstate options.xul
-rw-r--r--Makefile3
-rw-r--r--js/vapi-background.js2
-rw-r--r--options.xul30
3 files changed, 33 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4c40909..2090d2c 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,8 @@
# 2) It gives some flexibility in that files can be created or deleted
# freely as long as they are not part of any of these lists
-ROOTMETA := bootstrap.js install.rdf chrome.manifest icon.png LICENSE.txt
+ROOTMETA := bootstrap.js install.rdf chrome.manifest icon.png LICENSE.txt \
+ options.xul
ROOTHTML := about.html asset-viewer.html background.html cloud-ui.html \
dashboard.html hosts-files.html logger-ui.html \
diff --git a/js/vapi-background.js b/js/vapi-background.js
index d755e43..e3b0e79 100644
--- a/js/vapi-background.js
+++ b/js/vapi-background.js
@@ -3187,7 +3187,7 @@ var optionsObserver = (function() {
};
})();
-// optionsObserver.register();
+optionsObserver.register();
/******************************************************************************/
/******************************************************************************/
diff --git a/options.xul b/options.xul
new file mode 100644
index 0000000..dc2d353
--- /dev/null
+++ b/options.xul
@@ -0,0 +1,30 @@
+<?xml version="1.0" ?>
+<!-- ***************************************************************************
+
+ ηMatrix - a browser extension to black/white list requests.
+ Copyright (C) 2019 Alessio Vanni
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see {http://www.gnu.org/licenses/}.
+
+ Home: https://gitlab.com/vannilla/ematrix
+ uMatrix Home: https://github.com/gorhill/uMatrix
+ -->
+<vbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <setting type="control">
+ <vbox>
+ <button id="showDashboardButton"/>
+ <button id="showLoggerButton"/>
+ </vbox>
+ </setting>
+</vbox>