Uneddit Reddit

Uneddits Reddit comments

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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);