Điều này không thể làm qua trạng thái visited. Giải pháp tốt nhất là thêm query random vào URL để trang trở thành unvisited.
<a href="http:/demo.com/?foo=<?php echo rand(0, 99998) ?>">Your link</a>
Có thể xóa bằng JS qua sự kiện onclick:
$('body').on('click', 'a', function(p) {
p.preventDefault();
var url1 = $(this).prop('href');
window.location.href = url1.split("?")[0];
});