Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
HTML5 SVG css3 transition on fill not working when there is external link
This cannot be done through the visited state. The best solution is to add a random query to url so that page go unvisited.
<a href = "http:/demo.com/?foo = <?php echo rand(0, 99998) ?>"Your link</a>
It can be removed with JS by onclick event:
$('body').on('click', 'a', function(p) {
p.preventDefault();
var url1 = $(this).prop('href');
window.location.href = url1.split("?")[0];
}); Advertisements
