HakuAgatsuma
06/02/23 08:58AM
Is there a limit on blacklist ?
Is it possible to blacklist everything or is there a limit ?
doltscanttag
06/02/23 09:03AM
~4060 characters, but the storage method stores spaces as 5 characters (%2520) and some punctuation marks as 3 characters (eg. an asterisk is %2A). In non-technical terms, you can usually have 2800-3100 characters in it before it tries to cut you off.
HakuAgatsuma
06/02/23 09:07AM
doltscanttag said:
~4060 characters, but the storage method stores spaces as 5 characters (%2520) and some punctuation marks as 3 characters (eg. an asterisk is %2A). In non-technical terms, you can usually have 2800-3100 characters in it before it tries to cut you off.


That's unfortunate. I was hoping to blacklist even more tags
doltscanttag
06/02/23 09:09AM
HakuAgatsuma said:
doltscanttag said:
~4060 characters, but the storage method stores spaces as 5 characters (%2520) and some punctuation marks as 3 characters (eg. an asterisk is %2A). In non-technical terms, you can usually have 2800-3100 characters in it before it tries to cut you off.


That's unfortunate. I was hoping to blacklist even more tags

If you're already hitting the limit then clever use of wildcards can cut the list down. I can help you with that if you want. My list is loaded with them.
God_filler
06/02/23 09:09AM
HakuAgatsuma said:
doltscanttag said:
~4060 characters, but the storage method stores spaces as 5 characters (%2520) and some punctuation marks as 3 characters (eg. an asterisk is %2A). In non-technical terms, you can usually have 2800-3100 characters in it before it tries to cut you off.


That's unfortunate. I was hoping to blacklist even more tags

I wonder? In theory what is the max amount of tags in that can be added to the blacklist pool?
HakuAgatsuma
06/02/23 09:10AM
doltscanttag said:
HakuAgatsuma said:
doltscanttag said:
~4060 characters, but the storage method stores spaces as 5 characters (%2520) and some punctuation marks as 3 characters (eg. an asterisk is %2A). In non-technical terms, you can usually have 2800-3100 characters in it before it tries to cut you off.


That's unfortunate. I was hoping to blacklist even more tags

If you're already hitting the limit then clever use of wildcards can cut the list down. I can help you with that if you want.


What is that ?
doltscanttag
06/02/23 09:11AM
God_filler said:
I wonder? In theory what is the max amount of tags in that can be added to the blacklist pool?

Every tag needs at least 1 character in it and the spaces separating them are always counted as 5, so the theoretical maximum would be ~677 tags. In practice, the limit is more like ~270.
HakuAgatsuma
06/02/23 09:12AM
God_filler said:
HakuAgatsuma said:
doltscanttag said:
~4060 characters, but the storage method stores spaces as 5 characters (%2520) and some punctuation marks as 3 characters (eg. an asterisk is %2A). In non-technical terms, you can usually have 2800-3100 characters in it before it tries to cut you off.


That's unfortunate. I was hoping to blacklist even more tags

I wonder? In theory what is the max amount of tags in that can be added to the blacklist pool?


I don't know but i was hoping to be able to blacklist more tags since there are a lot of stuff i don't want to see . Certain tags , certain characters
Irrixiatdowne
06/02/23 12:14PM
HakuAgatsuma said:
doltscanttag said:
HakuAgatsuma said:
doltscanttag said:
~4060 characters, but the storage method stores spaces as 5 characters (%2520) and some punctuation marks as 3 characters (eg. an asterisk is %2A). In non-technical terms, you can usually have 2800-3100 characters in it before it tries to cut you off.


That's unfortunate. I was hoping to blacklist even more tags

If you're already hitting the limit then clever use of wildcards can cut the list down. I can help you with that if you want.


What is that ?

Wildcard is the *, which in computer language means [insert any string of characters]. So putting b*c would blacklist bbc and bwc (also biotic, background_music, blanc, etc.) which are tags we don't use, but as an example.
HakuAgatsuma
06/02/23 12:33PM
Irrixiatdowne said:
HakuAgatsuma said:
doltscanttag said:
HakuAgatsuma said:
doltscanttag said:
~4060 characters, but the storage method stores spaces as 5 characters (%2520) and some punctuation marks as 3 characters (eg. an asterisk is %2A). In non-technical terms, you can usually have 2800-3100 characters in it before it tries to cut you off.


That's unfortunate. I was hoping to blacklist even more tags

If you're already hitting the limit then clever use of wildcards can cut the list down. I can help you with that if you want.


What is that ?

Wildcard is the *, which in computer language means [insert any string of characters]. So putting b*c would blacklist bbc and bwc (also biotic, background_music, blanc, etc.) which are tags we don't use, but as an example.


I don't understand how does it blacklist those too besides the bbc and bwc ?
doltscanttag
06/02/23 01:18PM
HakuAgatsuma said:
Irrixiatdowne said:
Wildcard is the *, which in computer language means [insert any string of characters]. So putting b*c would blacklist bbc and bwc (also biotic, background_music, blanc, etc.) which are tags we don't use, but as an example.


I don't understand how does it blacklist those too besides the bbc and bwc ?

In the example above (b*c), every tag that starts with B and ends with C would be covered by that one entry. The asterisk can represent any number of characters.
HakuAgatsuma
06/02/23 01:37PM
doltscanttag said:
HakuAgatsuma said:
Irrixiatdowne said:
Wildcard is the *, which in computer language means [insert any string of characters]. So putting b*c would blacklist bbc and bwc (also biotic, background_music, blanc, etc.) which are tags we don't use, but as an example.


I don't understand how does it blacklist those too besides the bbc and bwc ?

In the example above (b*c), every tag that starts with B and ends with C would be covered by that one entry. The asterisk can represent any number of characters.


Oh i see
Krudor
06/19/23 12:23PM
First post, hope I'm doing this right...

You can use something like tampermonkey or other browser script plugin to work around this issue.

I have a script that looks at the posts on the page, gets the tags associated with that post and checks if it matches a hardcoded list of tags, and if so, adds the same "blacklisted-image" css class to that post as the regular website does, showing the "Blacklisted" placeholder image.

It works great, only downside is you have to edit that hardcoded list of tags in the script instead of going to your account and adding the tag to the blacklist in the settings gui, few more steps, but it works.

I pair this with a Stylebot (another extension) rule that just completely hides the blacklisted posts, so you don't even see the "Blacklisted" placeholder image.

Here's the stylebot filter if anyone is interested:

span.thumb.blacklisted-image {
display: none;
}

Not sure what the rules say about sharing custom javascript code however.
1


Reply | Forum Index