UtilsA.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 UtilsA.addAutoFilter.

UtilsA.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 will be fulfilled with no arguments.

Example

Copy code
UtilsA.removeAutoFilter("http://www.myco.com/*", true).then(function(){
  TCA.done();
}).catch(function (error) {
  TCA.doneWithError(error);
});