浏览器请求url,会出现请求两次,如果返回不是json格式,插件会重新发送一次请求
一个页面格式化工具,为什么要重新发起请求?
_format = function(e) { let t = ""; return e ? (t = _getJsonText()) ? void _formatTheSource(t) : _format(!1) : fetch(location.href).then(e => e.text()).then(e => { const t = (new DOMParser).parseFromString(e, "text/html"); t.querySelectorAll("style, script").forEach(e => e.remove()); const n = t.body.textContent; _formatTheSource(n) } ).catch()
更新到 v2025.03.2614,遇到同样的问题
同样的问题,某些网站已经登录不了。。
看下03.28这个版本是不是OK的
+1,KubeSphere登录不上,把chrome 重装+重置,找半天问题.最后发现是插件问题. 麻了
+1 遇到同样问题,现在只能禁用这个插件了,不然每个页面都会两次请求,正常 post 请求都会伴随一次重复 get 请求。。。