itsme
V2EX  ›  问与答

如何快速通过浏览器访问形如 abc.com/1.html abc.com/2.html 等等这样有规律的网页

  •  
  •   itsme · Jan 17, 2016 · 2282 views
    This topic created in 3788 days ago, the information mentioned may be changed or developed.

    abc.com/1.html
    abc.com/2.html


    abc.com/999.html

    有没有简单点的办法,通过浏览器自动访问一系列的网页?

    3 replies    2016-01-17 19:47:13 +08:00
    horizon
        1
    horizon  
       Jan 17, 2016
    window.open?
    Tony1ee
        2
    Tony1ee  
       Jan 17, 2016 via Android
    写个 bat
    zdnet
        3
    zdnet  
       Jan 17, 2016
    想起 @ceoimon 以前的回复!/t/238279
    1. Ctrl + N 新建标签页

    2. F12 打开开发者工具,切换到控制台(Console)

    3. 复制代码
    for(var i = 0; i < 99; i++){window.open('http://www.abc.com/' + i + '.html');}
    到控制台,回车
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   989 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 22:17 · PVG 06:17 · LAX 15:17 · JFK 18:17
    ♥ Do have faith in what you're doing.