V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
LLaMA
V2EX  ›  V2EX

一个能提升你刷 V2EX 体验 50 倍的脚本!

  •  
  •   LLaMA · 335 天前 · 1326 次点击
    这是一个创建于 335 天前的主题,其中的信息可能已经有所发展或是发生改变。

    一键导入多次回帖前不看贴黑名单,其中多位用户已经被站长删号,已对 404 用户、once 失效等情况做处理。

    使用方法: 复制下面脚本,Ctrl+Shift+I (Windows) / Command+Option+I (macOS Chrome),粘贴,回车,等待执行

    var uidLists = [174, 2057, 2214, 5055, 6746, 11029, 16583, 22404, 23575, 23618, 25948, 27384, 27765, 28049, 33972, 34459, 35059, 36490, 38308, 40195, 44412, 46122, 46170, 46437, 48087, 49293, 55150, 55456, 59747, 61964, 64727, 66454, 68359, 77612, 77688, 78623, 78963, 80754, 81047, 86055, 89326, 90818, 93264, 94356, 94888, 95780, 103828, 109043, 109055, 112529, 121690, 125815, 127872, 129725, 137160, 137592, 141061, 142011, 152484, 154154, 161653, 163549, 163850, 169902, 172054, 172691, 175178, 176924, 177638, 180823, 183712, 184621, 186757, 189191, 193416, 197545, 199612, 204374, 206547, 213882, 215214, 219441, 219611, 220112, 220603, 220603, 233858, 238695, 239407, 239715, 247004, 252819, 258369, 259758, 267219, 268151, 273149, 278470, 296121, 300244, 307908, 310514, 317926, 320903, 324544, 326507, 347458, 348460, 349448, 355824, 355927, 357553, 359085, 361348, 363250, 363936, 367850, 369158, 369856, 372922, 398692, 399164, 403050, 411204, 413475, 422393, 423639, 424470, 427816, 427862, 428441, 428554, 429455, 429891, 432236, 432457, 433132, 434020, 434602, 437866, 442649, 443240, 444988, 446318, 446956, 452201, 454596, 458676, 466299, 468327, 469082, 476795, 478727, 480758, 486502, 487877, 488683, 489559, 489969, 490245, 491550, 493401, 498257, 498884, 508029, 508132, 508732, 508748, 510001, 510532, 511388, 515990, 517811, 517924, 522056, 525806, 527646, 539984, 540015, 545083, 548367, 548791, 549037, 552064, 553381, 553628, 554027, 555363, 557492, 558036, 558079, 558231, 561400, 563515, 563631, 566515, 567484, 567484, 573155, 574665, 576099, 576704, 578765, 580094, 581181, 582242, 582836, 583350, 583802, 585525, 585643, 589227, 589936, 591959, 592185, 595245, 595811, 597413, 600719, 601535, 601562, 601583, 602283, 602814, 606889, 608190, 609586, 611342, 613016, 613016, 615088];
    var once = 0;
    var currentIndex = 0;
    var retryCount = 0;
    function sendRequest() {
      var uid = uidLists[currentIndex];
      var url = `/block/${uid}?once=${once}`;
      fetch(url)
        .then(response => response.text())
        .then(data => {
          if (data.includes('?once=')) {
            var start = data.indexOf('?once=') + 6;
            var end = data.indexOf("'", start);
            once = data.substring(start, end);
          }
          if (data.includes('  请重试') || data.includes('  Please retry')) {
            setTimeout(() => {
              sendRequest();
            }, 50);
            return;
          }
          currentIndex++;
          console.log(`进度 ${currentIndex} / ${uidLists.length}`)
          if (currentIndex < uidLists.length) {
            setTimeout(() => {
              sendRequest();
            }, 50);
          }
        })
        .catch(error => {
          retryCount++;
          if(retryCount>5) currentIndex++;
          setTimeout(() => {
            sendRequest();
          }, 200);
        });
    }
    sendRequest();
    
    2 条回复    2023-04-28 15:00:28 +08:00
    stcode
        1
    stcode  
       335 天前
    一键黑名单
    AoEiuV020CN
        2
    AoEiuV020CN  
       335 天前
    op 恰饭不,给钱删除黑名单或者给针加入黑名单,
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3760 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 00:53 · PVG 08:53 · LAX 17:53 · JFK 20:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.