3

I created a JavaScript file, and named it test.user.js. I tried double clicking it, dragging & dropping it into Chrome and opening it with Chrome, but it won't install.

I've already installed the dev version of Chrome, because it's stated somewhere that it's needed, but I can't get it to work. Then, I tried searching for a Chrome Greasemonkey addon, just to see that it was no further developed on, because Chrome has built-in support.

Could someboy tell me what I have to do in order to get user scripts working on Chrome v21?

Dennis
  • 50,701
Ahatius
  • 207

3 Answers3

2

April 2020 Answer

In Chrome 81+, go to chrome://extensions, click to enable Developer Mode on the top right corner, then drag and drop to install your .user.js script.

2

Check if you have "New Downloads UI" enabled in chrome://flags/. If so, disable it & relaunch it.

This is known to prevent user scripts from being downloaded.

1

... I tried searching for a Chrome Greasemonkey addon, just to see that it was no further developed on, because Chrome has built-in support.

Tampermonkey is a Greasemonkey equivalent for Chrome and is currently being actively developed.

Tampermonkey is a free browser extension and the most popular userscript manager for Blink-based Browsers like Chrome and Opera Next. Even though Google Chrome does have native support for Userscripts, Tampermonkey can give you much more convenience in managing your Userscripts. It provides features like automatic update checks, a overview what scripts are running at a tab and there is a good chance that scripts that are incompatible to Google Chrome run with Tampermonkey.

Tampermonkey is available for Google Chrome, Opera, Chromium and a lot of their derivates like CoolNovo and Rockmelt.