Skip to content

Commit

Permalink
🐛 Bookmarklet: Force disable stats collection
Browse files Browse the repository at this point in the history
  • Loading branch information
richardfrost committed Aug 14, 2024
1 parent 07a2341 commit ef73b1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/script/bookmarkletFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export default class BookmarkletFilter extends Filter {

cleanPage(config?: WebConfig) {
this.cfg = new this.Class.Config(config);
this.cfg.collectStats = false; // Bookmarklet: Force disable collection of stats
this.filterText = this.cfg.filterMethod !== this.Class.Constants.FILTER_METHODS.OFF;
this.domain = this.Class.Domain.byHostname(this.hostname, this.cfg.domains);

Expand Down

0 comments on commit ef73b1e

Please sign in to comment.