смысл ясен?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<a target="_blank" class="link" href="http://www.ya.ru">LINK</a>
<script>
var links = ['http://ya.ru', 'http://javascript.ru','http://google.com','http://github.com'];
document.querySelector('.link').onclick = function() {
if (links.length > 0) {
this.href = links.shift();
}
}
</script>
</body>
</html>