设置 Mac 版 Chrome 默认使用内置的 Flash 插件
2010年4月3日
发表评论
众所周知,从 Chrome 5.0.360.4 开始就正式在浏览器中集成了 Flash Player 插件,但目前使用内置的 Flash Player 插件还需要添加 --enable-internal-flash 启动参数。相信在 Windows 平台上大家添加启动参数已经很熟练了,但在 Mac 平台上怎么弄呢?其实不难,你只需要在终端执行如下语句:
$ cd "/Applications/Google Chrome.app/Contents/MacOS/"
$ sudo mv "Google Chrome" Google.real
$ sudo printf '#!/bin/bashncd "/Applications/Google Chrome.app/Contents/MacOS"n"/Applications/Google Chrome.app/Contents/MacOS/Google.real" --enable-internal-flash "$@"n' > Google Chrome
$ sudo chmod u+x "Google Chrome"
注意,其中的$是提示符,不需要输入。
经过上述操作之后,直接运行应用程序中的 Chrome 就可以使用内置的 Flash Player 插件了,记得进入 Chrome://plugins 将你已经安装的 Flash Player 插件禁用。当然,你还可以通过这个方法为 Chrome 加入更多的命令行启动参数。
Via macosxhints
除非特别声明,本站文章均为Chrome迷原创编译
我们欢迎任何形式的转载,但请务必注明出处,尊重他人的劳动就是尊重自己
转载文章请注明:文章转载自:Chrome迷 (http://www.chromi.org)
本文标题:设置 Mac 版 Chrome 默认使用内置的 Flash 插件
本文地址:http://www.chromi.org/archives/4034
我们欢迎任何形式的转载,但请务必注明出处,尊重他人的劳动就是尊重自己
转载文章请注明:文章转载自:Chrome迷 (http://www.chromi.org)
本文标题:设置 Mac 版 Chrome 默认使用内置的 Flash 插件
本文地址:http://www.chromi.org/archives/4034


非常适用,感谢楼主
有没有适合Linux的设置啊?好想知道!
linux版也很简单 直接终端:
/opt/google/chrome/google-chrome %U –enable-internal-flash
谢谢,知道了!
原来是有些参数只能在windows下用的,一开始我就刚好用那些参数在ubuntu里,結果不行!我还以为是linux版本的不能加参数,呵呵!
自动升级了是不是就不行了?
刚接触Chrome不久,想问一下 Windows 平台上添加启动参数是不是直接在其桌面快捷方式的属性上添加即可?
是的
sudo printf时出-bash: Google: Permission denied?
请教lz是什么问题?unix菜鸟= =