Skip to content

Commit

Permalink
Adding install URL
Browse files Browse the repository at this point in the history
  • Loading branch information
eyal-blockfence committed Aug 22, 2023
1 parent 64c178d commit 949ad41
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/scripts/background/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ chrome.runtime.onMessage.addListener(async function (request, sender, sendRespon

sendResponse({ status: 'ok' });
});

chrome.runtime.onInstalled.addListener((details) => {
if (details.reason === chrome.runtime.OnInstalledReason.INSTALL) {
chrome.tabs.create({ url: 'https://blockfence.io/thank-you/' });
// chrome.runtime.setUninstallURL('https://blockfence.io/feedback/');
}
});

0 comments on commit 949ad41

Please sign in to comment.