When one more user clicks on this hyperlink, the browser executes the piece of code within the onclick attribute, therefore replacing the string document.cookie with the list of cookies of the user that are active for the page. Have a peek at these guys
When yet another user clicks on this link, the browser executes the piece of code within the onclick attribute, thus replacing the string document.cookie with the list of cookies of the user that are active for the page.