mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 14:23:25 +00:00
Remove requestDomain from messaging
This commit is contained in:
@@ -24,7 +24,7 @@ const mapHeadersToDeclarativeNetRequestHeaders = (
|
||||
|
||||
const handler: PlasmoMessaging.MessageHandler<Request, BaseResponse> = async (req, res) => {
|
||||
try {
|
||||
await assertDomainWhitelist(req.body.requestDomain);
|
||||
await assertDomainWhitelist(req.sender.tab.url);
|
||||
|
||||
if (chrome) {
|
||||
await chrome.declarativeNetRequest.updateDynamicRules({
|
||||
|
Reference in New Issue
Block a user