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:

  1. Anonymous4/8/09 08:54

    Forgot $*

    ReplyDelete
  2. Aye, fixed.

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

    ReplyDelete