ridoan sir
\
This JavaScript code will automatically redirect a visitor to a given URL only once per session after 3 seconds. Useful for ad pages or monetized links without annoying repeat visitors.
<script>
if (!sessionStorage.getItem("redirected")) {
sessionStorage.setItem("redirected", "true");
setTimeout(function() {
window.location.href = "YOUR LINK HERE";
}, 3000);
}
</script>
window.location.href to your own if needed.When someone opens the post, they'll be redirected only once per session to the link you set — after 3 seconds!