通过2个简单的步骤即可阻止Chrome中的网站中JavaScript

编程入门 行业动态 更新时间:2024-10-09 20:20:54

You may be aware of the GitHub’s largest DDoS attack in history on Mar. 27, 2015 (some context, technical details, and discussions):

您可能已经知道GitHub在2015年3月27日历史上最大的DDoS攻击 (一些上下文 , 技术细节和讨论 ):

We've been under continuous DDoS attack for 24+ hours. The attack is evolving, and we're all hands on deck mitigating.

我们遭受了连续24多个小时的DDoS攻击。 攻击在不断发展,我们所有人都在减轻风险。

— GitHub Status (@githubstatus) March 27, 2015

— GitHub状态(@githubstatus) ,2015年3月27日

One important technique when facing this kind of problems is blocking certain sites’ JavaScripts in your browser. Here, we introduce the 2 simple steps to block a certain site’s JavaScripts.

遇到此类问题时,一项重要的技术是阻止浏览器中某些站点JavaScript。 在这里,我们介绍了两个简单的步骤来阻止某个网站JavaScript。

步骤1:打开“JavaScript异常”,在镀Chrome ∞ (Step 1: Open “JavaScript exceptions” in Chrome ∞)

Open “JavaScript exceptions” in Chrome by simply opening this address in Chrome’s URL bar:

只需在Chrome的网址栏中打开以下地址,即可在Chrome中打开“ JavaScript例外”:

chrome://settings/contentExceptions#javascript

步骤2:输入被封锁的网站并将其封锁∞ (Step 2: Enter the blocked site and block it ∞)

For example, to block all JavaScripts from example, input

例如,要阻止example中的所有JavaScript,请输入

[*.]example

in the “Hostname pattern”, and select “Block” in the “Behavior” column.

在“ 主机名模式”中,然后在“行为”列中选择“阻止”。

Ok, it is done.

好的,完成了。

翻译自: https://www.systutorials/blocking-javascripts-from-a-site-in-chrome-in-2-easy-steps/

更多推荐

通过2个简单的步骤即可阻止Chrome中的网站中JavaScript

本文发布于:2023-06-13 18:29:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1388955.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:步骤   简单   网站   Chrome   JavaScript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!