你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/547263-discourse-disable-touch-detection,源站連結 點此以跳轉

Discourse: Disable Touch Detection

Overrides browser APIs to disable touch-based UI adjustments in Discourse forums.

当前为 2026-01-03 提交的版本,查看 最新版本



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/547263/1726779/Discourse%3A%20Disable%20Touch%20Detection.user.js

安装此脚本?
作者
chaban
评分
0 0 0
版本
1.1
创建于
2025-08-25
更新于
2026-01-03
大小
2.1 KB
许可证
MIT
适用于

This script prevents Discourse from hiding editor toolbar functions on touch-capable devices.

It works by spoofing the browser APIs that Discourse uses for touch detection, ensuring the full desktop toolbar is always visible. The script is designed to be robust, supporting both recent and old versions of Discourse.

By default, this script only runs on the MetaBrainz Community Discourse. To use it on other forums, you can add more @match directives in the script's settings.

Before:
Before

After:
After

See also "Why so many options in the gear editor menu? - UX - Discourse Meta"