diff --git a/src/eventPage.js b/src/eventPage.js index 036d97b..ffea30f 100644 --- a/src/eventPage.js +++ b/src/eventPage.js @@ -1,3 +1,11 @@ chrome.browserAction.onClicked.addListener(function(activeTab) { - chrome.tabs.create({ url: chrome.extension.getURL('index.html'), selected: true }); -}); \ No newline at end of file + chrome.tabs.create({ url: chrome.extension.getURL('index.html'), selected: true }); +}); + +// TODO: remove me +// Listen for messsage from tab script +/*chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) { + chrome.storage.local.set(request, function() { + console.log('saved', request); + }); +});*/ \ No newline at end of file diff --git a/src/index.html b/src/index.html index e25f9d2..5c678d5 100644 --- a/src/index.html +++ b/src/index.html @@ -251,6 +251,7 @@
+ + + + + + + + + © Web Maker diff --git a/src/manifest.json b/src/manifest.json index 5f2a829..cd2ae13 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -10,6 +10,10 @@ "chrome_url_overrides" : { "newtab": "index.html" }, + "options_ui": { + "page": "options.html", + "chrome_style": true + }, "browser_action": { "default_title": "Web Maker", "default_icon": "icon-16.png" diff --git a/src/options.html b/src/options.html new file mode 100644 index 0000000..8fdee9e --- /dev/null +++ b/src/options.html @@ -0,0 +1,40 @@ + + +