



你脚本的,3天就能刷到
以你的水贴速度,在哪里都应该是顶级。。。
对的 这水贴速度哪里都应该顶级


@“Drift”#p206902

最近都在这那边都掉了
一个邀请码50 注册和没注册一样的站点![]()
@“Drift”#p206886 用的哪个脚本,我的帖子阅读上不去啊!
@“at997ga”#p206952 咸鱼都卖到4999一套
@“alay”#p206989 油猴
@“Drift”#p207001 分享一手呗
@“Drift”#p207001 分享下!
@“alay”#p207035 好的稍等回去看看电脑上的
@“alay”#p207035
```
// ==UserScript==
// @name 自动浏览linux.do,autoBrowse-linux.do
// @description 自动浏览linux.do的帖子和话题,2秒后自动进入下一个主题
// @namespace Violentmonkey Scripts
// @match https://linux.do/*
// @grant none
// @version 1.1.13
// @author quantumcat
// @license MIT
// @icon https://www.google.com/s2/favicons?domain=linux.do
// ==/UserScript==
const CONFIG = {
scrollSpeed: 3,
scrollInterval: 10,
scrollDuration: 2000,
topicPattern: ‘/t/topic’,
maxLinks: 8,
skipInitialLinks: 4
};
// URLs to navigate between
const NAVIGATION_URLS = [
‘https://linux.do/unseen’,
//‘https://linux.do/new’,
‘https://linux.do/top’,
‘https://linux.do/latest’
];
class PageNavigator {
constructor() {
this.isScrolling = false;
this.scrollInterval = null;
this.nextTopicTimeout = null;
this.button = this.createNavigationButton();
}
// Helper function to get random number in range
getRandomNumber(min, max) {
return Math.random() * (max - min) + min;
}
// Create and setup navigation button
createNavigationButton() {
const button = document.createElement(‘button’);
Object.assign(button.style, {
position: ‘fixed’,
right: ‘15%’,
bottom: ‘30%’,
transform: ‘translateY(-50%)’,
padding: ‘10px 20px’,
fontSize: ‘20px’,
backgroundColor: ‘white’,
border: ‘1px solid #ddd’,
borderRadius: ‘5px’,
color: ‘black’
});
button.textContent = '开始';
button.addEventListener('click', () => this.toggleScrolling());
document.body.appendChild(button);
return button;
}
// Toggle scrolling state
toggleScrolling() {
if (this.isScrolling) {
this.stopScrolling();
} else {
this.startScrolling();
}
}
// Start the scrolling process
startScrolling() {
if (this.isScrolling) return;
this.isScrolling = true;
this.button.textContent = '停止';
this.button.disabled = false;
// Start smooth scrolling
this.scrollInterval = setInterval(() => {
window.scrollBy(0, CONFIG.scrollSpeed);
}, CONFIG.scrollInterval);
// Schedule next topic navigation
this.nextTopicTimeout = setTimeout(() => {
this.stopScrolling();
this.navigateNextTopic();
}, CONFIG.scrollDuration);
}
// Stop the scrolling process
stopScrolling() {
clearInterval(this.scrollInterval);
clearTimeout(this.nextTopicTimeout);
this.isScrolling = false;
this.button.textContent = ‘开始’;
this.button.disabled = false;
}
// Navigate to random URL from list
navigateNextTopic() {
const randomIndex = Math.floor(Math.random() * NAVIGATION_URLS.length);
const newURL = NAVIGATION_URLS[randomIndex];
console.log(‘Navigating to new URL:’, newURL);
window.location.href = newURL;
}
// Find and navigate to a random topic link
findLinkAndRedirect() {
const links = Array.from(document.links)
.slice(CONFIG.skipInitialLinks)
.filter(link => link.href.includes(CONFIG.topicPattern))
.slice(0, CONFIG.maxLinks)
.map(link => link.href);
if (links.length > 0) {
const randomLink = links[Math.floor(Math.random() * links.length)];
window.location.href = randomLink;
}
}
// Set button to disabled state
setButtonDisabled() {
this.button.textContent = ‘导航中’;
this.button.style.color = ‘#f0f0f0’;
this.button.disabled = true;
}
// Initialize the navigator
init() {
if (window.location.href.includes(‘/t/topic/’)) {
this.startScrolling();
} else {
this.findLinkAndRedirect();
this.setButtonDisabled();
}
}
}
// Create and initialize the navigator
const navigator = new PageNavigator();
navigator.init();
```
@“alay”#p207035 https://greasyfork.org/zh-CN/scripts/by-site/linux.do
我大概半年前就三级了