如果您是Chrome 用户(Chrome user),您应该是,您可能已经注意到Flash在浏览器中默认被阻止。Google不喜欢Flash ,因为(Flash)Flash本身存在主要的安全漏洞 ,因此会尽其所能迫使您不要使用Flash。
唯一的问题是仍然有很多使用Flash的网站。您每天访问的主要网站(如Facebook、Instagram等)都没有使用它,但许多较小和较旧的网站只是懒得切换到HTML 5。例如,我正在当地社区大学学习(community college)思科课程(Cisco course),为了完成作业,我必须登录思科的NetAcademy 网站(NetAcademy website)。问题是有些问题需要Flash才能查看和回答。
如果您在Google 上快速搜索(Google search)在Chrome中启用Flash,您会看到很多文章告诉您从 Adobe 的网站下载Flash并安装它(这不起作用)或打开Chrome 选项卡(Chrome tab)并转到chrome://plugins(也不再工作)。在最新版本的Chrome (57) 中,您无法再通过访问该URL来管理插件。相反,您只会收到“无法访问此站点(This site can’t be reached)”消息。
这是非常不直观的,真的让我很困惑,因为我习惯于去那里根据需要启用或禁用Flash。现在似乎他们只希望您为需要它的特定站点启用它。在本文中,我将解释如何在需要时让Flash工作,以及如何在其他情况下禁用它。
检查 Chrome Flash 设置
首先,让我们检查一下Chrome中的(Chrome)Flash设置。有几个地方可以做到这一点。打开一个新选项卡并输入(tab and type)chrome chrome://flags。
确保Prefer HTML over Flash和Run all Flash content when Flash setting is set to “allow”设置为Default。打开另一个选项卡并输入chrome://components。在Adobe Flash Player下,单击检查更新(Check for update)按钮。
现在点击右上角的Chrome 菜单(Chrome menu)按钮,然后点击(right and click)Settings。
向下滚动(Scroll)到页面底部,然后单击(page and click)Show Advanced Settings(Show Advanced Settings)。向下滚动(Scroll)一些,然后单击隐私(Privacy)下的内容设置( Content Settings)。
在弹出对话框(popup dialog)中,向下滚动直到看到Flash标题。确保选中允许站点运行 Flash 之前先询问(推荐)(Ask first before allowing sites to run Flash (recommended))框。显然,如果您想在Chrome中完全阻止(Chrome)Flash,请选择阻止站点运行 Flash(Block sites from running Flash)。除非您有真正正当的理由,例如在虚拟机中使用(machine or something)Chrome或其他什么,否则您永远不应选择允许站点运行 Flash(Allow sites to run Flash)。
允许站点运行 Flash
现在是有趣的部分!为了运行Flash,您只需为特定站点启用它。不再有始终为所有内容启用它的选项。为Flash(Flash)指定站点的一种方法是单击Content Settings – Flash下的(Content Settings – Flash)Manage exceptions按钮, 如上面的屏幕截图所示。
如您所见,我添加了我之前讨论过的NetAcad 站点,并将(NetAcad site)Behavior设置为Allow。这个方法有点麻烦,因为(Flash)你必须(address bar)去设置(Settings)页面(URL)等.
如果连接使用HTTPS ,该图标将是一个锁定图标(lock icon),如果连接不安全,它将是一个信息图标。(information icon)单击此图标时,您会看到可以为该特定站点配置的一系列设置。朝向底部将是Flash。默认情况下,它应该设置为Use global default (Ask),这意味着浏览器应该询问您是否要为具有Flash 内容的站点启用(Flash content)Flash。
但是,根据我的经验,即使网站上有明确的Flash 内容,浏览器也不会真正要求我启用(Flash content)Flash 内容(Flash content)。所以,为了让Flash工作,我基本上必须选择“始终允许在此站点上”选项。(Always allow on this site)请注意,您可能必须关闭选项卡并重新加载(tab and reload)它才能正确显示Flash 内容。(Flash content)
就是这样。希望这能准确阐明Flash在最新版本的Chrome中的工作方式。我相信它很快就会再次改变,所以我一定会更新这篇文章以防万一。如果您有任何问题,请发表评论。享受!
How to Enable Flash in Chrome for Specific Websites
If you’re a Chrome user, which you should be, you probably haνe noticed that Flash is blocked by default in the browser. Google does not like Flash beсause of the major seсurіty flaws inherent in Flаsh and therefore does everything in its power to force you not to usе Flash.
The only problem is there are still a lot of sites that use Flash. None of the major sites you visit every day like Facebook, Instagram, etc. use it, but a lot of smaller and older sites just haven’t bothered to switch to HTML 5. For example, I am taking a Cisco course at my local community college and in order to complete the assignments, I have to log into Cisco’s NetAcademy website. The problem is that some of the questions require Flash to view and answer.
If you do a quick Google search for enabling Flash in Chrome, you’ll see a lot of articles telling you to download Flash from Adobe’s website and install it (which won’t work) or to open a Chrome tab and go to chrome://plugins (which also won’t work anymore). In the most recent version of Chrome (57), you can no longer manage plugins by going to that URL. Instead, you’ll just get a “This site can’t be reached” message.
This is terribly unintuitive and really confused me because I was used to going there to enable or disable Flash as needed. Now it seems they only want you to enable it for the specific sites where it is needed. In this article, I’ll explain how to get Flash to work when you need it and how to keep it disabled otherwise.
Check Chrome Flash Settings
First, let’s check the Flash settings in Chrome. There are a couple of places where you can do this. Open a new tab and type in chrome://flags.
Make sure that Prefer HTML over Flash and Run all Flash content when Flash setting is set to “allow” are set to Default. Open another tab and type in chrome://components. Under Adobe Flash Player, click the Check for update button.
Now click on the Chrome menu button at the top right and click on Settings.
Scroll down to the bottom of the page and click on Show Advanced Settings. Scroll down some more and then click on Content Settings under Privacy.
In the popup dialog, scroll down until you see the Flash heading. Make sure that the Ask first before allowing sites to run Flash (recommended) box is selected. Obviously, if you want to completely block Flash in Chrome, select Block sites from running Flash. You should never choose Allow sites to run Flash unless you have a really valid reason like using Chrome in a virtual machine or something.
Allowing Sites to Run Flash
Now for the fun part! In order to run Flash, you have to enable it for specific sites only. There is no longer an option to enable it for everything all the time. One way to specify a site for Flash is to click on the Manage exceptions button under Content Settings – Flash as shown in the screenshot above.
As you can see, I have added the NetAcad site I was talking about earlier with Behavior set to Allow. This method is a bit cumbersome since you must go to the Settings page, etc. The easier way to allow a site to run Flash is to go to the site and then click on the little icon to the left of the URL in the address bar.
The icon will either be a lock icon if the connection is using HTTPS or it’ll be an information icon if the connection is non-secure. When you click on this icon, you’ll see a bunch of settings you can configure for that particular site. Towards the bottom will be Flash. By default, it should be set to Use global default (Ask), which means the browser should ask you if you want to enable Flash for a site that has Flash content.
However, in my experience, the browser never actually asks me to enable Flash content even when there is clearly Flash content on the website. So, I have to basically select the Always allow on this site option in order for Flash to work. Note that you may have to close the tab and reload it in order for the Flash content to appear correctly.
That’s about it. Hopefully, this clarifies exactly how Flash works in the latest version of Chrome. I’m sure it’s going to change again soon, so I’ll be sure to update this post in case that happens. If you have any questions, post a comment. Enjoy!