A few days ago I found this structure in the tag a
:
<a href="https://example.com" onclick="javascript:window.open('https://example.com'); return false;">Text</a>
I suspect that it is so that the strength of the link does not go beyond Page Rank and thus favor the SEO of the page that links to another.
Does Google detect it as a normal link and treat it as such or, on the contrary, is it rigged so that it does not transfer said Page Rank through the link?
Something like that, but not so elaborate,
return false;
in this case it is used so that when you open the URL on another screen you don't access the url written in the HREF, basically they add it to cancel the normal operation of the HREF.They leave the HREF complete, instead of putting
href="#"
, so that those who have javascript blocked can access it and for seo purposes so that it indexes that URL.