3 ms·
But dont you need js to check for the styles to see if the link is visited?
by PetahNZ 5y ago
But dont you need js to check for the styles to see if the link is visited?
- vgel 5y agoNo, each square the user clicks could be a checkbox that is submitted to the backend as a form when they click done.
- kevincox 5y agoIt could even just use CSS selectors to reveal an image or change a background image that results in a request to the backend.
- varun_ch 5y agoFortunately most browsers already have some measures to prevent that (https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and...), the demo avoids automating the process altogether, and relies on tricking the visitor into 'voluntarily' telling if they've visited a site.