Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
1  
Hmm, when I wrote my first Chrome user-script, the key to getting it to work was to make sure that the filename ended with .user.js instead of just .js, but you've already tried that. What exactly happens when you drag it to Chrome? Does it prompt you to save the file? –  Synetech Jun 6 '12 at 19:31
    
It does really nothing. It doesn't download or give any prompt. It's just like if I didn't actually do anything. –  Ahatius Jun 6 '12 at 19:33
    
possible duplicate of How do I install a userscript? –  Ƭᴇcʜιᴇ007 Jun 6 '12 at 19:35
    
Check the downloads page; is it listed in there? –  Synetech Jun 6 '12 at 19:36
1  
I've always just opened the *.user.js file and it prompted me to install it... –  nhinkle Jun 6 '12 at 22:07
show 3 more comments

2 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer
    
Wow, indeed, I have it enabled. I'll try it out as soon as I get to. Thanks. –  Ahatius Jun 7 '12 at 15:47
    
Tried it, and it works now. Thanks alot for this tip, I would never have tought about something like that. –  Ahatius Jun 8 '12 at 5:15
    
@Ahatius you're welcome - I'd run into the same (the linked bug report was filed by me). Glad you're able to get it running! –  Sathya Jun 8 '12 at 5:16
add comment

... 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.

share|improve this answer
    
Thanks for the update, good to know :) –  Ahatius Nov 4 '13 at 14:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.