怎么在chrome中禁用flash?
Tofloor
poster avatar
辉辉
deepin
2017-09-16 04:24
Author
大家都拼命找到使用flash插件的方法,其实我好想禁用掉这个flash,一堆的广告,看视频可以试试h5版的页面,比那个flash好多了。chrome的flash选项一直是灰色不可选,怎么办?
Reply Favorite View the author
All Replies
avatar
何来
deepin
2017-09-16 21:28
#1
其实我也想,60之前的版本都可以设置成手动运行或关闭,现在提示要管理员才能关闭,难道真要手动开root用户禁用?
Reply View the author
avatar
fxh303
deepin
2017-09-30 21:58
#2
本帖最后由 fxh303 于 2017-9-30 14:08 编辑

我也不喜欢在网页中运行flash广告,运行flash广告CPU资源占用比较高。而新版chrome的flash设置又是不可设置的灰色,不过在百度上搜到了方法,并且试了一下第二个,可行。
输入如下的网址:
chrome://flags/#prefer-html-over-flash
在选项中,把default改为 enabled重启浏览器就可以了

原文地址:https://jingyan.baidu.com/article/2fb0ba408a061300f2ec5f1b.html

--------------------------------------------------------------------

不过用这个方法禁用flash之后,在视频网站用flash插件播放视频时,flash插件会发生崩溃。还是用火狐吧
Reply View the author
avatar
jingle
deepin
2017-09-30 22:15
#3
https://bbs.deepin.org/post/145571
我也不喜欢在网页中运行flash广告,运行flash广告CPU资源占用比较高。而新版chrome的flash设置又是不可设置 ...

不能两全 不过这个方法可以收藏
Reply View the author
avatar
Island
deepin
2017-09-30 23:11
#4
sudo rm /etc/opt/chrome/policies/recommended/defalut-plugins-setting.json
Reply View the author
Comments
d-d-d-d-d
2018-05-07 03:58
人间正道
avatar
何来
deepin
2018-05-07 04:07
#5
也可以这样,麻烦一点
$su
#cd /etc/opt/chrome/policies/recommended
#gedit defalut-plugins-settings.json
在弹出的文本里,将唯一的数字1改成0,保存,打开浏览器就不是灰色的了。
Reply View the author