blob: d8961ebc0a4ac4a3f42b06424ba70d02d109636c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!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>
|