Link android ?

Hi guys. Who knows how to correctly register a link so that it opens on a computer and on android?

This only works on a computer:
nw.Shell.openExternal("https://www.patreon.com/holyrascals");
if (window.nw) { nw.Shell.openExternal("http://www.google.com"); } else { window.open("http://www.google.com/", "_system") }

Original thread: https://forums.rpgmakerweb.com/threads/link-android.133061/