title: Can detect when a browser extension has access to document cookies in the browser?
body: <p>I'm playing around with a browser extension for a website I'm helping out with, and I'm asking for the 'cookies' permission in the manifest.json file.</p>
  <p>I'm wondering if on the website side of things, there is a way to block that permission to cookies access or more specifically to listen to when it has been granted and display something to the user?</p>
  <p>Unfortunately, googling 'detect cookies permissions from a browser extension' just brings up thousands of articles about how to turn of the cookie popups on websites in the EU.</p>