mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Do not use browser.extension.getURL
This commit is contained in:
parent
6f5cfc1080
commit
7f154c6cc6
6 changed files with 20 additions and 14 deletions
|
@ -13,9 +13,10 @@
|
|||
}
|
||||
|
||||
const settings = require("./settings");
|
||||
const extension = require("./extension");
|
||||
|
||||
scope.init = function(page){
|
||||
const basePath = browser.extension.getURL("themes");
|
||||
const basePath = extension.getURL("themes");
|
||||
|
||||
const baseLink = document.createElement("link");
|
||||
baseLink.href = `${basePath}/base/layout.css`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue