mirror of
https://github.com/alyssaxuu/omni.git
synced 2026-03-11 08:54:35 +00:00
CSS file injection on install
This commit is contained in:
parent
78618c41ce
commit
d525c19fac
2 changed files with 5 additions and 1 deletions
|
|
@ -117,6 +117,10 @@ chrome.runtime.onInstalled.addListener(function (object) {
|
||||||
files: [scripts[i]]
|
files: [scripts[i]]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
chrome.scripting.executeScript({
|
||||||
|
target: {tabId: tab.id},
|
||||||
|
files: [chrome.manifest.content_scripts[0].css[1]]
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get all windows
|
// Get all windows
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "Omni",
|
"name": "Omni",
|
||||||
"description": "Supercharge Chrome with commands, shortcuts, and more",
|
"description": "Supercharge Chrome with commands, shortcuts, and more",
|
||||||
"offline_enabled": true,
|
"offline_enabled": true,
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"action": {
|
"action": {
|
||||||
"icons": {
|
"icons": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue