Hides scripts for popular browser games and social networks as well as scripts that use "foreign" characters in descriptions. Applies to posts in Forum too.
< Відгуки до GreasyFork Bullshit Filter
Please change the rating to: No rating - just a question, comment, feature request, or bug report
The change was added as a kind contribution by @Graphen and he describes it in this discussion.
The filter in its initial form by kuehlschrank was named non-ASCII
, never non-English
:
he expanded it from
'Non-ASCII':/[^\x00-\x80\s]+/i,
into:
'Non-Latin': /[^\u0000-\u024F\u2000-\u214F\s]+/
,
which matches these Unicode blocks :
U+0000..U+007F Basic Latin
U+0080..U+00FF Latin-1 Supplement
U+0100..U+017F Latin Extended-A
U+0180..U+024F Latin Extended-B
U+2000..U+206F General Punctuation
U+2070..U+209F Superscripts and Subscripts
U+20A0..U+20CF Currency Symbols
U+20D0..U+20FF Combining Diacritical Marks for Symbols
U+2100..U+214F Letterlike Symbols
instead of just the ASCII range of \x00-\x80
(or \x00-\x7F
to be exact)
The filter matches Unicode character groups, not alphabets of specific languages/countries, it has nothing to do with that.
It's named fine as it is.
So why is my script being hidden?
Please fix that, this is all I want
the script considers this script as being Non-Latin
You were mistaken in the first place: it matches the non-ASCII
filter, not the Non Latin
, and you got me completely confused...
Anyway, non-ASCII
matches ç
(3 times) and é
, í
and ã
(1 time each). See for yourself: https://regex101.com/r/SwDdn3/3
Just replace them with c
, e
, i
, a
in both the script name and description, and you'll be fine.
Thanks but I'm not planning on modifying your script just for myself.
Could you do these changes and release a new update?
It seems like you didn't read my comment carefully enough.
What I mean is that MY script works fine as it is.
If you want your linked script not to match against the non-ASCII
filter, what you have to do is modify YOUR script (name+description):
change these two lines from:
// @name Preço Total - Mercado Livre
// @description Veja o preço final total no mercado livre antes de comprar um produto.Opcional = Automaticamente mostra os resultados no modo lista e organiza pelo menor preço.Mostra se o vendedor é bom (nível verde) e recomendado pelo ML ou não.
into:
// @name Preco Total - Mercado Livre
// @description Veja o preco final total no mercado livre antes de comprar um produto.Opcional = Automaticamente mostra os resultados no modo lista e organiza pelo menor preco.Mostra se o vendedor e bom (nivel verde) e recomendado pelo ML ou nao.
Yes, I know that the name and description is a problem.
But I don't think that I'm the only one that uses these symbols, spanish also uses these symbols too, so why not just fix/improve your script to not hide scripts with these symbols in the name/description...
This is a improvement request/suggestion, that's why I rated your script with "OK"
No, the filters serve their purpose as they are, there's nothing to fix/improve here.
Why is this script being hidden?
https://greasyfork.org/en/scripts/424595-night-mode
Which filter hides it?
clutter
As I mentioned above, you may test yourself a script entry (name
+ title
strings) against the relevant regex via e.g. https://regex101.com .
Its title
, "Night Mode", is what matches, see: https://regex101.com/r/ICKNro/1 .
It was per request
thx
The Non-Latin filter should be changed to Non-English
This script is in portuguese, but the script considers this script as being Non-Latin
https://greasyfork.org/en/scripts/418312-pre%C3%A7o-total-mercado-livre