Skip to content

Commit cb635be

Browse files
committed
fix uninstall survey url
1 parent f47a317 commit cb635be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

public/background.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
);*/
55

66
const uninstallUrl = `https://hackertab.dev/uninstall.html`;
7+
var anonymousUserId = window.localStorage.getItem('hackerTabAnalyticsId')
8+
79
if (chrome.runtime.setUninstallURL) {
8-
chrome.runtime.setUninstallURL(uninstallUrl);
10+
chrome.runtime.setUninstallURL(`${uninstallUrl}?u=${anonymousUserId}`)
911
}

0 commit comments

Comments
 (0)