您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
恢复 MIUI 主题官网的下载按钮
// ==UserScript== // @name PC端下载MIUI 主题 // @namespace https://github.com/LittleControl/DownloadMIUITheme // @version 1.0 // @icon https://www.mi.com/favicon.ico // @description 恢复 MIUI 主题官网的下载按钮 // @author https://github.com/LittleControl // @supportURL https://github.com/LittleControl/DownloadMIUITheme/issues // @match *zhuti.xiaomi.com/detail/* // ==/UserScript== (() => { 'use strict'; let arr = location.href.split('/') let tag = arr[arr.length - 1] let url = 'http://thm.market.xiaomi.com/thm/download/' + tag $('#J-downWrap').append( ` <form class="detail-buy" action="${url}"> <button class="btn-buy J_Push" type="submit">下载</button> </form> ` ) })();