zbluebugz / facebook-clean-my-feeds

Clean up Facebook feeds by hiding sponsored, suggestions and other posts based on keywords.
GNU General Public License v3.0
113 stars 13 forks source link

Use Regular Expressions in text filters #29

Closed zbluebugz closed 4 days ago

zbluebugz commented 1 year ago

Can Regular Expressions be used in text-filters?

zbluebugz commented 1 year ago

Preliminary testing (after tweaking code), says it is possible. Further testing needs to be done though ...

Bamboozul commented 1 year ago

Is it supported in the most recent beta version (beta-4-15)?

I have 4.13-beta-v2, which supports it, but sponsored posts are reappearing.

zbluebugz commented 1 year ago

v4.15 has the updated code for catching sponsored posts (mid-Feb 2023 change). Does not have the Regular Expression code as I haven't spent much time testing / using it.

Cloned a copy for you to use. Has the Regular Expression code. (v4.15re)

Available for use: beta/archive/beta-4-15-w-regexp.js

Bamboozul commented 1 year ago

v4.15 has the updated code for catching sponsored posts (mid-Feb 2023 change). Does not have the Regular Expression code as I haven't spent much time testing / using it.

Cloned a copy for you to use. Has the Regular Expression code. (v4.15re)

Available for use: beta/archive/beta-4-15-w-regexp.js

Thank you

zbluebugz commented 1 year ago

There's bug with version 4.15/4.15re.

If you choose to hide the notifications, fb will complain after a few posts. Setting hide notifications to either 1 or more, will not cause fb to complain.

Will implement a fix later on.

zbluebugz commented 1 year ago

Version v4.16/v4.16re has been released. Fixed issue with setting causing FB to throw a wobble.

Available for use: beta/archive/beta-4-16-w-regexp.js

Bamboozul commented 1 year ago

Version v4.16/v4.16re has been released. Fixed issue with setting causing FB to throw a wobble.

Available for use: beta/archive/beta-4-16-w-regexp.js

Much appreciated.

zbluebugz commented 1 year ago

Version v4.17/v4.17re has been released.

Available for use: beta/archive/beta-4-17-w-regexp.js

zbluebugz commented 1 year ago

Version v4.18/v4.18re has been released.

Updated News Feed sponsored rule Updated News Feed suggestions rule

Available for use: beta/archive/beta-4-18-w-regexp.js

zbluebugz commented 1 year ago

Version v4.19/v4.19re has been released.

Updated News Feed posts selection rule (FB changed structure)

Available for use: beta/archive/beta-4-19-w-regexp.js

zbluebugz commented 1 year ago

Version v4.20/v4.20re has been released.

Available for use: beta/archive/beta-4-20-w-regexp.js

zbluebugz commented 1 year ago

Version v4.21/v4.21re has been released.

Available for use: beta/archive/beta-4-21-w-regexp.js

zbluebugz commented 1 year ago

Version 4.22re released.

Available for use: beta/archive/beta-4-22-w-regexp.js

zbluebugz commented 10 months ago

Version 4.23re released.

Available for use: beta/archive/beta-4-23-w-regexp.js

zbluebugz commented 10 months ago

Version 4.24re released.

Available for use: beta/archive/beta-4-24-w-regexp.user.jss

zbluebugz commented 8 months ago

Version 4.25re released.

Available for use: beta/archive/beta-4-26-w-regexp.user.jss

Bamboozul commented 3 months ago

Could you combine the two versions and include regular expressions as an option?

zbluebugz commented 3 months ago

Will do - working on v5.0x at the moment.

Can you give me a sample (simple one) of regular expression you use?

Bamboozul commented 3 months ago

Can you give me a sample (simple one) of regular expression you use?

beIN SPORTS.*Formula1 beIN SPORTS.*#MotoGP

Anime Trending.*\bEpisode \b.*\bPreview\b Anime Trending.*ICYMI

ASTRA 19 استرا.*#الدوري_الفرنسـي ASTRA 19 استرا.*الدوري_الفرنسـي ASTRA 19 استرا.*الدوري الفرنسي

zbluebugz commented 4 days ago

v4.31 released - includes RegExp.