Hi Dmitry,
We've had a lot of discussion about this, but at the moment it is the intended behavior.
Access to user scripts, as you know, requires the following:
- The `userScripts` permission.
- The "Allow user scripts" toggle.
Currently the permissions API is only concerned with 1). The permission has no associated warning so it is always granted immediately when requested.
We've discussed having it check both, but it becomes quite difficult to figure out how other things would work in that case. For example, do we return false from permissions.request? The permission request was successful, but you can't actually use the API yet.
There might be a better approach but for now we prioritized shipping the new toggle and we can always revisit this in the future.