Yui*_*Yui 2 javascript browser security spoofing
我使用的是 Firefox 版本 105.0.2(64 位),并注意到对于我访问的每个页面,开发控制台中都会出现错误:
Error: An unexpected error occurred
spoofer.js:1:38935
Run Code Online (Sandbox Code Playgroud)
完整代码链接: https: //pastebin.com/GhiEvqfg
指定行:
e.runtime.lastError ? e.runtime.lastError.message === t ? n() : r(e.runtime.lastError) : o && o.__mozWebExtensionPolyfillReject__ ? r(new Error(o.message)) : n(o)
Run Code Online (Sandbox Code Playgroud)
我不知道这个文件或这一行的作用,但这应该是值得关注的事情吗?
小智 5
就我而言,是一个名为“Simulateur Mobile”的扩展(https://addons.mozilla.org/es/firefox/addon/simulateur-mobile)。禁用该扩展后,错误就消失了。