URL Blacklist and URL Whitelist implementation for iPhone + onClose event for Android