Skip to content

Commit 4d214a7

Browse files
committed
DEV-636: do not show Install extension if extension installed
1 parent c0c01ab commit 4d214a7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/injected.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
const detectors = require('vue-telemetry-analyzer/src/detectors')
44

5+
window.$vueTelemetryExtension = true
6+
57
async function analyze () {
68
if (isBlacklisted(document.location.href)) return
79
const originalHtml = await fetch(document.location.href).then(res => res.text())

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"content_scripts": [
1212
{
13-
"run_at": "document_idle",
13+
"run_at": "document_start",
1414
"matches": [
1515
"<all_urls>"
1616
],

0 commit comments

Comments
 (0)