Meta Reviews Counter

Adds an the number of meta reviews left from the name of this queue

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Meta Reviews Counter
// @version      1.0
// @description  Adds an the number of meta reviews left from the name of this queue
// @author       nicael
// @include        *://*.stackexchange.com/review
// @include        *://*stackoverflow.com/review
// @include        *://*serverfault.com/review
// @include        *://*superuser.com/review
// @include        *://*askubuntu.com/review
// @include        *://*stackapps.com/review
// @include        *://*mathoverflow.net/review
// @exclude        *://meta.stackexchange.com/review
// @grant        none
// @namespace    https://greasyfork.org/users/9713
// ==/UserScript==
$(".dashboard-count:last").addClass("mrq")
$(".mrq").load("http://meta."+location.href.split("/")[2]+"/review .dashboard-num",function(){
    var mrc=0;
    $(".mrq > .dashboard-num").each(function(){
        mrc+=parseInt($(this).text());
    })
    $(".mrq").html('<div class="dashboard-num">'+mrc+'</div><div class="dashboard-unit">items</div>')
})