Skip to content

Commit

Permalink
fix: allow “other” type network requests
Browse files Browse the repository at this point in the history
publix-coupon-clipper started failing in Chrome v83+ due to several
OPTIONS requests being blocked by our network filtering. The
`request.resourceType()` of these is “other” which was not part of our
whitelisted set of types.
  • Loading branch information
davecardwell committed Jun 17, 2020
1 parent 40ec9a8 commit 29ca24c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ function filterRequests(request: Request): void {
break;

case "fetch":
case "other":
case "script":
case "xhr":
void request.continue();
Expand Down

0 comments on commit 29ca24c

Please sign in to comment.