We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef59fc1 commit ab9bd6dCopy full SHA for ab9bd6d
1 file changed
src/background/heuristics.ts
@@ -9,6 +9,7 @@ import { Baize } from '../baize/baize'
9
import { getHost } from '../core/utils'
10
import { UrlParse } from '../baize/lib/urlparse'
11
import { tabsBlockCount, updateBadgeText } from '../background/adguardEngine'
12
+import * as statistics from '../background/statistics'
13
14
let heuristicsEnabled: boolean = false
15
@@ -57,6 +58,7 @@ export async function initialize() {
57
58
logger.info(`BAIZE Blocked: ${requestUrl}`)
59
tabsBlockCount.get(details.tabId).count = tabsBlockCount.get(details.tabId).count + 1
60
updateBadgeText(details.tabId)
61
+ statistics.countEvent('adblock')
62
return { cancel: true }
63
}
64
0 commit comments