new features

This commit is contained in:
msramalho
2023-02-26 20:22:37 +01:00
parent 30d21c07b7
commit 45491157f5
12 changed files with 459 additions and 144 deletions

19
source/js/utils.js Normal file
View File

@@ -0,0 +1,19 @@
// /**
// *
// *
// */
// export async function callBackground(parameters) {
// try {
// const answer = await chrome.runtime.sendMessage(parameters);
// if (answer.status == "error") {
// console.error(`error: ${answer.result}`)
// //TODO: modal/errors
// return null;
// } else {
// return answer.result;
// }
// } catch (e) {
// console.error(e);
// return null;
// }
// }