• home > webfront > browser > webkit >

    chrome无法粘贴JavaScript代码执行:Don’t paste code into the DevTools

    Author:zhoulujun Date:

    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 ‘allow pasting’ below to allow pasting

     chrome升级后,无法直接copy代码到DevTools console 工具栏里面执行了。

    无论粘贴什么,都是报:

    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 ‘allow pasting’ below to allow pasting.

    百度与谷歌搜索很多方案,都是坑:

    无法粘贴代码百度搜索结果

    其是只需按照下面图片指引,就可以粘贴了

    image.png


    转载本站文章《chrome无法粘贴JavaScript代码执行:Don’t paste code into the DevTools 》,
    请注明出处:https://www.zhoulujun.cn/html/webfront/browser/webkit/2023_1219_8998.html