```coffeescript
Meteor.startup ->
	return unless Meteor.isCordova

	# Handle click events for all external URLs
	$(document).on 'deviceready', ->
		platform = device.platform.toLowerCase()
		$(document).on 'click', (e) ->
			$link = $(e.target).closest('a[href]')
			return unless $link.length > 0
			url = $link.attr('href')

			if /^https?:\/\/.+/.test(url) is true
				switch platform
					when 'ios'
						window.open url, '_system'
					when 'android'
						navigator.app.loadUrl url, {openExternal: true}
				e.preventDefault()```

Fix open links for Android
user
```coffeescript
Meteor.startup ->
	return unless Meteor.isCordova

	# Handle click events for all external URLs
	$(document).on 'deviceready', ->
		platform = device.platform.toLowerCase()
		$(document).on 'click', (e) ->
			$link = $(e.target).closest('a[href]')
			return unless $link.length > 0
			url = $link.attr('href')

			if /^https?:\/\/.+/.test(url) is true
				window.open url, '_system'
				e.preventDefault()
```
assistant