strip-fetch-query-parameter

The strip-fetch-query-parameter strips a query string parameter from fetch() calls.

You can use this snippet to remove parameters from fetch calls that mach a urlPattern, if provided. If urlPattern isn't provided, the parameter gets stripped from all fetch calls.

Parameters

Filter examples

The following table lists examples that use the strip-fetch-query-parameter snippet:

Last updated