Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width" />
<body>
<script type="text/javascript">
const gpcValue = navigator.globalPrivacyControl;
if (gpcValue) {
document.write("<p>GPC is enabled.</p>");
} else {
document.write("<p>GPC not enabled.</p>");
}
</script>
</body>
</html>