lecFix

Fix [l=c] link created by RES.

目前为 2015-04-11 提交的版本。查看 最新版本

// ==UserScript==
// @name         lecFix
// @namespace    lecFix
// @version      0.1.2
// @description  Fix [l=c] link created by RES.
// @author       kusotool
// @include      http://*.reddit.com/*
// @include      https://*.reddit.com/*
// @grant        none
// ==/UserScript==

var e = document.getElementsByTagName("span");
for(var i = 0; i < e.length; i++){
    if(e[i].innerHTML === "[l=c]"){
        e[i].setAttribute("thisComments", decodeURI(e[i].getAttribute("thisComments")));
    }
}

QingJ © 2025

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