hostloc使用默认头像

try to take over the world!

目前為 2019-05-06 提交的版本,檢視 最新版本

// ==UserScript==
// @name         hostloc使用默认头像
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        http*://www.hostloc.com/thread-*-*-*.html
// @grant        none
// @run-at       document-end
// ==/UserScript==

(function() {
    'use strict';
    for (var i = document.getElementsByClassName("avtm").length - 1; i >= 0; i--) {
	document.getElementsByClassName("avtm")[i].innerHTML="<a><img src=\"https://www.hostloc.com/uc_server/avatar.php?uid=31096&size=middle\"></a>";
    }
    // Your code here...
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址