释放双眼,带上耳机,听听看~!
复制下面代码 F12 选择Console 粘贴进去回车
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
(function() { // 开始从哪一个MJJ开始访问,论坛的UID const userIdStart = 1 // 最多访问几个MJJ const maxCheckNum = 10 // 访问一个MJJ后,休息几秒 const restSeconds = 3 let counting = 0 autoCheckIn() function autoCheckIn() { const userProfileUrl = `https://hostloc.com/space-uid-${userIdStart + counting++}.html` console.log(`正在访问第${counting}个MJJ: ${userProfileUrl}`) const img = new Image() img.src = userProfileUrl if (counting < maxCheckNum) { setTimeout(autoCheckIn, restSeconds * 1000) } } })() |