Answer the question
In order to leave comments, you need to log in
Why does a security error occur when using getUrl() in Firefox WebExtension?
I'm trying to port an extension from Chrome and I get this error:
Security Error: Content at " example.com " may not load or link to "moz-extension://04d69802-c26f-47ae-86f2-d54650455e5a/blocks/indicators/__icon/indicators__icon -tweet.png"
(function () {
'use strict';
var PATHS = {
TWITTER: chrome.extension.getURL("blocks/indicators/__icon/indicators__icon-tweet.png")
};
})();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question