Update src/background.js

This commit is contained in:
elia 2024-10-24 15:40:33 +02:00
parent 9f14a58879
commit f9c306a6e1

View File

@ -1,4 +1,3 @@
// background.js
browser.commands.onCommand.addListener((command) => { browser.commands.onCommand.addListener((command) => {
if (command === "print-selection" || command === "fill-input") { if (command === "print-selection" || command === "fill-input") {
browser.tabs.query({ active: true, currentWindow: true }).then((tabs) => { browser.tabs.query({ active: true, currentWindow: true }).then((tabs) => {