From b1fcb233a3bbd074fe88705c8a5bf361a449cea0 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 13 Nov 2017 23:34:24 +0100 Subject: [PATCH] Added popup (no functionality at this time). --- manifest.json | 6 +++++ res/popup/popup.html | 61 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 res/popup/popup.html diff --git a/manifest.json b/manifest.json index cacfc89..9ff3193 100644 --- a/manifest.json +++ b/manifest.json @@ -36,6 +36,12 @@ "tabs", "storage", "activeTab", "", "*://*.youtube.com/*", "*://youtube.com/*", "*://imdb.com/*", "*://*.imdb.com/*" ], + "browser_action": { + "default_icon": "res/icons-32.png", + "default_popup": "res/popup/popup.html", + "default_title": "Uʟᴛʀᴀᴡɪᴅɪꜰʏ" + }, + "web_accessible_resources": [ "js/*", diff --git a/res/popup/popup.html b/res/popup/popup.html new file mode 100644 index 0000000..35b22df --- /dev/null +++ b/res/popup/popup.html @@ -0,0 +1,61 @@ + + + + + + + +

Ultrawidify: Quick settings

+
+

Extension mode:

+
+ Enable everywhere except blacklist
+ Enable only on whitelisted sites
+ Disable extension on all sites +
+

Settings for this site

+
+ Follow global rules
+ Always block
+ Always allow +
+
+
+

Autodetection

+ +
TODO: add controls for how aggressive autodetection is
+
+
+

Force aspect ratio:

+ Todo: + Options: default, auto, fit width, fit height, 16:9, 16:10, 21:9 +
+
+

Video alignment

+ Todo: Left, center, right +
+ + + +