attempted a method to customize the user-agent prior the URL opening. The functioning of this is still to be confirmed