RevokeCash / browser-extension

🛡 Protect yourself from crypto scams online
https://revoke.cash/extension
MIT License
67 stars 23 forks source link

Move allowlist checks to background script #13

Closed rkalis closed 2 years ago

rkalis commented 2 years ago

In general I want all the complex logic to happen in the background script so it's easier to understand what is happening. So allowlist checks should be included in that. This means that we need to pass hostname from the content-script to the background script.