您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Togetterのまとめでツイート本文に適用されている文字装飾を取り除きます。
// ==UserScript== // @name Togetterの文字装飾を取り除く // @description Togetterのまとめでツイート本文に適用されている文字装飾を取り除きます。 // @namespace https://github.com/unarist/ // @version 0.1 // @author unarist // @match https://togetter.com/li/* // @grant none // ==/UserScript== (function() { 'use strict'; const tweet_box = document.querySelector('.tweet_box'); const clearDecoration = ul => { for (const span of ul.querySelectorAll('.tweet span')) { const parent = span.parentNode; while (span.firstChild) { parent.insertBefore(span.firstChild, span); } parent.removeChild(span); } }; new MutationObserver(mutations => { for (const mutation of mutations) { for (const node of mutation.addedNodes) { if (node.nodeName ==='UL') { clearDecoration(node); } } } }).observe(tweet_box, {childList: true}); clearDecoration(tweet_box.querySelector('ul')); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址