Block a drawing client-side by its tags. By default, blocks futanari.
Block Pixiv Tag by spiraldoll
Details
Authorspiraldoll
LicenseCC Zero
Categorypixiv.net
Created
Updated
Code size1.7 kB
Code checksum483b189a
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
To change the tag to block, edit the text inside the [brackets]. First, URI-encode the tag’s text. Then, replace every %
with \25
. Add a space if the following character is between 0 to 9 or A to F.
Source code
@name pixiv hide tag
@version 1
@namespace clockheartdoll
@-moz-document domain("pixiv.net") {
.works-grid-list .list-item:has(a.tag[href^=\2Ftags\2F\25 E3\25 81\25 B5\25 E3\25 81\25 9F\25 E3\25 81\25 AA\25 E3\25 82\25 8A]) {
margin-block: 0;
padding: 0;
}
.works-grid-list .list-item:has(a.tag[href^=\2Ftags\2F\25 E3\25 81\25 B5\25 E3\25 81\25 9F\25 E3\25 81\25 AA\25 E3\25 82\25 8A]) > div {
display: none;
}
.works-grid-list .list-item:has(a.tag[href^=\2Ftags\2F\25 E3\25 81\25 B5\25 E3\25 81\25 9F\25 E3\25 81\25 AA\25 E3\25 82\25 8A])::before {
display: block;
content: "Blocked tag";
color: var(--color-text3);
background: var(--color-background1);
height: 0.5rem;
line-height: 0.5rem;
font-size: 0.5rem;
}
/*
how to block a different tag:
step 1: %-encode the tag name
ふたなり -> %E3%81%B5%E3%81%9F%E3%81%AA%E3%82%8A
step 2: replace every % with \25, adding a space after
-> \25 E3\25 81\25 B5\25 E3\25 81\25 9F\25 E3\25 81\25 AA\25 E3\25 82\25 8A
step 3: go to every part that says “[href^=\2Ftags\2F…]”, then paste step 2 between the second \2F and the ]
*/
}
@-moz-document domain("pixiv.net") {
/* .works-grid-list .list-item:has(.ai-generated) {
margin-block: 0;
padding: 0;
}
.works-grid-list .list-item:has(.ai-generated) > div {
margin: 0;
padding: 0;
overflow: hidden;
height: 0;
}
.works-grid-list .list-item:has(.ai-generated)::before {
display: block;
content: "Hidden AI-generated entry";
color: var(--color-text3);
background: var(--color-background1);
height: 0.5rem;
line-height: 0.5rem;
font-size: 0.5rem;
} */
}