[GreasyFork Bullshit Filter] Request : Add a filter to the forum for Chinese post ?

About: GreasyFork Bullshit Filter
May 2017 modifié dans Discussions de script Waterfox
In ref. to:
Now the forum is totally occupied by Chiness posts. Something must be done.
- It's possible to add a Filter in discussion title by Non-ASCII: that use non-English characters (accents, umlauts, cyrillic letters, ...) ?
- Maybe add an auto translate button to them ?
Ps:
Maybe the better place for this request is your script:
GreasyFork - filter discussions on scripts by review type and author

Réponses

  • May 2017 modifié Firefox

    Now the forum is totally occupied by Chiness posts. Something must be done.

    • It's possible to add a Filter in discussion title by Non-ASCII: that use non-English characters (accents, umlauts, cyrillic letters, ...) ?

    I updated the script (and its variation for Citrus GFork) so that they apply to posts in Forum too.

    • Maybe add an auto translate button to them ?

    I'd suggest that you use Chrome when browsing GreasyFork
    as it incorporates Google Translate functionality.

  • Now the forum is totally occupied by Chiness posts. Something must be done.
    - It's possible to add a Filter in discussion title by Non-ASCII: that use non-English characters (accents, umlauts, cyrillic letters, ...) ?

    I updated the script (and its variation for Citrus GFork) so that they apply to posts in Forum too.

    Thank you both, darkred and decembre! The forums and search listings are now manageable to read again.

  • May 2017 modifié Waterfox
    Fine!!!
    ...but i don't see it run if i don't use:
    // @include https://greasyfork.org/*/forum/discussions
    without * at the end ...
    I don't understand why.

    It's the same for the both scripts
  • Waterfox
    I use AutoPagerize in greasyfork forum.
    Your filter work well with it enable, but i need to re filter when some other page are loaded to active the filter on them.
    Can you find a solution ?
    Ps:
    Maybe can be useful, I add by CSS a fade effect to the filter results to control if they can be interesting.
  • May 2017 modifié Firefox
    Fine!!! ...but i don't see it run if i don't use: // @include https://greasyfork.org/*/forum/discussions without * at the end ... I don't understand why. It's the same for the both scripts

    Fixed. Check the new version.

    I use AutoPagerize in greasyfork forum. Your filter work well with it enable, but i need to re filter when some other page are loaded to active the filter on them. Can you find a solution ? Ps: Maybe can be useful, I add by CSS a fade effect to the filter results to control if they can be interesting.

    I can't help you with this.
    See this related discussion: (RARBG - torrent and magnet links) pls autopager support

  • Waterfox
    thanks, i go to read that !
    So why not use * at the end of the @include make a difference ?
  • May 2017 modifié Firefox

    ...but i don't see it run if i don't use:
    @include https://greasyfork.org/*/forum/discussions
    without * at the end ...

    So why not use * at the end of the @include make a difference ?

    Initially I had this:
    // @include https://greasyfork.org/*/forum/discussions/*
    which didn't cover e,g, https://greasyfork.org/en/forum/discussions

    You suggested:
    // @include https://greasyfork.org/*/forum/discussions*
    I came up with these two:

    // @include     https://greasyfork.org/*/forum/discussions
    // @include     https://greasyfork.org/*/forum/discussions/*
    

    (instead of your suggestion)
    simply because I wanted them to be visually on par with the last @include:

    // @include     https://greasyfork.org/*/forum/categories/*
    

    where I don't want it to apply to
    https://greasyfork.org/en/forum/categories

  • May 2017 modifié Chrome

    There are still some pages where the script doesn't run (scripts/libraries, scripts/by-site, ...)

    These are the rules that I currently use for when the script should execute and when not to execute:

    // @include     https://greasyfork.org/*/scripts*
    // @exclude     /^https:\/\/greasyfork.org\/.*\/scripts\/\d+.*/
    // @exclude     https://greasyfork.org/*/scripts/by-site
    // @exclude     https://greasyfork.org/*/scripts/by-site?*
    // @include     https://greasyfork.org/*/forum*
    // @exclude     https://greasyfork.org/*/forum/discussion*
    // @exclude     https://greasyfork.org/*/forum/profile*
    // @exclude     https://greasyfork.org/*/forum/messages*
    // @exclude     https://greasyfork.org/*/forum/categories
    

    Thank you for the script!

  • May 2017 modifié Firefox

    Updated both scripts with your include/exclude rules (thanks),
    and now they work in Libraries lists too.

  • May 2017 modifié Chrome

    Looks like I made an embarrassing mistake with the url rules in your greasyfork bullshit filter. I didn't notice that 'disussion*' would also cover 'discussions'

    // @exclude https://greasyfork.org/*/forum/discussion*
    should be:
    // @exclude /https:\/\/greasyfork.org\/.*\/forum\/discussion[^s].*/

    edit: // @exclude https://greasyfork.org/*/forum/discussion/* should also work.

    (sorry)

  • Fixed. Np.

  • Waterfox
    About autopargerize support , maybe this script can give an idea to you:
    userscripts 只显示中文
Connectez-vous ou Inscrivez-vous pour répondre.