Skip to content

Commit

Permalink
feat: explicitly fetch easylist url
Browse files Browse the repository at this point in the history
  • Loading branch information
amhsirak committed Dec 11, 2024
1 parent c2ce3f3 commit 44880cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maxun-core/src/interpret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default class Interpreter extends EventEmitter {
};
}

PlaywrightBlocker.fromPrebuiltAdsAndTracking(fetch).then(blocker => {
PlaywrightBlocker.fromLists(fetch, ['https://easylist.to/easylist/easylist.txt']).then(blocker => {
this.blocker = blocker;
}).catch(err => {
this.log(`Failed to initialize ad-blocker:`, Level.ERROR);
Expand Down

0 comments on commit 44880cf

Please sign in to comment.