這是Chrome較新版本的功能:Self-XSS 保護警告,
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.
我們可以在Console中先輸入「allow pasting」來關閉這設定,就可以貼上jQuery或js了(下圖黃框)。
只要輸入一次之後,未來就不用再輸入了。