鏈接:https://www.zhihu.com/question/266170237/answer/342137190
## Chrome 69.0之前 ##
1. 打開 chrome://settings/content/flash
2. 禁止網站運行Flash -> 改為“先詢問(推薦)”
3. 允許->添加
4. 添加網站->添加
依次將常見頂級域名加入允許名單
[*.]com
[*.]net
[*.]org
[*.]cn
## Chrome 69.0~70.0 ##
69.0~70.0,Flash權限受到進一步限制,默認僅在當前瀏覽會話有效。
關閉Ephemeral Flash Permission,才能看到“添加”按鈕。
### 方案1 - 修改用戶配置 ###
1. 打開 chrome://flags/#enable-ephemeral-flash-permission
2. 把它從Default改為Disabled
3. 重新打開Chrome,進入 chrome://settings/content/flash
4. 將域名添加到允許名單
### 方案2 - 修改快捷方式 ###
1. 修改快捷方式
修改前:C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe
修改后:C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe --disable-features=EnableEphemeralFlashPermission
2. 重新打開Chrome,進入 chrome://settings/content/flash
3. 將域名添加到允許名單
## Chrome 71.0 以上 ##
從71.0開始,Flash插件的Ephemeral模式不可關閉。
修改允許名單,要動用“Chrome政策模板”,對Windows來說最終就是注冊表。
請注意這是一項危險操作:
新建【.reg】后綴的文件,將下面內容復制進去,保存,然后導入到注冊表,重啟Chrome即可生效。
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Google\Chrome\PluginsAllowedForUrls] "1"="[*.]com" "2"="[*.]net" "3"="[*.]org" "4"="[*.]cn"
寫入注冊表后,重啟Chrome。進入chrome://settings/content/flash即可看到效果。
## 補充 ##
新建【.reg】后綴的文件,將下面內容復制進去,保存,然后導入到注冊表,重啟Chrome即可生效。
按協議允許,而不是域名:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Google\Chrome\PluginsAllowedForUrls] "1"="https://*" "2"="http://*"
普通用戶看這些設置都暈倒了,還是IE最好用!!!!!