mirror of
https://github.com/servo/servo
synced 2026-05-13 10:27:03 +02:00
19 lines
658 B
HTML
19 lines
658 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<script src="/common/utils.js"></script>
|
|
<script src="/common/dispatcher/dispatcher.js"></script>
|
|
<script>
|
|
const params = new URLSearchParams(window.location.search);
|
|
const uuid = params.get('uuid');
|
|
const discard_uuid = params.get('discard_uuid') || uuid;
|
|
const referrer_policy = params.get('referrer_policy');
|
|
if (referrer_policy) {
|
|
const meta = document.createElement('meta');
|
|
meta.name = 'referrer';
|
|
meta.content = referrer_policy;
|
|
document.head.append(meta);
|
|
}
|
|
new Executor(document.prerendering ? uuid : discard_uuid).execute();
|
|
</script>
|
|
</head>
|