diff --git a/src/background.js b/src/background.js index 576af5a..bc970e8 100644 --- a/src/background.js +++ b/src/background.js @@ -117,7 +117,7 @@ chrome.runtime.onInstalled.addListener(function (object) { files: [scripts[i]] }); } - chrome.scripting.executeScript({ + chrome.scripting.insertCSS({ target: {tabId: tab.id}, files: [chrome.manifest.content_scripts[0].css[1]] }); diff --git a/src/manifest.json b/src/manifest.json index 0a6b83e..dda5cd1 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "name": "Omni", "description": "Supercharge Chrome with commands, shortcuts, and more", "offline_enabled": true, - "version": "1.0.8", + "version": "1.0.9", "manifest_version": 3, "action": { "icons": {