MAM Request Page Re-title

Re-title MAM request tab and use arrows to indicate filled status

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

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

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        MAM Request Page Re-title
// @description  Re-title MAM request tab and use arrows to indicate filled status
// @namespace   yyyzzz999
// @author yyyzzz999
// @include     https://www.myanonamouse.net/tor/viewRequest.php/*
// @version     1.2
// @grant       none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
document.title=document.title.replace('Req: ', '↑'); // unfilled request hoping for upload
document.title=document.title.replace(''', "'"); // Remove HTMl that has crept into titles
if (document.querySelector(".altlink")) document.title=document.title.replace('↑','⬇'); // Filled request ready for download
/* If they change the download link class, this still makes a nicer title.  */
})();