浏览器控制台出现不要粘贴的警告如何处理?

ppylox
·6/18/2024·0 阅读
AI 摘要模型根据正文自动生成,仅供参考

浏览器控制台粘贴代码时若出现安全警告且无法粘贴,需开启允许粘贴功能。按提示在控制台输入中文“允许粘贴”并回车即可。Edge中文版输入“allow pasting”无效,应改用中文提示语。

当你复制代码到浏览器控制台准备执行的时候如果出现以下警告,并且无法显示粘贴的内容的时候,就需要打开浏览器的允许粘贴功能。

Warning: Don’t paste code into the DevTools Console that you don’t understand or haven’t reviewed yourself. This could allow attackers to steal your identity or take control of your computer. Please type ‘允许粘贴’ below and hit Enter to allow pasting.


在控制台直接输入中文:“允许粘贴”即可开启粘贴功能。

对于edge 浏览器中文版,网上说的输入allow pasting并不管用,可以输入中文试试。


相关文章

评论 (0)

暂无评论,来写第一条吧