Answer the question
In order to leave comments, you need to log in
How to port extensions from Opera(chrome) to Firefox and also to Safari?
How to port extensions from Opera(chrome) to Firefox? When checking on the firefox site, a warning for the given lines and . (replaced from chrome to browser, but the problem was not solved)chrome.storage.local.get("adat", function(data) {
chrome.storage.local.set({adat: texts});
var forcopy = document.body.getElementsByClassName("pull-left btn btn-search-pill");
var texts = [];
for ( var cs = 0; cs < forcopy.length; cs++ ) {
texts.push(forcopy[cs].textContent);
}
chrome.storage.local.set({adat: texts});
chrome.storage.local.get("adat", function(data) {
if(typeof data.adat == "undefined") {
} else {
document.getElementById("shuttertexts").textContent = data.adat;
document.getElementById("shuttertexts").select();
}
});
Answer the question
In order to leave comments, you need to log in
It also says - you need to specify id in the manifest:
...
"applications": {
"gecko": {
"id": "[email protected]"
}
}
...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question