| 
 | 
 
论坛防火墙升级后,Python和PHP刷分脚本失效,只能用JS脚本刷分了。以下代码使用JS脚本循环获取用户页面,可以自行调整间隔时间。 
```javascript 
function fetchUrls() { 
  for (let i = 50770; i  { 
      fetch(`https://hostloc.com/space-uid-${i}.html`) 
        .then(response => { 
          if (response.ok) { 
            console.log(`Fetched space-uid-${i}.html`); 
          } else { 
            console.error(`Failed to fetch space-uid-${i}.html: ${response.status}`); 
          } 
        }) 
        .catch(error => { 
          console.error(`There was a problem with the fetch operation for space-uid-${i}:`, error); 
        }); 
    }, (i - 50770) * 6000); // 间隔 6 秒 
  } 
} 
fetchUrls(); 
``` 
注意:间隔时间过短可能导致被封禁,建议谨慎尝试。 |   
 
 
 
 |