Skip to content

Hide Specific Art Fight Attacks by Avistella

Screenshot of Hide Specific Art Fight Attacks

Details

AuthorAvistella

LicenseCC-BY-NC-SA-4.0

Categoryartfight.net

Created

Updated

Size2.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hides specific Art Fight attacks from view

Notes

v1.1.0: Added version of code to remove thumbnail completely from sight

Source code

/* ==UserStyle==
@name           Hide Specific Art Fight Attacks
@namespace      Hide Specific Art Fight Attacks | Avistella
@version        1.1.0
@description    Hides specific Art Fight attacks from view
@author         Avistella
@license        CC-BY-NC-SA-4.0
@preprocessor   stylus

@var checkbox   shi             "Show hidden images"                               0

==/UserStyle== */

@-moz-document domain("artfight.net") {
    
    /*--------------
    USE THIS VERSION OF THE CODE IF YOU ONLY WANT TO 
    HIDE THE THUMBNAIL BUT STILL BE ABLE TO ACCESS THE IMAGE
    --------------*/
    if shi == 0 {
        .attack-thumb[href="INSERT_ATTACK_URL_HERE"]:before,
        .attack-thumb[href="INSERT_ATTACK_URL_HERE"]:before,
        .attack-thumb[href="INSERT_ATTACK_URL_HERE"]:before,
        .attack-thumb[href="INSERT_ATTACK_URL_HERE"]:before,
        .attack-thumb[href="INSERT_ATTACK_URL_HERE"]:before {
            display:flex;
            justify-content:center;
            align-items:center;
            position:absolute;
            top:0;
            left:0;
            right:0;
            bottom:0;
            font-size:1.5rem;
            text-align:center;
            background:var(--dark);
            color:var(--gray);
            content:'PERSONALLY HIDDEN';
        }
    }
    
    
    
    /*--------------
    USE THIS VERSION OF THE CODE IF YOU ONLY WANT TO COMPLETELY
    REMOVE THE IMAGE FROM SIGHT
    --------------*/
    if shi == 0 {
        .profile-gallery-defense:has([href="INSERT_ATTACK_URL_HERE"]), .col-6.col-sm-4.col-md-2:has([href="INSERT_ATTACK_URL_HERE"]),
        .profile-gallery-defense:has([href="INSERT_ATTACK_URL_HERE"]), .col-6.col-sm-4.col-md-2:has([href="INSERT_ATTACK_URL_HERE"]),
        .profile-gallery-defense:has([href="INSERT_ATTACK_URL_HERE"]), .col-6.col-sm-4.col-md-2:has([href="INSERT_ATTACK_URL_HERE"]),
        .profile-gallery-defense:has([href="INSERT_ATTACK_URL_HERE"]), .col-6.col-sm-4.col-md-2:has([href="INSERT_ATTACK_URL_HERE"]),
        .profile-gallery-defense:has([href="INSERT_ATTACK_URL_HERE"]), .col-6.col-sm-4.col-md-2:has([href="INSERT_ATTACK_URL_HERE"]) {
            display:none;
        }
    }
    
    
}

Reviews

No reviews yet.