未安装在默认位置时为 Chrome 安装 Flash Debug

ICR*_*ICR 3 linux flash google-chrome ubuntu

我没有在 var、opt 等中安装任何内容的必要权限,因此在我的用户文件夹中安装了 Google Chrome。

我想安装 Flash Debug,但是我找不到任何我有权放置 Chrome 将找到的插件的地方。有没有可能告诉它在哪里看?我试过 $chrome_dir/opt/google/chrome/plugins 但它没有出现在 about:plugins 中。

Col*_*ers 5

请注意,如果您使用的是 32 位或 64 位操作系统,这确实有所不同。Linux 没有 64 位调试器(感谢 Adob​​e !!),因此要运行它,您必须执行类似以下脚本的操作。我是从在线网站上获取的,所以我不确定原作者是谁。列出了一些信用。我不相信自己

基本上,AFAIK,Chrome 将使用来自 Firefox 的插件。此脚本将删除现有的任何内容,安装依赖项,例如 nspluginwrapper(使 32 位插件在 64 位上工作)和 ia32-libs 也是必需的,然后重新下载调试器插件并安装它

我认为现在 Chrome 捆绑了 Flash Player,您必须进入 about:plugins 并禁用集成调试器。有关更多信息,请参见此处:http : //kb2.adobe.com/cps/839/cpsid_83950.html

#!/bin/bash
# Script  created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# Super minor updates by jason.melton[at]gmail[dot]com
# Released under GPL  

echo "Stopping any Firefox that might be running"
sudo killall -9 firefox  

echo "Removing any other flash plugin previously installed:"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper  

echo "Installing ia32-libs and nspluginwrapper"
sudo apt-get install ia32-libs nspluginwrapper  

echo "Getting libs"
sudo getlibs -p libcurl3
sudo getlibs -p libnss3-1d
sudo getlibs -p libnspr4-0d  

echo "Installing Flash Player 10"
cd /tmp
wget http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_plugin_debug.tar.gz
tar zxvf flashplayer_10_plugin_debug.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/
sudo chmod +rx /usr/lib/mozilla/plugins/libflashplayer.so
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so  

echo "Linking the libraries so Firefox can find it."
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/  

echo "Done :-)"
Run Code Online (Sandbox Code Playgroud)