Muffinresearch Labs by Stuart Colville

Can’t install user.js in Google Chrome | 2 Comments

Posted in Browsers on 1st October 2012, 8:36 am by

In recent Chrome versions (22 in my case on Ubuntu) it’s not possible to install user.js (Greasemonkey) scripts by just dragging them onto a window. Instead the script is downloaded and you see the following message:

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

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

Fortunately the resolution is quite straight-forward. First download the script you want to a local directory/folder, then go to chrome://chrome/extensions/ and drag the user.js script there instead. This feature is designed to protect users from malicious installs and as long as you know the workaround to install user.js scripts it’s not too much of a big deal.

Post Tools

  • Me

    The correct link is chrome://extensions/

  • http://muffinresearch.co.uk/ Stuart Colville

    For me on both Chrome and Chromium on Ubuntu chrome://extensions/ redirects to chrome://chrome/extensions/

Insert a tab character in vim when expand tabs is on|(0)

I have vim set-up to use spaces in place of tabs. Sometimes you need to use an actual tab e.g. editing a Makefile. Now whilst it’s possible to change settings so that tabs are used for specific files, a quick tip to remember is to simply type in insert mode:

Ctrl+v tab

That is Ctrl and “V” and hit the tab key, et voila you’ve entered an actual tab.

GNU screen: open tab in current working directory|(1)

A nice trick for having screen open a new tab in the same directory as the one you’re currently in. To use it add it to your .screenrc

# Open new window in current dir.
bind c stuff "screen -X chdir \$PWD;screen^M"
bind ^c stuff "screen -X chdir \$PWD;screen^M"

Hat tip: mteckert on SuperUser.com

Photos on Flickr

© Copyright 2004-13 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.478s.