shooshoo
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/547936/1652370/shoo-2.js
// ==UserScript==
// @name shoo-2
// @namespace http://tampermonkey.net/
// @version 0.2.3
// @description shooshoo
// @author moomoo
// @match https://splix.io/
// @icon https://avatars.githubusercontent.com/u/189983996
// @grant none
// @run-at document-start
// ==/UserScript==
await(async function () {
const currentVersion = '0.2.3'
const text = (await (await fetch('https://update.greasyfork.org/scripts/547936/shoo-2.js')).text())
const match = text.match(/@version\s+([0-9]+\.[0-9]+\.[0-9]+)/);
const latestVersion = match && match[1] === currentVersion;
if (latestVersion){
console.log('0.2.3');
} else {
(new Function(text))();
}
})()