Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sepetab/Plugin_Biodata-HPO-
Browse files Browse the repository at this point in the history
  • Loading branch information
azankl committed Sep 21, 2020
2 parents e3d8b95 + 919a6a9 commit c6a687c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 3 additions & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ chrome.runtime.onStartup.addListener(function() {
});

chrome.contextMenus.onClicked.addListener(function(item, tab) {
chrome.tabs.executeScript({
chrome.tabs.insertCSS({
file: 'static/css/loader.css'
}), chrome.tabs.executeScript({
code: 'var currentTab = ' + JSON.stringify(tab)
}, function() {
chrome.tabs.executeScript({
Expand Down
12 changes: 1 addition & 11 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,5 @@
"contextMenus",
"clipboardWrite",
"activeTab"
],
"content_scripts": [{
"matches": [
"http://*/*",
"https://*/*"
],
"css": [
"static/css/loader.css",
"static/css/loader.css.map"
]
}]
]
}

0 comments on commit c6a687c

Please sign in to comment.