Utils.removeAutoFilter

Removes a filter from the denylist or allowlist of URLs.

Use the exact same filter URL value that was added to the list using Utils.addAutoFilter.

Utils.removeAutoFilter(filter, isInclude);

Arguments

Name Description

filter

(string or RegExp) The URL to remove from the list.
isInclude(boolean) true indicates to remove the filter from the allowlist. false indicates to remove from the denylist.

Return value

A promise that is fulfilled with undefined upon success.

Example

Copy code
(async ()=>{
    await Utils.removeAutoFilter("http://www.myco.com/*", true);
})();