Uneddit Reddit

Uneddits Reddit comments

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

Advertisement:

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

Advertisement:

// ==UserScript==
// @name         Uneddit Reddit
// @namespace    http://kmcdeals.com
// @version      1
// @description  Uneddits Reddit comments
// @author       Kmc
// @match        https://*.reddit.com/r/*/comments/*
// @match        http://*.reddit.com/r/*/comments/*
// @grant   	 GM_addStyle
// ==/UserScript==

GM_addStyle ("\
#uneddit{\
    position: fixed;\
    bottom: 0px;\
    right: 0px;\
    z-index: 9999999;\
    background-color: #fafbfc;\
    border-color: black;\
    outline: 0px;\
    border-width: 0px;\
    border-top-width: 1px;\
    border-left-width: 1px;\
    border-top-left-radius: 5px;\
}\
");

var button = document.createElement('input');
button.setAttribute("type", "button");
button.setAttribute("name", "uneddit");
button.setAttribute("id", "uneddit");
button.setAttribute("value", "uneddit");
button.setAttribute("onclick", "javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src', 'http://uneddit.com/loadCommentsFull.php');document.body.appendChild(e)})());");
document.body.appendChild(button);