Skip to content

Commit

Permalink
Tweak settings to match MIC
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsilver committed Mar 15, 2019
1 parent 28384c8 commit 1c96fef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function() {
'use strict';

var BASE_URL = 'https://go.hackmit.org/';
var BASE_URL = 'http://go.mitmic.io/';

function navigate(url) {
chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {
Expand Down
2 changes: 1 addition & 1 deletion content.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
replace: function(portion, match) {
var a = document.createElement('a');
a.href = 'https://go.hackmit.org/' + match[1];
a.href = 'http://go.mitmic.io/' + match[1];
a.innerText = 'go/' + match[1];
return a;
},
Expand Down
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "HackMIT Go",
"description": "To activate, type 'go' followed by a tab or space into the Omnibox. Then enter your term and press enter to submit.",
"name": "MIT MIC Go",
"description": "To activate, type 'mi' followed by a tab or space into the Omnibox. Then enter your term and press enter to submit.",
"version": "1.1.0",
"background": {
"scripts": ["background.js"]
Expand All @@ -19,6 +19,6 @@
"permissions": [
"<all_urls>"
],
"omnibox": { "keyword" : "go" },
"omnibox": { "keyword" : "mi" },
"manifest_version": 2
}

0 comments on commit 1c96fef

Please sign in to comment.