Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Enable extensions in Chromium (or Chrome) Web Browsers
Chromium (and Chrome) has lots of useful features that can only be enabled via command line switches when launching, such as extensions, user script support, and bookmark sync.

Rather than launch via the command line every time, I use the following script to patch the --enable-extensions command line arguments into the application bundle itself:
#!/bin/sh
# Patches the Chromium application installation with command line arguments to enable extensions.
set -o errexit
app=${1:-/Applications/Chromium.app}
cat >$app/Contents/MacOS/Chromium.wrapper <<EOF
#!/bin/sh
exec $app/Contents/MacOS/Chromium --enable-extensions "\$@"
EOF
chmod 755 $app/Contents/MacOS/Chromium.wrapper
defaults write $app/Contents/Info CFBundleExecutable Chromium.wrapper
Additional arguments that can be useful are --enable-sync and --enable-user-scripts.

[robg adds: To use the above, save it in Terminal text editor, make it executable (chmod a+x scriptname), and then run the script. You can find Chromium Mac builds here, and this hint explains how to automatically update to the latest build. I tested this script, and it seemed to work with the latest build of Chromium. Note that the script assumes Chromium is in /Applications; if you have it elsewhere, you'll need to modify the app=... line.]
    •    
  • Currently 2.40 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (20 votes cast)
 
[50,394 views]  

Enable extensions in Chromium (or Chrome) | 11 comments | Create New Account
Click here to return to the 'Enable extensions in Chromium (or Chrome)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable extensions in Chromium (or Chrome)
Authored by: RickyB on Dec 02, '09 01:28:09PM

Extensions are enabled by default on the developer version of Chrome, which you should probably be running anyway if you want the latest features, as this version has the latest updates. The extensions (like AdBlock Plus) install automatically if you download them. Then you can go to chrome://extensions/ in your browser to enable/disable the extenstions or to change options. Go here to download:

http://www.chromium.org/getting-involved/dev-channel



[ Reply to This | # ]
Not in the latest build...
Authored by: maddys_daddy on Dec 06, '09 11:16:24PM

Unfortunately, as of the latest Dev-build (4.0.249.27), extensions and scripts are disabled again. See the release notes: http://googlechromereleases.blogspot.com/2009/12/dev-channel-update_04.html

ARRGGHHH!!!!! Why is Google constantly shorting us Mac users?



[ Reply to This | # ]
Enable extensions in Chromium (or Chrome)
Authored by: shakezilla on Dec 08, '09 11:45:26AM

Both the beta release (on 12/8/09) and the dev releases of the Google Chrome Web browser at this time have extensions disabled.

The above script won't work since "Google Chrome" is the name, rather than "Chromium". I haven't had luck changing the name in the script. I tried escaping the space with a "\ " but that didn't work, either. For instance: Google\ Chrome



[ Reply to This | # ]
Enable extensions in Chromium (or Chrome)
Authored by: dast on Dec 08, '09 01:31:13PM

Chromium disabled Exensions on MAC on revision 33490:

# [r33490] Disabled extensions. (Issue: 29086)

read here: http://googlechromereleases.blogspot.com/

what we can do ?

Install older version: http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/33481/chrome-mac.zip

use the script in this article.
( i used this exec: exec /Applications/Chromium.app/Contents/MacOS/Chromium --enable-extensions --enable-user-scripts )

drag the "AdSweep.crx" from http://adsweep.org/ in the browser window.

look at chrome://extensions/

     AdSweep - Version: 2.0.3 installed

now the Chrome Browser is usable !

Thanks to mameso for this info !

Tags: google chrome chromium mac osx adblock without ads AdSweep ohne werbung

for AdThwart: download the source from http://qux.us/adthwart/ and extract the zip and use "Pack extension" on chrome://extensions/

Edited on Dec 08, '09 02:24:16PM by dast


[ Reply to This | # ]
Enable extensions Install button in Chromium
Authored by: labjerk on Dec 08, '09 02:52:31PM

I hear extensions will be enabled for Mac's Chrome soon, so this is just a stop-gap but try this:

1) Go here: http://grack.com/blog/2009/12/08/re-enable-install-button-for-mac-chrome-extensions

2) Drag the Enable Extensions bookmarklet to your bookmarks bar

3) Go to Google's extensions gallery: https://chrome.google.com/extensions

4) When you get to the main page of an extension you want to install, click the bookmarklet. It will enable the blue INSTALL button

5) You can figure out the rest...

Note that I've only tested this in build 34084.

Edited on Dec 08, '09 02:55:35PM by labjerk



[ Reply to This | # ]
Enable extensions in Chromium (or Chrome)
Authored by: kemeng on Dec 13, '09 03:25:15PM
Another way: 1) Download developer build Index of /buildbot/snapshots/chromium-rel-mac 2) And use Google Chrome Extensions If you want disable automatic spelling check: 1) Open ~/Library/Application Support/Chromium/Default/Preference 2) And put inserted lines: http://img.skitch.com/20091213-qitib5trjr55ikgmdtx2b9tn92.png
Edited on Dec 13, '09 03:28:50PM by kemeng


[ Reply to This | # ]
Enable extensions in Chromium (or Chrome)
Authored by: prepressgeek on Dec 15, '09 04:59:06PM

Rather than trying to change the script, try renaming the app to Chromium.app which worked for me. Then if you want, change it back to Google Chrome.app.



[ Reply to This | # ]
Enable extensions in Chromium (or Chrome)
Authored by: ae6dx on Dec 18, '09 12:29:32AM

How do I save this script in Terminal as Rob G directs?



[ Reply to This | # ]
Enable extensions in Chromium (or Chrome)
Authored by: LimitlessX72 on Feb 14, '10 10:27:24AM

[code]
#!/bin/sh
# Patches the Google Chrome application installation with command line arguments to enable extensions.
set -o errexit
app=${1:-/Applications/Google\ Chrome.app}
cat >$app/Contents/MacOS/Chrome.wrapper <<EOF
#!/bin/sh
exec $app/Contents/MacOS/Google\ Chrome --enable-extensions "\$@"
EOF
chmod 755 $app/Contents/MacOS/Chrome.wrapper
defaults write $app/Contents/Info CFBundleExecutable Chrome.wrapper
[/code]

to get this working correctly under google chrome use this code and place it as a text file in the shared /Users/Shared/ folder with Smultron

now set it as executable, I used batchmod for this, and using batchmod again check that the ownership of google chrome app is set to an admin

As I use a separate account for admin duties (as everyone should do) so unless your logged in as such, go to step one. if you are, go to step 3

1. login "adminname" enter
2. password enter
3. drag the script file into the window. enter

job done. I would keep this here for convenience as future updates will overwrite the changes it has made. As an added bonus if you want to add more flags in the future, open the chrome.wrapper in the google chrome/contents/mac os/ folder in smultron add the flags, save and authenticate.



[ Reply to This | # ]
Enable extensions in Chromium (or Chrome)
Authored by: LimitlessX72 on Feb 18, '10 04:41:57AM

this is broken as of 5.0.307.9 beta I have no idea why it isn't working as the flags still work if used via terminal



[ Reply to This | # ]
Enable extensions in Chromium (or Chrome)
Authored by: tramnineteen on Jul 02, '10 01:12:54PM

When I try to save this in Applescript editor it tells me "A identifier can't go after this identifier." and it highlights "o errexit" from the 3rd line.

Help anyone? I'm a code noob.



[ Reply to This | # ]