Discourse: Disable Touch Detection

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

2025-08-25 기준 버전입니다. 최신 버전을 확인하세요.

작성자
chaban
평점
0 0 0
버전
1.0
생성일
2025-08-25
갱신일
2025-08-25
크기
1.87KB
라이선스
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"