Skip to content

Commit

Permalink
adding an on install link to instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark MacGillivray committed Oct 2, 2017
1 parent 10841dc commit 547e2b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions js/oab.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,11 @@ try {

try {
chrome.runtime.setUninstallURL(site_address + '/feedback#uninstall');
} catch(err) {}

try {
function instruct() {
chrome.tabs.create({'url': site_address + '/instructions'});
}
chrome.runtime.onInstalled.addListener(instruct);
} catch(err) {}
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Open Access Button",
"short_name": "OAbutton",
"version": "4.1.3",
"version_name": "oabutton_4.1.3",
"version": "4.1.4",
"version_name": "oabutton_4.1.4",
"manifest_version": 2,
"description": "Push Button. Get Research. Make Progress.",
"icons": {
Expand Down

0 comments on commit 547e2b7

Please sign in to comment.