MV3 policies require you to be in developer mode in order to execute JavaScript code. Here's how to enable it:
chrome://extensions
Depending on the browser and theme you use, the toggle switch should look like one of these when enabled: