digipaws icon indicating copy to clipboard operation
digipaws copied to clipboard

fix regex for keyword search

Open Ais8Ooz8 opened this issue 8 months ago • 4 comments

Need the ability to block search in Telegram and other applications, for example, BlockP can do this

https://www.reddit.com/r/nosurf/comments/18s0vcq/telegram_how_to_disable_search_bar_android_no_root

Ais8Ooz8 avatar Apr 05 '25 15:04 Ais8Ooz8

@Ais8Ooz8 recursive mode probably should block telegram search

nethical6 avatar Apr 05 '25 15:04 nethical6

@nethical6 Could you give more details please? I tried blocking specific channels so that when I type certain words it kicks me back out, but it doesn't work.

It's also worth noting that in Telegram, when I click on the search box for users/chats/channels, it shows recent ones, which is still too distracting even if I'm not typing anything.

Ais8Ooz8 avatar Apr 05 '25 15:04 Ais8Ooz8

@nethical6 Could you give more details please? I tried blocking specific channels so that when I type certain words it kicks me back out, but it doesn't work.

It's also worth noting that in Telegram, when I click on the search box for users/chats/channels, it shows recent ones, which is still too distracting even if I'm not typing anything.

no idea if it works in your case but have you tried turning on the recursive mode in keyword blocker settings? the recursive mode basically looks for keywords everywhere on screen and presses the home button as soon as it finds one.

nethical6 avatar Apr 05 '25 16:04 nethical6

I tried the recursive mode, but it works strangely. For example, I added the keyword "test" and entered the word "test" into Telegram search or Google search and nothing happened, but as soon as I add one or more spaces after the word, I get "blocked keyword test was found". But it seems that even this happens with an unpredictable delay, perhaps the reason is in the hardcoded Thread.sleep(). That's just a guess.

Ais8Ooz8 avatar Apr 05 '25 17:04 Ais8Ooz8