CSS file injection on install

This commit is contained in:
Alyssa X 2022-01-12 15:06:20 +01:00
parent 78618c41ce
commit d525c19fac
2 changed files with 5 additions and 1 deletions

View file

@ -117,6 +117,10 @@ chrome.runtime.onInstalled.addListener(function (object) {
files: [scripts[i]]
});
}
chrome.scripting.executeScript({
target: {tabId: tab.id},
files: [chrome.manifest.content_scripts[0].css[1]]
});
}
// Get all windows

View file

@ -2,7 +2,7 @@
"name": "Omni",
"description": "Supercharge Chrome with commands, shortcuts, and more",
"offline_enabled": true,
"version": "1.0.6",
"version": "1.0.7",
"manifest_version": 3,
"action": {
"icons": {