GreasyFork Bullshit Filter

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.

< Feedback on GreasyFork Bullshit Filter


Posted: 2015-10-21
Edited: 2015-10-21

GreasyFork Bullshit Filter decembre : Make it compatible with [TS] Citrus GFork

Good idea!
But i use this script too:
[TS] Citrus GFork
Can you make it compatible with it ?

I try to tweak your script by change line 47 by that:
function insertStatus() {
var p = document.querySelector('#site-name');

So i can see your menu .
but the filter indicator seem not working.

Can you do something about that ??

Posted: 2015-11-01

thanks !

Posted: 2016-01-03
Edited: 2016-01-03

About "Non ASCII" filter....

Can you take care of the script description ?
By example this one :
// @description:fr

Because it touch script like this one:

Posted: 2016-01-03
Edited: 2016-01-04

The script currently filters anything over the ASCII range x00-x7F in hex. That is line 18: 'Non-ASCII': /[^\x00-\x7F\s]+/i, i.e. 0-127 in decimal.

Based on this page HTML Codes for French the non-ASCII french characters are xAB,xBB,xC0,xC2,xC6,xC7,xC8,xC9,xCA,xCB,xCE,xCF,xD4,xD9,xDB,xDC,xE0,xE2,xE6,xE7,xE8,xE9,xEA,xEB,xEE,xEF,xF4,xF9,xFB,xFC plus x80,x152,x153,x20A3 i.e. 171-252 in decimal (plus 128,338,339,8355 for the symbols: €, Œ, œ, ₣)

So, the ideal solution would be to combine these values with the above range.

But, what I can only suggest is to manually modify the line 18 into: 'Non-ASCII': /[^\x00-\xFC\s]+/i,

Posted: 2016-01-04
Edited: 2016-01-04

That's good, Thanks !
It seems i don't understand what is non-ASCII .
Apparently that's not to filter, by example Chinese language.

Post reply

Sign in to post a reply.