开发者

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();


  1. rel="noreferrer" isn't respected by most browsers
  2. 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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜