file_csp_meta_uir.html (332B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Hello World</title> 6 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 7 </head> 8 <body> 9 <script> 10 document.write("<a href='" + document.location.href.replace(/^https/, "http") + "' id='mylink'>Click me</a>"); 11 </script> 12 </body> 13 </html>