BMB Toolbar Insert

Inserts big mod buttons on toolbar pages

Tính đến 13-08-2014. Xem phiên bản mới nhất.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @author noeatnosleep
// @name BMB Toolbar Insert
// @version 1.0.2
// @namespace BMBTI
// @description Inserts big mod buttons on toolbar pages
// @include http://www.reddit.com/tb/*
// ==/UserScript==

function generateButtons() {
    var buttonsBar = document.getElementById("comments-button").appendChild(modButtons);
    var modButtons = document.createElement("LINK");
    modButtons.id = "modButtons";
    modButtons.style.cssText = "color:black;font-family:verdana, arial, helvetica, sans-serif;font-size:90%;height:12px;text-transform:uppercase;";
    modButtons.innerHTML += "<a id='approvePost' style='color:black;' href='#'> APPROVE </a>";
}


function doStuff() {
    $('approvePost').on('click', goApprove());
}

function goApprove() {}

generateButtons(), doStuff(), goApprove();