HEX
Server: nginx/1.26.1
System: Linux 850a3e23ecee 5.15.0-122-generic #132-Ubuntu SMP Thu Aug 29 13:45:52 UTC 2024 x86_64
User: (1000)
PHP: 8.2.27
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/foxtool/link/notify/foxcookie.js
document.addEventListener("DOMContentLoaded", function () {
  const ftcookiebg = document.getElementById("ft-cookie");
  if (!ftcookiebg) return;
  const closeButtons = document.querySelectorAll(".ft-cookie-oke, .ft-cookie-close");
  if (!localStorage.getItem("ftcookie")) {
	ftcookiebg.style.display = "block";
  }
  closeButtons.forEach(button => {
	button.addEventListener("click", function () {
	  localStorage.setItem("ftcookie", "true");
	  ftcookiebg.style.display = "none";
	});
  });
});