#!name = GitHub 星标推送时间 #!desc = 在 GitHub App 星标列表语言后显示推送时间 #!author = TomCatXue #!homepage = https://github.com/TomCatXue/MyCookieCenter #!icon = https://raw.githubusercontent.com/TomCatXue/MyCookieCenter/refs/heads/main/icons/github_push.jpg #!tag = GitHub,星标,推送时间 #!source = a595491b42323202099751d42f953c4510a27d362e46ccd8005653779b6f7506, 08a5e2f712a04fadcda9d89549aeea856087ac1e4137aec03afd8e5989fd7d2d #!type = normal #!version = 1.2.0 #!date = 2026-11-21 14:40 # ===== 独立开关 ===== [Argument] github_push_time = switch,false,tag=星标推送时间,desc=在 GitHub App 星标列表语言后显示推送时间 # ===== MITM ===== [MitM] hostname = api.github.com # ===== 脚本规则 ===== [Script] # 请求增强:给 StarredRepositoriesForUser 查询补充 pushedAt/updatedAt request if ${url} ~= /^https?:\/\/api\.github\.com\/graphql/i then script("https://raw.githubusercontent.com/TomCatXue/MyCookieCenter/refs/heads/main/scripts/tools/github/github_push_time.js?v=0d75ca9c") with enable=${github_push_time}, tag="GitHub 推送时间-查询增强", timeout=10, requires_body=true # 响应注入:在星标列表语言后显示推送时间 response if ${url} ~= /^https?:\/\/api\.github\.com\/graphql/i then script("https://raw.githubusercontent.com/TomCatXue/MyCookieCenter/refs/heads/main/scripts/tools/github/github_push_time.js?v=0d75ca9c") with enable=${github_push_time}, tag="GitHub 推送时间-列表注入", timeout=10, requires_body=true