You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Configurations/configmaps/service-configs-unauthorize...

27 lines
820 B

apiVersion: v1
kind: ConfigMap
metadata:
name: service-configs-unauthorized-error
namespace: csi-uat
annotations:
reloader.stakater.com/match: "true"
data:
index.html: |
<!DOCTYPE html>
<html>
<head|></head>
<body>
<h1>UNAUTHORIZED ACCESS</h1>
<h2>Devtools Detected</h2>
<p>You are prohibited from accessing VIDA 4.0 with the DevTools open. Close them and click <a id="dynamicLink" href="javascript:void(0);">here</a>.</p>
<script>
// Get the anchor element by ID
var dynamicLink = document.getElementById("dynamicLink");
// Set the href attribute using window.location.origin
dynamicLink.href = window.location.origin;
</script>
</body>
</html>