Spoof Bluesky mobile detection

Temporary userscript to work around Bluesky's incorrect touch device detection

当前为 2025-03-19 提交的版本,查看 最新版本

// ==UserScript==
// @name        Spoof Bluesky mobile detection
// @namespace   https://bas.sh
// @match       https://bsky.app/*
// @match       https://main.bsky.dev/*
// @grant       none
// @version     1.0
// @author      Bas (@bas.sh)
// @description Temporary userscript to work around Bluesky's incorrect touch device detection
// @license     MIT
// @run-at      document-start
// ==/UserScript==

Object.defineProperty(navigator, "maxTouchPoints", { get: () => 0 });