If it won't be simple, it simply won't be. [Hire me, source code] by Miki Tebeka, CEO, 353Solutions

Tuesday, August 04, 2009

Enabling Flash on Google Chrom (OSX)

The current release of Google Chrom For Mac has support for Flash, but you need to enable it with the --enable-plugins command line switch.

Here's how to make it persistent (well, until the next update):
[17:31] ~ $cd /Applications/Google\ Chrome.app/Contents/MacOS/
[17:32] MacOS $sudo mv Google\ Chrome _chrome
[17:32] MacOS $sudo gvim Google\ Chrome
[17:33] MacOS $sudo chmod +x Google\ Chrome


And the content of the new Google Chrome is:
#!/bin/bash


"/Applications/Google Chrome.app/Contents/MacOS/_chrome" --enable-plugins $*


Happy surfing ...

2 comments:

Anonymous said...

Forgot $*

Miki Tebeka said...

Aye, fixed.

However since only open it by clicking on it (or rather using QuickSilver), it didn't matter that much.

Blog Archive