Chrome popup lede

Google Chrome does a great job at blocking pop-up windows out of the box, but sometimes it prevents them even if you’re expecting one from a trusted site. Here’s how you can take control and allow or block pop-ups in Chrome.

Google Chrome在阻止弹出窗口开箱方面做得很好,但是有时即使您希望从受信任的站点获得弹出窗口,也可以阻止弹出窗口。 您可以通过以下方式控制和允许或阻止Chrome中的弹出窗口。

By default, Google Chrome disables pop-ups automatically in the browser; something easily overlooked because that’s how the internet should be presented. Not all pop-up windows are malicious or invasive. Some websites use them for legitimate reasons.

默认情况下,谷歌浏览器会自动禁用浏览器中的弹出窗口; 很容易被忽略的东西,因为那是应该呈现互联网的方式。 并非所有弹出窗口都是恶意的或侵入性的。 一些网站出于合法原因使用它们。

如何允许来自特定站点的弹出窗口 (How to Allow Pop-ups from a Specific Site)

When Chrome blocks a pop-up from a website, it displays an icon with a red X in the corner of the Omnibox.

当Chrome阻止来自网站的弹出窗口时,它会在多功能框的一角显示带有红色X的图标。

The popup being blocked icon in the Omnibox

If you suspect this is an error and want to see pop-ups from this website, click on the icon to see site-specific options, select “Always Allow Pop-ups and Redirects” and then click “Done.”

如果您怀疑这是一个错误并希望从该网站查看弹出窗口,请单击该图标以查看特定于站点的选项,选择“始终允许弹出窗口和重定向”,然后单击“完成”。

Click the blocked popup icon, select Always Allow Popups and Redirects, then click Done

After you click “Done,” refresh the page to save your choice and see any intended pop-ups on this website.

单击“完成”后,刷新页面以保存您的选择,并在此网站上看到任何预期的弹出窗口。

Alternatively, if you just want to see a pop-up one time, click the blue link in this window and you’ll be redirected to the pop-up that was initially blocked.

另外,如果您只想一次看到一个弹出窗口,请单击此窗口中的蓝色链接,然后您将被重定向到最初被阻止的弹出窗口。

For one-time popup viewing, click the blue link when opening the popup notification window

如何阻止来自特定站点的弹出窗口 (How to Block Pop-ups from a Specific Site)

Chrome does a great job at blocking a majority of pop-ups, but sometimes a pop-up squeaks through—or you accidentally click “Allow” instead of “Block”—and makes its way onto your screen. To explicitly block a website from showing pop-ups, you can add it to Chrome’s block list.

Chrome在阻止大多数弹出窗口方面做得很好,但是有时弹出窗口会发出尖叫声,或者您不小心单击了“允许”而不是“阻止”,并进入了屏幕。 要明确阻止网站显示弹出窗口,可以将其添加到Chrome的阻止列表中。

Click the menu icon, and then click on “Settings.” Alternatively, you can type chrome://settings/ into the Omnibox to go directly there.

单击菜单图标,然后单击“设置”。 另外,您也可以在多功能框中输入chrome://settings/ ,以直接转到此处。

Click the menu button, then click Settings

In the Settings tab, scroll down to the bottom and then click “Advanced.”

在“设置”标签中,向下滚动到底部,然后单击“高级”。

Under Settings, click advanced, located at the bottom of the page

Scroll a little bit further to the Privacy and Security heading and you’ll see a “Content Settings” option. Click on it.

进一步滚动到“隐私和安全性”标题,您将看到“内容设置”选项。 点击它。

Click Content Settings under the Privacy and Security heading

In the list of settings, click the “Pop-ups and Redirects” option.

在设置列表中,单击“弹出窗口和重定向”选项。

Click Pop-ups and Redirects

For a website that you’ve accidentally added to the Allow list, you can promptly revoke its permissions to have Chrome start blocking its pop-ups again. Otherwise, you will have to add the problematic URL to the block list manually. We’ll take you through both cases below.

对于您意外添加到“允许”列表中的网站,您可以立即撤消其权限,以使Chrome重新开始阻止其弹出窗口。 否则,您将必须手动将有问题的URL添加到阻止列表中。 我们将在下面为您介绍这两种情况。

Under the Allow heading, find the problematic website, click More (three dots), then click “Block.”

在“允许”标题下,找到有问题的网站,单击“更多(三个点)”,然后单击“阻止”。

Next to the website you want to block, click More, then click Block

This moves the URL from the Allow list to the Blocked list.

这会将URL从“允许”列表移到“阻止”列表。

The website is now listed under the Block list

If the site isn’t listed under either heading, click the “Add” button to the right of the “Block” heading.

如果该网站未在任何一个标题下列出,请单击“阻止”标题右侧的“添加”按钮。

Click Add, located next to the Block list

In the prompt that opens, type the URL of the website you want to block and then click “Add.”

在打开的提示中,键入您要阻止的网站的URL,然后单击“添加”。

Enter the website into the prompt, then click Add

Note: When providing the web address, if you want to block all pop-ups across the whole site, use the [*.] prefix to catch all subdomains from the website.

注意:提供网址时,如果要阻止整个站点上的所有弹出窗口,请使用[*.]前缀从网站上捕获所有子域。

The web address and all of its subdomains are now under the “Block” list, and Chrome should handle any future pop-up requests from this site.

该网址及其所有子域现在都在“阻止”列表下,Chrome将来应处理此网站的所有弹出请求。

Popups from the website will now be blocked by Chrome

如何允许所有弹出窗口 (How to Allow All Pop-ups)

Globally allowing pop-ups isn’t recommended, as they can be intrusive and annoying, but if for some reason you need to allow every site to display pop-ups, this is how you can bypass Chrome pop-up blocker. If you need to let a specific website to show them, you should add it to the “Allow” list mentioned in the method above first.

不建议在全球范围内允许弹出式窗口,因为它们可能会令人厌烦且令人讨厌,但是如果出于某种原因您需要允许每个站点都显示弹出式窗口,则可以绕过Chrome弹出式窗口拦截器。 如果需要让特定的网站显示它们,则应将其添加到上面方法中提到的“允许”列表中。

Open Chrome and head back to Settings > Content Settings > Pop-ups and Redirects, or type chrome://settings/content/popups into the Omnibox and hit Enter.

打开Chrome,然后返回“设置”>“内容设置”>“弹出窗口和重定向”,或在多功能框中输入chrome://settings/content/popups ,然后按Enter。

At the top, toggle the switch to either Block (off) or Allow (on) pop-ups.

在顶部,将开关切换到“阻止”(关闭)或“允许”(打开)弹出窗口。

Toggle this feature on or off, to allow or block popups respectively

翻译自: https://www.howtogeek.com/411439/how-to-allow-or-block-popups-in-chrome/

版权声明:本文为匿名原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: