为 LINUX DO 深度定制并保持完整功能覆盖,同时通过站点识别与能力检测兼容中文、英文及其他语言的标准 Discourse 社区,在列表页内完成阅读、翻译、回复与原站互动。
// ==UserScript== // @name Awesome LinuxDo Reader // @name:zh-CN 更流畅的 LinuxDo 阅读器 // @namespace https://github.com/sunbigfly/awesome-linuxdo-reader // @version 1.3.1 // @license MIT // @description 为 LINUX DO 深度定制并保持完整功能覆盖,同时通过站点识别与能力检测兼容中文、英文及其他语言的标准 Discourse 社区,在列表页内完成阅读、翻译、回复与原站互动。 // @description:en Deeply customized for LINUX DO with complete feature coverage, while site detection and capability checks support standard Discourse communities in any language for in-list reading, translation, replies, and native interactions. // @author sunbigfly // @homepageURL https://sunbigfly.github.io/awesome-linuxdo-reader/ // @supportURL https://github.com/sunbigfly/awesome-linuxdo-reader/issues // @match https://linux.do/* // @match https://community.brave.com/* // @match https://devforum.roblox.com/* // @match https://community.openai.com/* // @match https://community.home-assistant.io/* // @match https://forum.cfx.re/* // @match https://community.spiceworks.com/* // @match https://forum.arduino.cc/* // @match https://discussions.unity.com/* // @match https://community.cloudflare.com/* // @match https://forums.unrealengine.com/* // @match https://forum.obsidian.md/* // @match https://forum.cursor.com/* // @match https://forum.godotengine.org/* // @match https://community.n8n.io/* // @match https://forum.mikrotik.com/* // @match https://meta.discourse.org/* // @match https://discuss.python.org/* // @match https://forums.swift.org/* // @match https://discourse.julialang.org/* // @match https://users.rust-lang.org/* // @match https://*/* // @icon https://cdn3.ldstatic.com/optimized/4X/6/a/6/6a6affc7b1ce8140279e959d32671304db06d5ab_2_512x512.png // @grant GM_getValue // @grant GM_setValue // @grant GM_xmlhttpRequest // @grant GM_getResourceText // @grant unsafeWindow // @connect connect.linux.do // @connect credit.linux.do // @connect translate.googleapis.com // @connect edge.microsoft.com // @connect api-edge.cognitive.microsofttranslator.com // @connect * // @run-at document-start // @resource ldpReaderStyles https://cdn.jsdelivr.net/gh/sunbigfly/awesome-linuxdo-reader@5ca40cf3025951dbcb94edde29ebb59083c2bb4f/work/main-lite.css#sha256=f438522f298ca3a15363685bd8ef5e33e1a5b17c57e801784018a0fbf418a3b4 // @resource ldpKatexStyles https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css // @require https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js // @require https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js // @require https://cdn.jsdelivr.net/npm/[email protected]/dist/hls.min.js // @require https://update.greasyfork.org/scripts/590254/1899419/Awesome%20LinuxDo%20Reader%20Lite%20Core%20Library.js?version=1899419#sha256=4a5a9a0f67214f7b696f107ee3dfd0d628fa9328c0d8470ee41eb6bbc7396154 // @require https://update.greasyfork.org/scripts/590255/1899422/Awesome%20LinuxDo%20Reader%20Lite%20Features%20Library.js?version=1899422#sha256=e1919d8b5ec69c62cb9f875621ca0e69d6274f3f8600ac2b0f62e1aed69364e9 // ==/UserScript== (function () { 'use strict'; const runtime = window.__AWESOME_LINUXDO_READER_LITE_MODULE_RUNTIME__; if (!runtime || runtime.schemaVersion !== 1 || runtime.sourceVersion !== "1.3.1") { throw new Error('[main-lite] Greasy Fork Library 缺失或版本不匹配'); } runtime.start("src/userscript/main-lite-entry.js", ["main-lite-core","main-lite-features"]); })();