Chromium has a feature that allows extensions to "Read and Change Site Data" on a certain URL or when you click the extension. I made my own extension which takes advantage of this feature as certain elements aren't fully loaded when the extension runs on the page. However, by forcing it to run only when I click the extension icon, it works perfectly.
This would also be a neat feature for those who don't want their extensions to always read their page content. By clicking it, you allow it to execute page actions.
Here's a screenshot from Brave: