Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private async loadFromRemote(): Promise {
this.debug('load from remote', { blockTrackers: this.opts.blockTrackers })
if (this.opts.blockTrackers === true) {
return PuppeteerBlocker.fromPrebuiltAdsAndTracking(fetch)
} else {
return PuppeteerBlocker.fromPrebuiltAdsOnly(fetch)
}
}