Greasy Fork is available in English.

ResHack

A brief description of your script

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           ResHack
    // @description    A brief description of your script
    // @author         Austin Fairgray
    // @include        https://discord.com*
    // @version        1.1
// @namespace https://greasyfork.org/users/708168
    // ==/UserScript==

    function displayContent(filter) {
        var src = [];
        var imgs = document.images;
        for (var i = 0, iLen = imgs.length; i < iLen; i++) {
            if (imgs[i].src.includes(filter)) {
                src[i] = imgs[i].src;
                window.open(imgs[i].src, '_blank');
                console.log(imgs[i].src);
            }
        }
    }

    var guiButtonUser = document.createElement("DIV");
    guiButtonUser.innerHTML = "User Icons";
    guiButtonUser.style = "border-radius:7px;background-color:#7289DA;padding:5px 70px;display:inline-block;font-family:sans-serif;border:0.5px solid #2C2F33;";
    guiButtonUser.id = "guiButtonUser";
    document.body.insertBefore(guiButtonUser, document.body.firstChild);

    var guiButtonIcons = document.createElement("DIV");
    guiButtonIcons.innerHTML = "Server Icons";
    guiButtonIcons.style = "border-radius:7px;background-color:#7289DA;padding:5px 70px;display:inline-block;font-family:sans-serif;border:0.5px solid #2C2F33;margin:0px 5px;";
    guiButtonIcons.id = "guiButtonIcons";
    document.body.insertBefore(guiButtonIcons, document.body.firstChild);

    document.getElementById('guiButtonUser').addEventListener("click", function () {
        displayContent("avatars"); //icons channel-icons
    });

    document.getElementById('guiButtonIcons').addEventListener("click", function () {
        displayContent("icons");
    });