Can window.href to be intercepted from in app browser?

Hi guys,
finally I get my capacitor in app browser working with universal url.

If I click a button or a link I can close the browser and redirect in the target page.

Now I’m facing this issue: how to redirect intercepting url from window.location?

I read it’s not possible but someone says do that.

So do you have experience or some workaround?

Basically I want to recirect into a page view in the app using window.href in the in app browser.

Thansk and kind regards,

I also want to know!!!!