this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 14 lines 505 B view raw
1// Set up cross-browser compatibility 2const storage = 3 typeof browser !== "undefined" ? browser.storage.local : chrome.storage.local 4const management = 5 typeof browser !== "undefined" ? browser.management : chrome.management 6 7document.getElementById("accept").addEventListener("click", function () { 8 storage.set({ privacyConsentAccepted: true }) 9 window.close() 10}) 11 12document.getElementById("decline").addEventListener("click", function () { 13 management.uninstallSelf({ showConfirmDialog: true }) 14})