Try to handle security issues with Safari