aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--platform/chromium/manifest.json4
-rw-r--r--platform/chromium/options_ui.html23
-rwxr-xr-xtools/make-chromium.sh1
3 files changed, 28 insertions, 0 deletions
diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json
index ca795f8..10fcb7e 100644
--- a/platform/chromium/manifest.json
+++ b/platform/chromium/manifest.json
@@ -40,6 +40,10 @@
],
"minimum_chrome_version": "22.0",
"options_page": "dashboard.html",
+ "options_ui": {
+ "chrome_style": true,
+ "page": "options_ui.html"
+ },
"permissions": [
"contextMenus",
"storage",
diff --git a/platform/chromium/options_ui.html b/platform/chromium/options_ui.html
new file mode 100644
index 0000000..c62a693
--- /dev/null
+++ b/platform/chromium/options_ui.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title></title>
+</head>
+
+<body>
+<ul>
+<li><a href="dashboard.html?tab=settings" data-i18n="settingsPageName" target="_blank"></a>
+<li><a href="dashboard.html?tab=3p-filters" data-i18n="3pPageName" target="_blank"></a>
+<li><a href="dashboard.html?tab=1p-filters" data-i18n="1pPageName" target="_blank"></a>
+<li><a href="dashboard.html?tab=dyna-rules" data-i18n="rulesPageName" target="_blank"></a>
+<li><a href="dashboard.html?tab=whitelist" data-i18n="whitelistPageName" target="_blank"></a>
+<li><a href="dashboard.html?tab=about" data-i18n="aboutPageName" target="_blank"></a>
+</ul>
+
+<script src="js/vapi-common.js"></script>
+<script src="js/udom.js"></script>
+<script src="js/i18n.js"></script>
+
+</body>
+</html>
diff --git a/tools/make-chromium.sh b/tools/make-chromium.sh
index 80bd3a2..5d0ac15 100755
--- a/tools/make-chromium.sh
+++ b/tools/make-chromium.sh
@@ -19,6 +19,7 @@ cp -R src/_locales $DES/
cp -R $DES/_locales/nb $DES/_locales/no
cp src/*.html $DES/
cp platform/chromium/*.js $DES/js/
+cp platform/chromium/*.html $DES/
cp platform/chromium/manifest.json $DES/
cp LICENSE.txt $DES/