kalsolio
V2EX  ›  问与答

前段页面 js 有个弹窗 alert,但是就是找不到代码在哪, 有外链,如何定位 alert 的位置呢?

  •  
  •   kalsolio · Jul 21, 2018 · 4254 views
    This topic created in 3035 days ago, the information mentioned may be changed or developed.
    5 replies  •  2018-07-22 01:31:32 +08:00
    qiayue
    qiayue
    Jul 21, 2018
    1
    发网址
    noe132
    noe132
    Jul 21, 2018❤️10
    2
    var oalert = window.alert
    window.alert = (...args) => { oalert(...args); console.error(new Error('someone alerted'))}
    qiayue
    qiayue
    Jul 21, 2018
    3
    @noe132 学到了
    opengps
    opengps
    Jul 22, 2018 via Android
    4
    chrome 浏览器,f12,Ctrl alt f ,搜 alert
    aaronlam
    aaronlam
    Jul 22, 2018
    5
    @opengps 好像是 ctrl shift f
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1130 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:26 · PVG 07:26 · LAX 15:26 · JFK 18:26
    ♥ Do have faith in what you're doing.