How to implement a “NoScroll” blocker for Instagram and YouTube Shorts in a mobile app?
I came across an app NoScroll: Boost Attention Span that automatically detects and closes Instagram Reels and YouTube Shorts as soon as they are opened. I want to implement the same functionality in my own app.