Chrome soon lets you enable or disable User Scripts Per Extension

"Allow User Scripts" setting coming soon for Chrome Extensions

Reading time icon 2 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Google Chrome is introducing a new feature that allows users to enable or disable user scripts on a per-extension basis via a setting in Extension permissions. This feature is intended for users who rely on extensions running custom JavaScript on web pages, like Tampermonkey or Simple User Scripts.

Until now, Chrome has had no settings or control over running user scripts for extensions, as they are potentially unsafe. Now, Google is granting users more control for users who rely on extensions with user scripts.

User scripts are small JavaScript programs that modify web pages, add features, remove elements, or automate tasks. While they improve the browsing experience, they can pose security risks if not reviewed. Chromium and Google Chrome support Greasemonkey-style user scripts.”Chrome: Control User Scripts for Each Extension

Control User Scripts for each Chrome Extension

With the new “Allow User Scripts” setting, users can control whether an extension is allowed to run user scripts. This setting is similar to the incognito setting in the extension preferences. It is only shown if the feature is enabled and the user scripts API permission has been granted for the extension.

Allow User Scripts Setting in Extension Permissions, Chrome.

“Allow User Scripts.The extension will be able to run code which has not been reviewed by Google. It may be unsafe and you should only enable this if you know what you are doing.”, the setting description reads.

Be cautious with extensions that run user scripts, as malicious scripts can compromise your privacy. Only install scripts from trusted sources and understand their permissions to minimize risks.

Until now, managing user scripts in Chrome required enabling Developer Mode, which allows users to install and test extensions not available on the Chrome Web Store. However, the new feature introduces the “user script per-extension toggle”, which can be used without enabling Developer Mode. This improvement makes the feature avaialble to all users, not just developers.

Apart from introducing the user scripts per extension setting, Chrome is bringing back the Bookmarks tree view in the Side panel and plans to use AI for Notification Permissions and in the Profile Picker with Gemini Live.

More about the topics: Chrome, Extensions

User forum

0 messages