您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
"有没有人做一个插件,点开石之家的主页,自动查logs然后显示出来"
当前为
// ==UserScript== // @name 谁是股批 // @name:en who-is-browser-gamer // @namespace lanyangzhi.github.io // @version 0.1 // @description "有没有人做一个插件,点开石之家的主页,自动查logs然后显示出来" // @description:en ffxiv chinese server only // @author Lanyangzhi // @match *://ff14risingstones.web.sdo.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=undefined. // @grant none // @license MIT // ==/UserScript== (function() { setTimeout(function() { const userName = document.querySelector('.ft20.ftw.mr15.cursor').innerText; const server = document.querySelector('.ml5:nth-child(2)').innerText; var newNode = document.createElement('a'); newNode.id = 'ff-icon'; newNode.href = 'https://cn.fflogs.com/character/CN/' + server + '/' + userName; newNode.innerHTML = '<img src="https://assets.rpglogs.cn/img/ff/favicon.png" height="26px">'; var oldNode=document.querySelector(".mt3.flex.alcenter"); oldNode.parentNode.insertBefore(newNode,oldNode.nextSibling); },5000); })();