cleanup, add icon

This commit is contained in:
Jorrin
2024-01-08 16:50:20 +01:00
parent 4a8b0d2a81
commit fa16b5844e
2 changed files with 0 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@@ -54,12 +54,10 @@ const handler: PlasmoMessaging.MessageHandler<RequestBody> = async (req, res) =>
}); });
if (chrome.runtime.lastError?.message) throw new Error(chrome.runtime.lastError.message); if (chrome.runtime.lastError?.message) throw new Error(chrome.runtime.lastError.message);
const currentRules = await chrome.declarativeNetRequest.getDynamicRules();
res.send({ res.send({
success: true, success: true,
body: req.body, body: req.body,
currentRules,
}); });
} catch (err) { } catch (err) {
res.send({ res.send({