Enhance Discourse forums with instant topic switching, current topic highlighting, and smart theme detection
As of
A powerful user script that brings seamless topic navigation, intelligent current topic highlighting, and adaptive theme switching to Discourse forums. Browse your favorite forums with unprecedented speed and efficiency.
`)Cache a Topic List:
View the Cached List:
`)Navigate Between Topics:
Close the Popup:
You can modify the following settings at the top of the script:
const CONFIG = {
// Keyboard shortcut (default: backtick key)
HOTKEY: '`',
// Cache key name
CACHE_KEY: 'discourse_topic_list_cache',
// Cache expiration time (in milliseconds) - 1 hour
CACHE_EXPIRY: 60 * 60 * 1000,
// Whether to show the floating button on topic pages
SHOW_FLOATING_BUTTON: true,
// Route check interval (in milliseconds)
ROUTE_CHECK_INTERVAL: 500,
// Whether to automatically follow system dark mode
AUTO_DARK_MODE: true,
}
This script is designed for all Discourse forums and has been tested on the following browsers:
MIT License - see the LICENSE file for details
Contributions are welcome! Please feel free to submit a pull request.