3

I have a private script that I'm trying to get to run as a userscript in Google Chrome, how do I do this without uploading it to a shared site like userscripts?

I've got google chrome setup with the additional startup parameter --enable-user-scripts

1 Answer 1

3

Update:

Navigate to chrome://extensions and drag the script onto the page. This was changed in Chrome 21; see http://crbug.com/128748 for more info.

Sign up to request clarification or add additional context in comments.

5 Comments

this just shows the script as a plaintext file in the chrome tab, no install extension shows up like it does if I click install at user scripts.
if I goto diveintogreasemonkey.org/download/helloworld.user.js I can install the script, BUT if I copy its contents into a js file and open that using file:// it does not work. Same is true if I put it on my website and open the url
Strange, it works for me. I'm on dev channel--4.0.266.0. If I download a script from userscripts.org and then copy the file path into the urlbar, I get a message on the download bar asking me if I want to continue, and when I click "Continue" it installs the user script. Maybe you need to get on the dev channel? (jldupont's link has more info on that)
yeah my script was ending in .js not .user.js so it wasn't being interpreted as a user script
This no longer works, you first need to navigate to chrome://chrome/extensions and drag the script onto this page

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.