6

Installing Greasemonkey user scripts could not be any easier, usually, but how do you install a .js file which has already been downloaded like, for example, from GitHub, or copied from pastebin?

With Google Chrome's built-in Greasemonkey support there is no apparent interface to do this, and I cannot find any suitable location in the user directory.

paradroid
  • 22,761
  • 10
  • 76
  • 114

2 Answers2

3

Rename the file to *.user.js and drag and drop the file to Chrome. It'll prompt you if you want to proceed with the installation. The script will be converted to a Chrome extension and installed.

paradroid
  • 22,761
  • 10
  • 76
  • 114
Sathyajith Bhat
  • 61,504
  • 38
  • 179
  • 264
2

Ok, it now says

Extensions, apps, and user scripts can only be added from the Chrome Web Store.

But you can still drag and drop user scripts or extensions onto chrome://chrome/extensions/ page aka Menu — Tools — Extensions.

jibiel
  • 233
  • 1
  • 2
  • 7