document.addEventListener("DOMContentLoaded", function() { // Get the referrer URL var referrer = document.referrer; // Check if the referrer is https://cinefunonline.com/ if (referrer.includes("https://cinefunonline.com/")) { // Show the special div document.getElementById("specialDiv").style.display = "block"; } else { // Hide the special div document.getElementById("specialDiv").style.display = "none"; } });