在商店界面上添加个搜索共享离线账号的按钮[JavaScript] 纯文本查看 复制代码 // ==UserScript==
// [url=home.php?mod=space&uid=170990]@name[/url] 找号按钮
// [url=home.php?mod=space&uid=467642]@namespace[/url] Violentmonkey Scripts
// [url=home.php?mod=space&uid=195849]@match[/url] *://store.steampowered.com/app/*
// [url=home.php?mod=space&uid=609072]@grant[/url] none
// [url=home.php?mod=space&uid=1248337]@version[/url] 1.0
// [url=home.php?mod=space&uid=686208]@AuThor[/url] -
// @description 2022/5/17 上午11:21:16
// ==/UserScript==
var 父级 = document.getElementById("queueBtnFollow").children[0]
var 副本 = document.createElement('div');副本.innerHTML='<span>找号</span>';副本.setAttribute("class",父级.getAttribute("class"));副本.setAttribute("class",父级.getAttribute("class"))
document.getElementById("queueBtnFollow").appendChild(副本);
副本.onclick = ()=>{
window.open("https://lixianla.com/index.php/vod/show/id/upload/tmp/search-"+/app\/(\d+)/.exec(window.location.href)[1]+"-3.htm")
} |