V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
kalsolio
V2EX  ›  问与答

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

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