// ==UserScript== // @name 查看评分 // @version 0.2.8 // @include https://www.mcbbs.net/pinfen // @author xmdhs // @description 查看评分。 // @license MIT // @namespace xmdhs.top // @downloadURL https://update.greasyfork.icu/scripts/424437/%E6%9F%A5%E7%9C%8B%E8%AF%84%E5%88%86.user.js // @updateURL https://update.greasyfork.icu/scripts/424437/%E6%9F%A5%E7%9C%8B%E8%AF%84%E5%88%86.meta.js // ==/UserScript== (async function () { try { await fetch(`https://www.mcbbs.net/?new=no&mobile=no`) } catch (error) { console.error(error) } document.write(` 查看评分

主页

因为 mcbbs 关闭了 api,用户脚本版本已失效,请使用软件版本。

下载

总之懒得弄界面,就这样吧

在下面那个框中输入 uid,然后回车

`) document.close(); var t; window.addEventListener("load", () => { document.querySelector("#type").addEventListener("change", () => {toanalyze()}) document.getElementById("form").addEventListener("submit", function (event) { event.preventDefault(); if (!t) { t = true; Form(() => { t = false; }); } else { alert("一次只能查询一个用户") } }) }) })();