谷歌浏览器扩展kwift.CHROME.min.js

swvgeqrz  于 2023-02-10  发布在  Go
关注(0)|答案(2)|浏览(141)

有人能知道什么是chrome扩展名是由文件kwift.CHROME.min.js调用的吗?
它使用的是这种链接:

chrome-extension://random_string_here/content/contentScripts/kwift.CHROME.min.js

在我的Chrome控制台中,我可以看到数百/数千条以isElementCoveringWebui开头的日志
控制台日志示例:

isElementCoveringWebui
div.pcaflag

负责显示上述日志的代码:

t.isWebUIFrameVisible = function (e, t) {
  const a = t.iframe;
  return a && (e => {
    const t = "EDGE" === n.getBrowser() ? ["BODY"] : ["BODY", "HTML"];
    return e.parentElement && t.some(t => t === e.parentElement.tagName)
  }
  )(a) && function () {
    let t;
    try {
      t = e.getCurrentWindow().getComputedStyle(a)
    } catch (e) {
      return !0
    }
    return o(t)
  }() && e.isReallyVisible({
    node: a,
    checkWholeArea: !0
  }) && !function (e, t) {
    const a = e.getCurrentDocument();
    let n = !1;
    const o = a.createTreeWalker(t.parentNode, NodeFilter.SHOW_ELEMENT);
    o.currentNode = t;
    const r = a => {
      console.log("isElementCoveringWebui"),
      console.log(a);
      const n = e.getCurrentWindow().getComputedStyle(a);
      return (() => "none" === n.pointerEvents)() && (() => "2147483647" === n.zIndex)() && (() => {
        const e = a.getBoundingClientRect()
          , n = t.getBoundingClientRect();
        return i.elementsHaveCommonArea(e, n)
      }
      )()
    }
      ;
    for (; o.nextNode() && !n;)
      n = r(o.currentNode);
    return n
  }(e, a)
}
ix0qys7i

ix0qys7i1#

答案很简单:kwift脚本是www.example.com浏览器扩展的一部分。Dashlane.com browser extension.

8gsdolmq

8gsdolmq2#

而且,它不是完全随机的字符串
chrome-extension://random_string_here/content/contentScripts/kwift.CHROME.min.js
它的扩展ID,并通过谷歌搜索“chrome extension random_string",你会得到你所寻找的扩展的链接:
https://chrome.google.com/webstore/detail/dashlane-%E2%80%94-password-manag/fdjamakpfbbddfjaooikfcpapjohcfmg

相关问题