为 LINUX DO 深度定制并保持完整功能覆盖,同时通过站点识别与能力检测兼容中文、英文及其他语言的标准 Discourse 社区,在列表页内完成阅读、翻译、回复与原站互动。
// ==UserScript== // @name Awesome LinuxDo Reader // @name:zh-CN 更流畅的 LinuxDo 阅读器 // @namespace https://github.com/sunbigfly/awesome-linuxdo-reader // @version 1.5.8 // @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_addValueChangeListener // @grant GM_removeValueChangeListener // @grant GM_xmlhttpRequest // @grant GM_addElement // @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@ac10f7f3dfed908f2e3b184690eca734503e5fb9/work/main-lite.css#sha256=442ff6a5ffbfd3f0f3cd17d61fccac07cf680d80dfae8abf1cee571dd5502eb4 // @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/1905755/Awesome%20LinuxDo%20Reader%20Lite%20Core%20Library.js?version=1905755#sha256=e915a5b265c8e9489ec5950de7759a3009ff4a39b357cedb504bb0697faea7a9 // @require https://update.greasyfork.org/scripts/591595/1905756/Awesome%20LinuxDo%20Reader%20Lite%20Platform%20Library.js?version=1905756#sha256=800e8d44f12ef436c0fdd41f09f652407ad43f6347c34ed6013cd4aff58e3cf2 // @require https://update.greasyfork.org/scripts/590255/1905742/Awesome%20LinuxDo%20Reader%20Lite%20Features%20Library.js?version=1905742#sha256=d45214197eabafce29f09ce2b1b3ae1248668b46fb1be1716758b598a41032ff // ==/UserScript== (function () { 'use strict'; const runtime = window.__AWESOME_LINUXDO_READER_LITE_MODULE_RUNTIME__; if (!runtime || runtime.schemaVersion !== 1 || runtime.sourceVersion !== "1.5.8") { throw new Error('[main-lite] Greasy Fork Library 缺失或版本不匹配'); } runtime.start("src/userscript/main-lite-entry.js", ["main-lite-core","main-lite-platform","main-lite-features"]); })();