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

About: GreasyFork Bullshit Filter
October 2015 modifié dans Discussions de script Firefox
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 ??


  • perfect:
    thanks !
  • January 2016 modifié Firefox
    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:
  • January 2016 modifié Default Browser

    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,

  • January 2016 modifié Firefox
    That's good, Thanks !
    It seems i don't understand what is non-ASCII .
    Apparently that's not to filter, by example Chinese language.
Connectez-vous ou Inscrivez-vous pour répondre.