mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 08:33:25 +00:00
cleanup, add icon
This commit is contained in:
BIN
assets/icon.png
BIN
assets/icon.png
Binary file not shown.
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 6.1 KiB |
@@ -54,12 +54,10 @@ const handler: PlasmoMessaging.MessageHandler<RequestBody> = async (req, res) =>
|
||||
});
|
||||
|
||||
if (chrome.runtime.lastError?.message) throw new Error(chrome.runtime.lastError.message);
|
||||
const currentRules = await chrome.declarativeNetRequest.getDynamicRules();
|
||||
|
||||
res.send({
|
||||
success: true,
|
||||
body: req.body,
|
||||
currentRules,
|
||||
});
|
||||
} catch (err) {
|
||||
res.send({
|
||||
|
Reference in New Issue
Block a user