Problem: Popup Links Not Opening in CustomWebView

Hi, I’m new to App Inventor. I’m making a simple WebView app using the CustomWebView extension. My webpage has some links that open in a new tab or popup (using target="_blank" or window.open()), but in the app those links don’t open at all.

I’ve enabled Follow Links, and DeepLink. I’m trying to handle popups using OnNewWindowRequest, and I want:

Internal links (mydomain.com) to open inside the app

External links to open in the phone browser

How can I handle all new tab or popup links properly inside the app?

Thanks in advance!

There is a property: SupportMultipleWindows. Do you have that set to true?

I got it! Could you please give example how to use it in my case?

1 Like

This blocks works fine but opening new window inside the app. I want the external links with <a target="_blank"> are open in Chrome. How can I achieve that pls guide.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.