diff --git a/background.js b/background.js index d0da240..8b65cee 100755 --- a/background.js +++ b/background.js @@ -11,9 +11,9 @@ chrome.pageAction.onClicked.addListener(function (tab) { var path = tab.url.split('//'); var username = path[1].split('/')[1]; var repo = path[1].split('/')[2]; - var hackernotesUrl = "http://hackernotes.org/" + username + '/' + repo; + var hackernotesUrl = "http://www.hackernotes.org/" + username + '/' + repo; if(username === "" || repo === "") { - hackernotesUrl = "http://hackernotes.org/" + hackernotesUrl = "http://www.hackernotes.org/" } chrome.tabs.create({ url: hackernotesUrl diff --git a/icon-128.jpg b/icon-128.jpg deleted file mode 100755 index e113793..0000000 Binary files a/icon-128.jpg and /dev/null differ diff --git a/icon-128.png b/icon-128.png new file mode 100644 index 0000000..03697ba Binary files /dev/null and b/icon-128.png differ diff --git a/icon-16.jpg b/icon-16.jpg deleted file mode 100755 index 11ac359..0000000 Binary files a/icon-16.jpg and /dev/null differ diff --git a/icon-16.png b/icon-16.png new file mode 100644 index 0000000..ae73717 Binary files /dev/null and b/icon-16.png differ diff --git a/icon-48.jpg b/icon-48.jpg deleted file mode 100755 index 76e9655..0000000 Binary files a/icon-48.jpg and /dev/null differ diff --git a/icon-48.png b/icon-48.png new file mode 100644 index 0000000..4317bf8 Binary files /dev/null and b/icon-48.png differ diff --git a/manifest.json b/manifest.json index c0d82bc..c1c9c17 100755 --- a/manifest.json +++ b/manifest.json @@ -5,15 +5,15 @@ "background": { "scripts": ["background.js"] }, "page_action" : { - "default_icon" : "icon-16.jpg", + "default_icon" : "icon-16.png", "default_title" : "HackerNotes" }, "permissions" : [ "tabs" ], "icons" : { - "48" : "icon-48.jpg", - "128" : "icon-128.jpg" + "48" : "icon-48.png", + "128" : "icon-128.png" }, "manifest_version": 2 }