Fix for Safari in private browsing mode