A209 对于在基于 Chrome 的浏览器中使用 Tampermonkey 扩展(版本 5.3+)的用户,必须启用 “允许用户脚本”切换开关(在 Chrome 138+ 中可通过扩展设置找到)或 开发者模式。
由于用户脚本的两步授权过程,需要额外的权限:userScripts 权限和切换开关或开发者模式。
仅有 userScripts 权限在安装时不会触发用户警告,反映了 Google 确保用户在运行使用用户脚本的扩展时做出明智决定的意图。
要启用这些设置:
Click the image to view it in full size
Click the image to view it in full size
chrome://extensions 或 edge://extensions。
Click the image to view it in full size
Click the image to view it in full size
Click the image to view it in full size
此操作可通过 Tampermonkey 启用 userScripts API 的使用。