|
@@ -21,7 +21,7 @@ function doCommand(command, value) {
|
|
|
}
|
|
|
|
|
|
export default async function ({ data, id, label }) {
|
|
|
- if (!this.engine.isPopup)
|
|
|
+ if (!this.engine.isPopup && !this.engins.isMV2)
|
|
|
throw new Error('Clipboard block is not supported in background execution');
|
|
|
|
|
|
const hasPermission = await browser.permissions.contains({
|