1 2 3 4 5 6 7 8 9 10 11 12
<html> <head> <script> const cors_url = location.protocol + "//" + location.hostname + ":" + location.search.split(';')[1]; const cache_mode = location.search.split(';')[2]; fetch(cors_url, {cache: cache_mode, headers: [["foo", "bar"]]}).then(() => { document.title = "DONE"; }); </script> </head> </html>