I have no intention of just changing the link (I hear this is impossible, but if I don’t want to know how to do it). I am fine by adding it to your browser history if you need to do this.
I would like to skip everything <a>on the page and change their state to visit. For example:
<a>
$("a").each(function(){ //mark as visited (somehow?) });
Essentially creating a “Mark all as read" button on my page. Any ideas?
Could you...
1) Try using AJAX (i.e. $ .get (a.href)), but I don't know if this really works.
2) ( "CSS" ),
3) , - :
3A) IFRAME
3B) A , IFRAME
3C) $( "a" ). click() (, - , )
, , .
(.. href window.location) .
href
window.location
, , CSS: "" - , .
$('a').addClass('visited');
Source: https://habr.com/ru/post/1726496/More articles:Cannot find the System.Workflow assembly in .NET. How do i get this? - c #Alternative to Expression Blend - designHow to remove read-only flag in a file in .NET? - bit-manipulationEclipse crashes on startup. Invalid eclipse.ini? - eclipseProblems with jQuery slider: two buttons confuse state - jqueryThe relationship of Objective-C between classes - methodsHow to create "otherButtonTitles"? - objective-cСуществует ли .NET-эквивалент WebGoat - securityFiltering Django-haystack results using attributes? - djangoReplace All (.) Paragraph Periods - jqueryAll Articles