Using .click() with rel=noreferrer
i have a link with an开发者_开发百科 ID with the rel=noreferrer property (in case you dont know, this means that the user will go to the href value, and the destinatary site won't know that they came from my site).
<a href="http://google.com" id="mylink" rel="noreferrer">click here</a>
If i use this jquery command, will the "rel" property still work?
$('#mylink').click();
rel="noreferrer"
isn't respected by most browsers- Calling
$('#mylink').click();
won't do anything (not open the link). This would only trigger any appended javascript event handlers but not trigger the same action as a real user click
精彩评论