Weibo expand

自动展开微博

目前為 2023-03-07 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Weibo expand
// @namespace    https://gf.qytechs.cn/zh-CN/users/1073-hzhbest
// @version      0.1
// @description  自动展开微博
// @author       hzhbest
// @match        https://weibo.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    document.body.addEventListener('mouseover',texpand,false);

	function texpand(event){
        let tnode = event.target;
        if (tnode.className.indexOf('detail_wbtext_') == 0) {
            let btnexpand = tnode.querySelector('span.expand');
            btnexpand.click();
        }
    }
})();

QingJ © 2025

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