Skip to content

Commit

Permalink
Add language key to anonymous reports (#11004)
Browse files Browse the repository at this point in the history
* Add `language` key to anonymous requests
  • Loading branch information
obfuscated-loop authored Jan 14, 2024
1 parent c4a2d15 commit d84f195
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/data/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ function reportWebsite(info, tab, anon, issueType, notes, callback) {
notes,
url: tab.url,
browser: getBrowserAndVersion(),
language:
navigator.language || Intl.DateTimeFormat().resolvedOptions().locale,
extensionVersion: chrome.runtime.getManifest().version,
}),
})
Expand Down

0 comments on commit d84f195

Please sign in to comment.