-
-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(YouTube - Keyword filter): Add syntax to match whole keywords and not substrings #3592
feat(YouTube - Keyword filter): Add syntax to match whole keywords and not substrings #3592
Conversation
…whole keywords and not substrings.
The user may not intuitively understand this behavior. The description should mention that only entire words are matched. Perhaps it is possible to add a toggle to control whether to match words or also substrings |
Yes the description should mention that both singular and plural keywords can be added. I thought about adding a toggle to enable/disable whole word matching. But if toggled off then it's back to the old 3 character minimum length, and the under 3 character toast or the settings description would be a lot more complicated. Or remove the character limit even when whole word matching is off, but that will likely hide way too much stuff without the user realizing it. I think requiring plurals might be the simplest, and a side effect of that is always using the more accurate keyword matching. |
…erence into two sections to reduce text clipping of translations
d47db16
to
d982bc0
Compare
I realized that whole word matching will act weird or fail when used with Chinese and other pictograph languages, since spacing around words is not common. So whole word matching should be an on/off toggle. |
Maybe whole word matching can be set with an operator, such as This will allow users to specify which words should only be filtered by whole-word matching and which should be filtered through the general matching scheme. This solves the issue with pictographic languages, and makes it so users don't need to add the plural version of words for words that they don't use whole-word matching on. Example:
|
@KobeW50 Yeah that sounds interesting. Would need to use syntax that nobody would ever want as part of a keyword itself (or would need to support escaping the syntax). How to apply to a multiword phrase and not a single word, like Edit: The more complex quoting scheme below was not pursued, and a simple outer quote only was used. Maybe use quotes as that is easy to understand and it implies a literal meaning. It also would allow matching each side of a multi-word phrase:
Using quotes that are not part of the start/end of a phrase would be ignored since it effectively would do nothing. Or just keep it really simple and only support quotes around the entire word/phrase. That might be the simplest and maybe all that's needed. Only allowing quotes around the entire word/phrase also removes the issue of allowing quotes for whatever reason, because then |
I'll give the quotes idea a go and see how that works. |
You can employ escaping in order to allow the user to use quotes as the string to filter. Escaping " with \ could simply be treated as part of the string to filter. |
I will try using quotes around an entire word/phrase, as I think the selective whole word matching is too complex and not needed. If quotes on the outside are the only valid place for syntax, then there is no need for escaping because plain quotes anywhere else are left as-is and treated as part of the keyword/phrase. |
# [4.14.0-dev.3](v4.14.0-dev.2...v4.14.0-dev.3) (2024-08-30) ### Features * **YouTube - Keyword filter:** Add syntax to match whole keywords and not substrings ([#3592](#3592)) ([f5fb351](f5fb351))
# [4.14.0-dev.1](v4.13.3...v4.14.0-dev.1) (2024-09-09) ### Bug Fixes * **Pixiv - Hide ads:** Fix for latest version ([ReVanced#3616](https://github.com/E85Addict/revanced-patches/issues/3616)) ([98956e8](98956e8)) * **SwissID:** Rename `Remove Google Play Integrity Integrity check` to `Remove Google Play Integrity check` ([ReVanced#3558](https://github.com/E85Addict/revanced-patches/issues/3558)) ([0f5a771](0f5a771)) * **YouTube - ReturnYouTubeDislike:** Show estimated like count for videos with hidden likes ([ReVanced#3601](https://github.com/E85Addict/revanced-patches/issues/3601)) ([005be82](005be82)) * **YouTube - SponsorBlock:** Handle if the user enters an invalid number into any SB settings ([37b3dd1](37b3dd1)) ### Features * Add `Change data directory location` patch ([ReVanced#3602](https://github.com/E85Addict/revanced-patches/issues/3602)) ([5998029](5998029)) * Add `Check environment` patch ([ReVanced#3610](https://github.com/E85Addict/revanced-patches/issues/3610)) ([fbcbdaf](fbcbdaf)) * **Duolingo:** Add `Disable ads` and `Enable debug menu` patch ([ReVanced#3422](https://github.com/E85Addict/revanced-patches/issues/3422)) ([d0a8599](d0a8599)) * **YouTube - Keyword filter:** Add syntax to match whole keywords and not substrings ([ReVanced#3592](https://github.com/E85Addict/revanced-patches/issues/3592)) ([f5fb351](f5fb351)) * **YouTube - Spoof client:** Allow forcing AVC codec with iOS ([ReVanced#3570](https://github.com/E85Addict/revanced-patches/issues/3570)) ([1a49d1f](1a49d1f)) * **YouTube:** Support versions 19.17 thru 19.30 ([a69c4f3](a69c4f3))
# [4.14.0](v4.13.3...v4.14.0) (2024-09-18) ### Bug Fixes * **Pixiv - Hide ads:** Fix for latest version ([#3616](#3616)) ([98956e8](98956e8)) * **Soundcloud - Hide ads:** Support latest version ([#3628](#3628)) ([66e7e33](66e7e33)) * **SwissID:** Rename `Remove Google Play Integrity Integrity check` to `Remove Google Play Integrity check` ([#3558](#3558)) ([0f5a771](0f5a771)) * **YouTube - ReturnYouTubeDislike:** Show estimated like count for videos with hidden likes ([#3601](#3601)) ([005be82](005be82)) * **YouTube - SponsorBlock:** Add summary text to 'view my segments' button ([df80b9f](df80b9f)) * **YouTube - SponsorBlock:** Handle if the user enters an invalid number into any SB settings ([37b3dd1](37b3dd1)) * **YouTube:** Fix issues related to playback by replace streaming data ([#3582](#3582)) ([dfa94d7](dfa94d7)) ### Features * Add `Change data directory location` patch ([#3602](#3602)) ([5998029](5998029)) * Add `Check environment` patch ([#3610](#3610)) ([fbcbdaf](fbcbdaf)) * **Duolingo:** Add `Disable ads` and `Enable debug menu` patch ([#3422](#3422)) ([d0a8599](d0a8599)) * **Sync for Reddit:** Add `Fix /user/ endpoint` patch ([46d11f3](46d11f3)) * **Sync for Reddit:** Rename patch to `Use /user/ endpoint` ([98ead49](98ead49)) * **YouTube - Hide Shorts components:** Hide 'Use this sound' button ([#3647](#3647)) ([33fc090](33fc090)) * **YouTube - Keyword filter:** Add syntax to match whole keywords and not substrings ([#3592](#3592)) ([f5fb351](f5fb351)) * **YouTube - Spoof client:** Allow forcing AVC codec with iOS ([#3570](#3570)) ([1a49d1f](1a49d1f)) * **YouTube Music:** Make working patches compatible with latest versions ([#3556](#3556)) ([12f6f19](12f6f19)) * **YouTube:** Add donation link to settings about screen ([#3626](#3626)) ([0684ab5](0684ab5))
# [4.14.0](v4.13.3...v4.14.0) (2024-09-18) ### Bug Fixes * **Pixiv - Hide ads:** Fix for latest version ([ReVanced#3616](https://github.com/E85Addict/revanced-patches/issues/3616)) ([98956e8](98956e8)) * **Soundcloud - Hide ads:** Support latest version ([ReVanced#3628](https://github.com/E85Addict/revanced-patches/issues/3628)) ([66e7e33](66e7e33)) * **SwissID:** Rename `Remove Google Play Integrity Integrity check` to `Remove Google Play Integrity check` ([ReVanced#3558](https://github.com/E85Addict/revanced-patches/issues/3558)) ([0f5a771](0f5a771)) * **YouTube - ReturnYouTubeDislike:** Show estimated like count for videos with hidden likes ([ReVanced#3601](https://github.com/E85Addict/revanced-patches/issues/3601)) ([005be82](005be82)) * **YouTube - SponsorBlock:** Add summary text to 'view my segments' button ([df80b9f](df80b9f)) * **YouTube - SponsorBlock:** Handle if the user enters an invalid number into any SB settings ([37b3dd1](37b3dd1)) * **YouTube:** Fix issues related to playback by replace streaming data ([ReVanced#3582](https://github.com/E85Addict/revanced-patches/issues/3582)) ([dfa94d7](dfa94d7)) ### Features * Add `Change data directory location` patch ([ReVanced#3602](https://github.com/E85Addict/revanced-patches/issues/3602)) ([5998029](5998029)) * Add `Check environment` patch ([ReVanced#3610](https://github.com/E85Addict/revanced-patches/issues/3610)) ([fbcbdaf](fbcbdaf)) * **Duolingo:** Add `Disable ads` and `Enable debug menu` patch ([ReVanced#3422](https://github.com/E85Addict/revanced-patches/issues/3422)) ([d0a8599](d0a8599)) * **Sync for Reddit:** Add `Fix /user/ endpoint` patch ([46d11f3](46d11f3)) * **Sync for Reddit:** Rename patch to `Use /user/ endpoint` ([98ead49](98ead49)) * **YouTube - Hide Shorts components:** Hide 'Use this sound' button ([ReVanced#3647](https://github.com/E85Addict/revanced-patches/issues/3647)) ([33fc090](33fc090)) * **YouTube - Keyword filter:** Add syntax to match whole keywords and not substrings ([ReVanced#3592](https://github.com/E85Addict/revanced-patches/issues/3592)) ([f5fb351](f5fb351)) * **YouTube - Spoof client:** Allow forcing AVC codec with iOS ([ReVanced#3570](https://github.com/E85Addict/revanced-patches/issues/3570)) ([1a49d1f](1a49d1f)) * **YouTube Music:** Make working patches compatible with latest versions ([ReVanced#3556](https://github.com/E85Addict/revanced-patches/issues/3556)) ([12f6f19](12f6f19)) * **YouTube:** Add donation link to settings about screen ([ReVanced#3626](https://github.com/E85Addict/revanced-patches/issues/3626)) ([0684ab5](0684ab5)) ### Performance Improvements * Personal Logo && Add upstream sync ([2e4ef0a](2e4ef0a))
# [4.14.0](v4.13.3...v4.14.0) (2024-09-18) ### Bug Fixes * **Pixiv - Hide ads:** Fix for latest version ([ReVanced#3616](https://github.com/E85Addict/revanced-patches/issues/3616)) ([98956e8](98956e8)) * **Soundcloud - Hide ads:** Support latest version ([ReVanced#3628](https://github.com/E85Addict/revanced-patches/issues/3628)) ([66e7e33](66e7e33)) * **SwissID:** Rename `Remove Google Play Integrity Integrity check` to `Remove Google Play Integrity check` ([ReVanced#3558](https://github.com/E85Addict/revanced-patches/issues/3558)) ([0f5a771](0f5a771)) * **YouTube - ReturnYouTubeDislike:** Show estimated like count for videos with hidden likes ([ReVanced#3601](https://github.com/E85Addict/revanced-patches/issues/3601)) ([005be82](005be82)) * **YouTube - SponsorBlock:** Add summary text to 'view my segments' button ([df80b9f](df80b9f)) * **YouTube - SponsorBlock:** Handle if the user enters an invalid number into any SB settings ([37b3dd1](37b3dd1)) * **YouTube:** Fix issues related to playback by replace streaming data ([ReVanced#3582](https://github.com/E85Addict/revanced-patches/issues/3582)) ([dfa94d7](dfa94d7)) ### Features * Add `Change data directory location` patch ([ReVanced#3602](https://github.com/E85Addict/revanced-patches/issues/3602)) ([5998029](5998029)) * Add `Check environment` patch ([ReVanced#3610](https://github.com/E85Addict/revanced-patches/issues/3610)) ([fbcbdaf](fbcbdaf)) * **Duolingo:** Add `Disable ads` and `Enable debug menu` patch ([ReVanced#3422](https://github.com/E85Addict/revanced-patches/issues/3422)) ([d0a8599](d0a8599)) * **Sync for Reddit:** Add `Fix /user/ endpoint` patch ([46d11f3](46d11f3)) * **Sync for Reddit:** Rename patch to `Use /user/ endpoint` ([98ead49](98ead49)) * **YouTube - Hide Shorts components:** Hide 'Use this sound' button ([ReVanced#3647](https://github.com/E85Addict/revanced-patches/issues/3647)) ([33fc090](33fc090)) * **YouTube - Keyword filter:** Add syntax to match whole keywords and not substrings ([ReVanced#3592](https://github.com/E85Addict/revanced-patches/issues/3592)) ([f5fb351](f5fb351)) * **YouTube - Spoof client:** Allow forcing AVC codec with iOS ([ReVanced#3570](https://github.com/E85Addict/revanced-patches/issues/3570)) ([1a49d1f](1a49d1f)) * **YouTube Music:** Make working patches compatible with latest versions ([ReVanced#3556](https://github.com/E85Addict/revanced-patches/issues/3556)) ([12f6f19](12f6f19)) * **YouTube:** Add donation link to settings about screen ([ReVanced#3626](https://github.com/E85Addict/revanced-patches/issues/3626)) ([0684ab5](0684ab5)) ### Performance Improvements * Personal Logo && Add upstream sync ([2e4ef0a](2e4ef0a))
# [4.14.0-dev.1](v4.13.3...v4.14.0-dev.1) (2024-10-04) ### Bug Fixes * **Pixiv - Hide ads:** Fix for latest version ([ReVanced#3616](https://github.com/zainarbani/revanced-patches/issues/3616)) ([98956e8](98956e8)) * **Soundcloud - Hide ads:** Support latest version ([ReVanced#3628](https://github.com/zainarbani/revanced-patches/issues/3628)) ([66e7e33](66e7e33)) * **Soundcloud:** Support latest versions ([ReVanced#3702](https://github.com/zainarbani/revanced-patches/issues/3702)) ([099ac5e](099ac5e)) * **SwissID:** Rename `Remove Google Play Integrity Integrity check` to `Remove Google Play Integrity check` ([ReVanced#3558](https://github.com/zainarbani/revanced-patches/issues/3558)) ([0f5a771](0f5a771)) * **TikTok - Playback speed:** Prevent crash by fixing invalid patch ([82d53cb](82d53cb)) * **TikTok - Settings:** Prevent crash by fixing invalid patch ([8074032](8074032)) * **Twitter - Open links with app chooser:** Constrain patch to last working version `10.48.0-release` ([b9955d5](b9955d5)) * **Twitter - Open links with app chooser:** Fix incorrect version in compatibility list ([ReVanced#3683](https://github.com/zainarbani/revanced-patches/issues/3683)) ([adafe85](adafe85)) * **YouTube - Check environment:** Only use fields available since Android 8 ([ReVanced#3655](https://github.com/zainarbani/revanced-patches/issues/3655)) ([4413533](4413533)) * **YouTube - ReturnYouTubeDislike:** Show estimated like count for videos with hidden likes ([ReVanced#3601](https://github.com/zainarbani/revanced-patches/issues/3601)) ([005be82](005be82)) * **YouTube - SponsorBlock:** Add summary text to 'view my segments' button ([df80b9f](df80b9f)) * **YouTube - SponsorBlock:** Fade out SB buttons without overlapping other buttons ([ReVanced#3719](https://github.com/zainarbani/revanced-patches/issues/3719)) ([bf96108](bf96108)) * **YouTube - SponsorBlock:** Handle if the user enters an invalid number into any SB settings ([37b3dd1](37b3dd1)) * **YouTube - Spoof video streams:** Change default client type to Android VR ([74c8637](74c8637)) * **YouTube - Spoof video streams:** Change default client type to Android VR ([ReVanced#3672](https://github.com/zainarbani/revanced-patches/issues/3672)) ([a3306f6](a3306f6)) * **YouTube:** Fix issues related to playback by replace streaming data ([ReVanced#3582](https://github.com/zainarbani/revanced-patches/issues/3582)) ([dfa94d7](dfa94d7)) * **YouTube:** Show video chapter titles without clipping when overlay buttons are enabled ([ReVanced#3674](https://github.com/zainarbani/revanced-patches/issues/3674)) ([4b88c31](4b88c31)) ### Features * Add `Change data directory location` patch ([ReVanced#3602](https://github.com/zainarbani/revanced-patches/issues/3602)) ([5998029](5998029)) * Add `Check environment` patch ([ReVanced#3610](https://github.com/zainarbani/revanced-patches/issues/3610)) ([fbcbdaf](fbcbdaf)) * **Duolingo:** Add `Disable ads` and `Enable debug menu` patch ([ReVanced#3422](https://github.com/zainarbani/revanced-patches/issues/3422)) ([d0a8599](d0a8599)) * **Google Photos:** Restore hidden 'Back up while charging' toggle ([ReVanced#3678](https://github.com/zainarbani/revanced-patches/issues/3678)) ([f9e19ce](f9e19ce)) * **Sync for Reddit:** Add `Fix /user/ endpoint` patch ([46d11f3](46d11f3)) * **Sync for Reddit:** Rename patch to `Use /user/ endpoint` ([98ead49](98ead49)) * **TikTok:** Bump patches to support the latest version 36.5.4 ([e5dcb72](e5dcb72)) * **YouTube - Disable precise seeking gesture:** Hide "pull up" label that shows up when swiping ([ReVanced#3668](https://github.com/zainarbani/revanced-patches/issues/3668)) ([3fa8af9](3fa8af9)) * **YouTube - Hide Shorts components:** Add `Hide save music`, `Hide stickers` ([ReVanced#3710](https://github.com/zainarbani/revanced-patches/issues/3710)) ([8c99321](8c99321)) * **YouTube - Hide Shorts components:** Add option to hide like fountain ([ReVanced#3731](https://github.com/zainarbani/revanced-patches/issues/3731)) ([00a99dd](00a99dd)) * **YouTube - Hide Shorts components:** Add patch option to hide Shorts app shortcut (long press app icon) ([ReVanced#3699](https://github.com/zainarbani/revanced-patches/issues/3699)) ([0d4e1f5](0d4e1f5)) * **YouTube - Hide Shorts components:** Add patch option to hide Shorts from app launcher widget Beta ([ReVanced#3707](https://github.com/zainarbani/revanced-patches/issues/3707)) ([838f183](838f183)) * **YouTube - Hide Shorts components:** Hide 'Use this sound' button ([ReVanced#3647](https://github.com/zainarbani/revanced-patches/issues/3647)) ([33fc090](33fc090)) * **YouTube - Keyword filter:** Add syntax to match whole keywords and not substrings ([ReVanced#3592](https://github.com/zainarbani/revanced-patches/issues/3592)) ([f5fb351](f5fb351)) * **YouTube - Spoof client:** Allow forcing AVC codec with iOS ([ReVanced#3570](https://github.com/zainarbani/revanced-patches/issues/3570)) ([1a49d1f](1a49d1f)) * **YouTube Music:** Make working patches compatible with latest versions ([ReVanced#3556](https://github.com/zainarbani/revanced-patches/issues/3556)) ([12f6f19](12f6f19)) * **YouTube:** Add donation link to settings about screen ([ReVanced#3626](https://github.com/zainarbani/revanced-patches/issues/3626)) ([0684ab5](0684ab5))
# [4.14.0-dev.1](v4.13.3...v4.14.0-dev.1) (2024-10-04) ### Bug Fixes * **Pixiv - Hide ads:** Fix for latest version ([ReVanced#3616](https://github.com/zainarbani/revanced-patches/issues/3616)) ([98956e8](98956e8)) * **Soundcloud - Hide ads:** Support latest version ([ReVanced#3628](https://github.com/zainarbani/revanced-patches/issues/3628)) ([66e7e33](66e7e33)) * **Soundcloud:** Support latest versions ([ReVanced#3702](https://github.com/zainarbani/revanced-patches/issues/3702)) ([099ac5e](099ac5e)) * **SwissID:** Rename `Remove Google Play Integrity Integrity check` to `Remove Google Play Integrity check` ([ReVanced#3558](https://github.com/zainarbani/revanced-patches/issues/3558)) ([0f5a771](0f5a771)) * **TikTok - Playback speed:** Prevent crash by fixing invalid patch ([82d53cb](82d53cb)) * **TikTok - Settings:** Prevent crash by fixing invalid patch ([8074032](8074032)) * **Twitter - Open links with app chooser:** Constrain patch to last working version `10.48.0-release` ([b9955d5](b9955d5)) * **Twitter - Open links with app chooser:** Fix incorrect version in compatibility list ([ReVanced#3683](https://github.com/zainarbani/revanced-patches/issues/3683)) ([adafe85](adafe85)) * **YouTube - Check environment:** Only use fields available since Android 8 ([ReVanced#3655](https://github.com/zainarbani/revanced-patches/issues/3655)) ([4413533](4413533)) * **YouTube - ReturnYouTubeDislike:** Show estimated like count for videos with hidden likes ([ReVanced#3601](https://github.com/zainarbani/revanced-patches/issues/3601)) ([005be82](005be82)) * **YouTube - SponsorBlock:** Add summary text to 'view my segments' button ([df80b9f](df80b9f)) * **YouTube - SponsorBlock:** Fade out SB buttons without overlapping other buttons ([ReVanced#3719](https://github.com/zainarbani/revanced-patches/issues/3719)) ([bf96108](bf96108)) * **YouTube - SponsorBlock:** Handle if the user enters an invalid number into any SB settings ([37b3dd1](37b3dd1)) * **YouTube - Spoof video streams:** Change default client type to Android VR ([74c8637](74c8637)) * **YouTube - Spoof video streams:** Change default client type to Android VR ([ReVanced#3672](https://github.com/zainarbani/revanced-patches/issues/3672)) ([a3306f6](a3306f6)) * **YouTube:** Fix issues related to playback by replace streaming data ([ReVanced#3582](https://github.com/zainarbani/revanced-patches/issues/3582)) ([dfa94d7](dfa94d7)) * **YouTube:** Show video chapter titles without clipping when overlay buttons are enabled ([ReVanced#3674](https://github.com/zainarbani/revanced-patches/issues/3674)) ([4b88c31](4b88c31)) ### Features * Add `Change data directory location` patch ([ReVanced#3602](https://github.com/zainarbani/revanced-patches/issues/3602)) ([5998029](5998029)) * Add `Check environment` patch ([ReVanced#3610](https://github.com/zainarbani/revanced-patches/issues/3610)) ([fbcbdaf](fbcbdaf)) * **Duolingo:** Add `Disable ads` and `Enable debug menu` patch ([ReVanced#3422](https://github.com/zainarbani/revanced-patches/issues/3422)) ([d0a8599](d0a8599)) * **Google Photos:** Restore hidden 'Back up while charging' toggle ([ReVanced#3678](https://github.com/zainarbani/revanced-patches/issues/3678)) ([f9e19ce](f9e19ce)) * **Sync for Reddit:** Add `Fix /user/ endpoint` patch ([46d11f3](46d11f3)) * **Sync for Reddit:** Rename patch to `Use /user/ endpoint` ([98ead49](98ead49)) * **TikTok:** Bump patches to support the latest version 36.5.4 ([e5dcb72](e5dcb72)) * **YouTube - Disable precise seeking gesture:** Hide "pull up" label that shows up when swiping ([ReVanced#3668](https://github.com/zainarbani/revanced-patches/issues/3668)) ([3fa8af9](3fa8af9)) * **YouTube - Hide Shorts components:** Add `Hide save music`, `Hide stickers` ([ReVanced#3710](https://github.com/zainarbani/revanced-patches/issues/3710)) ([8c99321](8c99321)) * **YouTube - Hide Shorts components:** Add option to hide like fountain ([ReVanced#3731](https://github.com/zainarbani/revanced-patches/issues/3731)) ([00a99dd](00a99dd)) * **YouTube - Hide Shorts components:** Add patch option to hide Shorts app shortcut (long press app icon) ([ReVanced#3699](https://github.com/zainarbani/revanced-patches/issues/3699)) ([0d4e1f5](0d4e1f5)) * **YouTube - Hide Shorts components:** Add patch option to hide Shorts from app launcher widget Beta ([ReVanced#3707](https://github.com/zainarbani/revanced-patches/issues/3707)) ([838f183](838f183)) * **YouTube - Hide Shorts components:** Hide 'Use this sound' button ([ReVanced#3647](https://github.com/zainarbani/revanced-patches/issues/3647)) ([33fc090](33fc090)) * **YouTube - Keyword filter:** Add syntax to match whole keywords and not substrings ([ReVanced#3592](https://github.com/zainarbani/revanced-patches/issues/3592)) ([f5fb351](f5fb351)) * **YouTube - Spoof client:** Allow forcing AVC codec with iOS ([ReVanced#3570](https://github.com/zainarbani/revanced-patches/issues/3570)) ([1a49d1f](1a49d1f)) * **YouTube Music:** Make working patches compatible with latest versions ([ReVanced#3556](https://github.com/zainarbani/revanced-patches/issues/3556)) ([12f6f19](12f6f19)) * **YouTube:** Add donation link to settings about screen ([ReVanced#3626](https://github.com/zainarbani/revanced-patches/issues/3626)) ([0684ab5](0684ab5))
# [4.18.0-dev.1](v4.17.1...v4.18.0-dev.1) (2024-10-04) ### Bug Fixes * **Pixiv - Hide ads:** Fix for latest version ([ReVanced#3616](https://github.com/zainarbani/revanced-patches/issues/3616)) ([98956e8](98956e8)) * **Soundcloud - Hide ads:** Support latest version ([ReVanced#3628](https://github.com/zainarbani/revanced-patches/issues/3628)) ([66e7e33](66e7e33)) * **Soundcloud:** Support latest versions ([ReVanced#3702](https://github.com/zainarbani/revanced-patches/issues/3702)) ([099ac5e](099ac5e)) * **SwissID:** Rename `Remove Google Play Integrity Integrity check` to `Remove Google Play Integrity check` ([ReVanced#3558](https://github.com/zainarbani/revanced-patches/issues/3558)) ([0f5a771](0f5a771)) * **TikTok - Playback speed:** Prevent crash by fixing invalid patch ([82d53cb](82d53cb)) * **TikTok - Settings:** Prevent crash by fixing invalid patch ([8074032](8074032)) * **Twitter - Open links with app chooser:** Constrain patch to last working version `10.48.0-release` ([b9955d5](b9955d5)) * **Twitter - Open links with app chooser:** Fix incorrect version in compatibility list ([ReVanced#3683](https://github.com/zainarbani/revanced-patches/issues/3683)) ([adafe85](adafe85)) * **YouTube - Check environment:** Only use fields available since Android 8 ([ReVanced#3655](https://github.com/zainarbani/revanced-patches/issues/3655)) ([4413533](4413533)) * **YouTube - ReturnYouTubeDislike:** Show estimated like count for videos with hidden likes ([ReVanced#3601](https://github.com/zainarbani/revanced-patches/issues/3601)) ([005be82](005be82)) * **YouTube - SponsorBlock:** Add summary text to 'view my segments' button ([df80b9f](df80b9f)) * **YouTube - SponsorBlock:** Fade out SB buttons without overlapping other buttons ([ReVanced#3719](https://github.com/zainarbani/revanced-patches/issues/3719)) ([bf96108](bf96108)) * **YouTube - SponsorBlock:** Handle if the user enters an invalid number into any SB settings ([37b3dd1](37b3dd1)) * **YouTube - Spoof video streams:** Change default client type to Android VR ([74c8637](74c8637)) * **YouTube - Spoof video streams:** Change default client type to Android VR ([ReVanced#3672](https://github.com/zainarbani/revanced-patches/issues/3672)) ([a3306f6](a3306f6)) * **YouTube:** Fix issues related to playback by replace streaming data ([ReVanced#3582](https://github.com/zainarbani/revanced-patches/issues/3582)) ([dfa94d7](dfa94d7)) * **YouTube:** Show video chapter titles without clipping when overlay buttons are enabled ([ReVanced#3674](https://github.com/zainarbani/revanced-patches/issues/3674)) ([4b88c31](4b88c31)) ### Features * Add `Change data directory location` patch ([ReVanced#3602](https://github.com/zainarbani/revanced-patches/issues/3602)) ([5998029](5998029)) * Add `Check environment` patch ([ReVanced#3610](https://github.com/zainarbani/revanced-patches/issues/3610)) ([fbcbdaf](fbcbdaf)) * **Duolingo:** Add `Disable ads` and `Enable debug menu` patch ([ReVanced#3422](https://github.com/zainarbani/revanced-patches/issues/3422)) ([d0a8599](d0a8599)) * **Google Photos:** Restore hidden 'Back up while charging' toggle ([ReVanced#3678](https://github.com/zainarbani/revanced-patches/issues/3678)) ([f9e19ce](f9e19ce)) * **Sync for Reddit:** Add `Fix /user/ endpoint` patch ([46d11f3](46d11f3)) * **Sync for Reddit:** Rename patch to `Use /user/ endpoint` ([98ead49](98ead49)) * **TikTok:** Bump patches to support the latest version 36.5.4 ([e5dcb72](e5dcb72)) * **YouTube - Disable precise seeking gesture:** Hide "pull up" label that shows up when swiping ([ReVanced#3668](https://github.com/zainarbani/revanced-patches/issues/3668)) ([3fa8af9](3fa8af9)) * **YouTube - Hide Shorts components:** Add `Hide save music`, `Hide stickers` ([ReVanced#3710](https://github.com/zainarbani/revanced-patches/issues/3710)) ([8c99321](8c99321)) * **YouTube - Hide Shorts components:** Add option to hide like fountain ([ReVanced#3731](https://github.com/zainarbani/revanced-patches/issues/3731)) ([00a99dd](00a99dd)) * **YouTube - Hide Shorts components:** Add patch option to hide Shorts app shortcut (long press app icon) ([ReVanced#3699](https://github.com/zainarbani/revanced-patches/issues/3699)) ([0d4e1f5](0d4e1f5)) * **YouTube - Hide Shorts components:** Add patch option to hide Shorts from app launcher widget Beta ([ReVanced#3707](https://github.com/zainarbani/revanced-patches/issues/3707)) ([838f183](838f183)) * **YouTube - Hide Shorts components:** Hide 'Use this sound' button ([ReVanced#3647](https://github.com/zainarbani/revanced-patches/issues/3647)) ([33fc090](33fc090)) * **YouTube - Keyword filter:** Add syntax to match whole keywords and not substrings ([ReVanced#3592](https://github.com/zainarbani/revanced-patches/issues/3592)) ([f5fb351](f5fb351)) * **YouTube - Spoof client:** Allow forcing AVC codec with iOS ([ReVanced#3570](https://github.com/zainarbani/revanced-patches/issues/3570)) ([1a49d1f](1a49d1f)) * **YouTube Music:** Make working patches compatible with latest versions ([ReVanced#3556](https://github.com/zainarbani/revanced-patches/issues/3556)) ([12f6f19](12f6f19)) * **YouTube:** Add donation link to settings about screen ([ReVanced#3626](https://github.com/zainarbani/revanced-patches/issues/3626)) ([0684ab5](0684ab5))
Adds syntax to match keywords by word boundaries.
This syntax now allows short phrases like
ai
that previously could not be used.How to use:
Surround any keyword or phrase with double quotes, such as:
Keyword:
"ai"
Example videos that will be hidden:
But unrelated videos will not be hidden:
Keyword:
"vice news"
Example videos that will be hidden:
But unrelated videos will not be hidden:
If you have keywords in languages that do not use spaces between words (Chinese, Japanese, Burmese, etc), then using whole word syntax is not recommended. But for all other languages it is recommended whenever possible since the filtering is much more accurate.
Using quotes will interfere with most pluralized words, as
"fox"
will no longer matchfoxes
, so multiple variations may be needed for some words. But punctuation and other non letters are ignored, so"fox"
will match and hidefox's
,fox?
, and#fox123
.Integration changes