I'm trying to inject custom css onto a website. I keep getting a error message
Failed to load extension
File
C:\Users\username\Desktop\Mineplex+
ErrorCould not load css '' for content script.
manifest.js:
"name": "Mineplex+",
"author": "UCYT5040",
"version": "1.0",
"manifest_version": 3,
"background": {
"service_worker": "background.js"
},
"permissions": ["scripting", "tabs", "https://*.mineplex.com", "http://*.mineplex.com/*"],
"content_scripts": [
{
"matches": ["https://*.mineplex.com/*"],
"css" : ["https://Better-Mineplex-Forums.ucyt5040.repl.co/style.css"]
}
],
"action": {}
}
@wOxxOM answered as a comment.
cssshould contain a local path inside the extension, not an external URL. Downloadstyle.cssand place it inside the extension, then specifystyle.cssincsskey.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With