Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Prevent open external browser. Force to open all a-href with InAppBrowser

$
0
0

@Dovel wrote:

Is it possible to open all a-tag href links with the in-app-browser plugin?

Use case:
The google map terms-link opens the external browser (a-href).
This invokes the OnBeforeUnload which contains the BLE.disconnect() function. Necessary for ionic livereload. This is weird, usually only the pause-event is called. Also on switching apps. But only if I clicked a-href the OnBeforeUnload-Event is also invoked. Whatever … I want to force to open ALL links with the in-app-browser. I can’t modify the google maps links. (it’s not allowed at all)

Overwrite window.open does not work. Because it’s a a-tag href-link.

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles