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

Question/comment

§
Posted: 2017-05-15
Edited: 2017-05-15

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

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

darkredAuthor
§
Posted: 2017-05-15
Edited: 2017-05-15

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.

§
Posted: 2017-05-16

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.

§
Posted: 2017-05-16
Edited: 2017-05-16

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

§
Posted: 2017-05-16

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.

darkredAuthor
§
Posted: 2017-05-16
Edited: 2017-05-16
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

§
Posted: 2017-05-16

thanks, i go to read that !
So why not use * at the end of the @include make a difference ?

darkredAuthor
§
Posted: 2017-05-16
Edited: 2017-05-16

...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

§
Posted: 2017-05-16
Edited: 2017-05-16

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!

darkredAuthor
§
Posted: 2017-05-16
Edited: 2017-05-16

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

§
Posted: 2017-05-18
Edited: 2017-05-18

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)

darkredAuthor
§
Posted: 2017-05-18

Fixed. Np.

§
Posted: 2017-05-25

About autopargerize support , maybe this script can give an idea to you:
userscripts 只显示中文

§
Posted: 2019-10-13

Some (very few in fact...) scripts are hidden when "Non ASCII" is enable, but they are not Chinese... Maybe because the use some special character like •••• ...

By example: USO to USMO INSTALL USER SCRIPT WME URCom Francais Belgique eBay™ Popularity Sort Toggle Passwords [Mountyhall] Assistant Mélange Magique

PS: About my problem to have your script working in conjunction with an auto/infinte scrolling script. I use now: SuperpreloaderPlusone_New It provide very useful options. And we can set them for each site we want use with it. On greasyfork scripts listing i check all "iframe" options and your script work on all pages loaded.

And that's why i can watch easily some "mistake":-)

darkredAuthor
§
Posted: 2019-10-13
Edited: 2019-10-13

If you check the "Non-ASCII" regex against each of your listed script titles+descriptions in https://regex101.com/ , that is:

(add the '/mg' switches)

/[^\x00-\x7F\s]+/img   
USO to USMO
and userscripts.org links lead to userscripts-mirror.org — all kinds: http/https, www/no-www, short/long — bypass this script by holding CTRL+ALT+SHIFT

INSTALL USER SCRIPT
bitbucket.org, github.com, gitlab.com: Convenient direct “raw” download links (leftmost file icon) to “Install” user scripts and user styles from file lists. This will also allow user css/js auto‐update, even if the script author has not set @downloadURL and @updateURL.

WME URCom Francais Belgique
Ce script est la traduction francaise des commentaires de URCom, il doit être utilisé avec ma version du script URCom

eBay™ Popularity Sort
Sorts eBay™ search results by popularity (number of times sold)

Toggle Passwords
Places an eye-icon at the right side of every password field. Clicking this icon toggles the display of all passwords between •••• and text.(submitting a form will allways revert the fields to type=password, to make sure no auto-completion information is stored for these fields by your browser.)

[Mountyhall] Assistant Mélange Magique
Assistant Mélange Magique & Affichage % de stabilisation des compos

you'll notice that the matching characters are in each case:

  1. the dashes -
  2. the quotes "" and the small dashes
  3. the ê and é
  4. the
  5. the ••••
  6. the é

 

Unfortunately there's nothing I can do to help you with this - the "Non-ASCII" regex is almost as in its initial form by the script original author, kuehlschrank: /[^\x00-\x80\s]+/i

§
Posted: 2019-10-13

Thanks for the explanation!

I make a big search annnndddd ...... i haven't found something better than this regex! ;-) Regex is evil....

§
Posted: 2019-10-18

@decembre said: Regex is evil....

...but necessary!

§
Posted: 2019-10-18

yes, i try to understand it!

Post reply

Sign in to post a reply.