I have created a page with a couple of links to iTunes applications (link example).
I want to just point out which links have been previously clicked.
I've tried the a:visited
but it doesn't work for my occasion.
What I mean when I say it doesn't work for me...
If I test this from a computer's browser it work perfectly fine.
But I need this to work on an iPad. When you click on this kind of links on an iPad you go directly into iTunes to that selected application (which is exactly what I want) but this is not getting recorded in the browsers history... which makes the a:visited
unable to work.
Has anyone faced anything similar? Any workarounds-ideas for this?
I've tried this:
$(document).ready(function() {
$("a").click(function(e) {
current_url = window.location.href;
var desired_url = $(this).attr('href');
history.replaceState({},"",desired_url);
history.replaceState({},"",current_url);
});
});
But it doesn't seem to work... am I doing something wrong here?...
The concept here is the following. Create a web page that will look like a native apple application (done). A list of applications would be added there for the deployment staff to manually install them (done). Something that will point out when a link has been clicked ( which means the application has been installed ) to minimize the chance the staff haven't skipped an application.