Validate setcookie url before showing the iframe with it