你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 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.



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

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

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.

Features

  • Spoofing: Spoofs browser APIs to report a mouse-based interface.
  • Toolbar: Ensures the desktop version of the editor toolbar is shown.

Before:

Before

After:

After

See also: