1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 04:40:20 +01:00

Remove usage of deprecated browser.extension.getURL

This commit is contained in:
kkapsner 2023-05-30 19:04:02 +02:00
parent 8a84dd09f3
commit 2a6c564ed8

View File

@ -73,7 +73,7 @@
};
scope.getURL = function getURL(str){
return (browser.runtime.getURL? browser.runtime.getURL: browser.extension.getURL)(str);
return browser.runtime.getURL(str);
};
scope.extensionID = browserAvailable? scope.getURL(""): "extensionID";