Tampermonkey userscript for automatically browsing topics from the Linux.do Latest list.
The script opens one topic, waits for the configured dwell time, returns to the Latest list, and continues with the next topic it has not visited in the current session. It does not create posts, replies, likes, bookmarks, or other interactions.
- Floating control panel showing the current operation, status, count, and countdown.
- Start/pause control.
- Stable topic-ID tracking, so changing a topic title slug does not cause duplicate visits.
- Returns with browser history and falls back to the original Latest URL if navigation fails.
- Configurable dwell time, switch delay, and list refresh delay.
- No API calls, credentials, cookies, or special Tampermonkey permissions.
- Install Tampermonkey.
- Create a new userscript.
- Copy the contents of
linuxdo-auto-walker.user.jsinto the editor. - Save the script.
- Open https://linux.do/latest.
- Press 开始 in the floating panel.
The script starts paused after installation. This prevents an accidental browse run before the user explicitly starts it.
| Setting | Default | Meaning |
|---|---|---|
| 话题停留 | 20 seconds | How long to stay on each topic before returning. Minimum: 1 second. |
| 切换间隔 | 2 seconds | Delay after returning to Latest before opening the next topic. |
| 列表刷新 | 180 seconds | Delay before refreshing Latest after all currently loaded topics have been visited. |
Settings are saved in localStorage. Visit history and the current run are kept in sessionStorage, so they are scoped to the current browser tab.
- 开始 / 暂停: enable or stop automatic navigation.
- 清空记录: forget the topics visited in the current tab session.
- − / +: collapse or expand the floating panel.
If a topic is clicked repeatedly after updating the script, press 清空记录 once and start a new run. The script records stable numeric topic IDs and keeps a navigation lock while a topic route is being opened.
- The script only runs on
linux.do/latestand Linux.do topic pages. - It uses the topic links already rendered in the Latest list; it does not fetch a separate topic feed.
- It follows the current list order, including any pinned items displayed by Linux.do.
- A manual visit to a topic is not automatically returned from; only topics opened by this script are scheduled for automatic return.
- If Linux.do changes its Discourse list markup, the topic-link selectors in
getTopicLinks()may need updating.
Use and modify it for your own browser automation. Respect Linux.do's terms and rate limits.
