V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
itsme
V2EX  ›  问与答

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

  •  
  •   itsme · 2016-01-17 19:18:53 +08:00 · 1657 次点击
    这是一个创建于 3023 天前的主题,其中的信息可能已经有所发展或是发生改变。

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


    abc.com/999.html

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

    3 条回复    2016-01-17 19:47:13 +08:00
    horizon
        1
    horizon  
       2016-01-17 19:36:43 +08:00
    window.open?
    Tony1ee
        2
    Tony1ee  
       2016-01-17 19:36:48 +08:00 via Android
    写个 bat
    zdnet
        3
    zdnet  
       2016-01-17 19:47:13 +08:00
    想起 @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');}
    到控制台,回车
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5360 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 09:13 · PVG 17:13 · LAX 02:13 · JFK 05:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.