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 theme you use, the toggle switch should look something like this when enabled: