Refuse to push special pages
This commit is contained in:
@@ -34,6 +34,10 @@ async function handleClick(tab, e) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!tab.url) {
|
||||||
|
throw 'missing tab.url';
|
||||||
|
}
|
||||||
|
|
||||||
const imgURL = await browser.tabs.captureTab(tab.id);
|
const imgURL = await browser.tabs.captureTab(tab.id);
|
||||||
|
|
||||||
let noteParts = [
|
let noteParts = [
|
||||||
|
|||||||
Reference in New Issue
Block a user