mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-11 21:11:02 +00:00
add rel="noreferrer" to external links
This commit is contained in:
parent
1d480f2009
commit
6ff3252148
@ -391,11 +391,11 @@
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="msg-user-link-template" class="open-profile-modal"></a>
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="external-page-link-template" rel="nofollow" target="_blank"></a>
|
||||
<a id="external-page-link-template" rel="nofollow noreferrer" target="_blank"></a>
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="hashtag-link-template" class="open-hashtag-modal"></a>
|
||||
<div id="template-link-shortened">
|
||||
<a class="link-shortened" rel="nofollow" target="_blank"></a>
|
||||
<a class="link-shortened" rel="nofollow noreferrer" target="_blank"></a>
|
||||
</div>
|
||||
|
||||
<!-- template para ir dentro de avatar-row -->
|
||||
@ -632,7 +632,7 @@
|
||||
<h2 class="profile-screen-name">@<b></b></h2>
|
||||
<div>
|
||||
<span class="profile-location"></span>
|
||||
<a class="profile-url" rel="nofollow" target="_blank"></a>
|
||||
<a class="profile-url" rel="nofollow noreferrer" target="_blank"></a>
|
||||
</div>
|
||||
<div class="profile-bio"></div>
|
||||
<div id="msngrswr">
|
||||
|
@ -10,7 +10,7 @@ var twister = {
|
||||
focus: {}, // focused elements are counted here
|
||||
html: {
|
||||
detached: $('<div>'), // here elements go to detach themself
|
||||
blanka: $('<a target="_blank">') // to open stuff in new tab, see routeOnClick()
|
||||
blanka: $('<a rel="nofollow noreferrer" target="_blank">') // to open stuff in new tab, see routeOnClick()
|
||||
},
|
||||
tmpl: { // templates pointers are stored here
|
||||
root: $('<div>') // templates should be detached from DOM and attached here; use extractTemplate()
|
||||
|
@ -128,7 +128,7 @@ function requestMentionsCount() {
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}U
|
||||
|
||||
// was moved here from requestDMsCount() because that is not ticking right
|
||||
// we would place it with other notifications into separate notification center
|
||||
|
@ -97,14 +97,14 @@
|
||||
<li class="not-using-proxy" style="display:none;">
|
||||
<label>External Port 1 (TCP): </label>
|
||||
<span class="ext-port1"></span>
|
||||
<a class="test-ext-port1" target="_blank">
|
||||
<a class="test-ext-port1" rel="nofollow noreferrer" target="_blank">
|
||||
<button>Test open port (external site)</button>
|
||||
</a>
|
||||
</li>
|
||||
<li class="not-using-proxy" style="display:none;">
|
||||
<label>External Port 2 (TCP+UDP): </label>
|
||||
<span class="ext-port2"></span>
|
||||
<a class="test-ext-port2" target="_blank">
|
||||
<a class="test-ext-port2" rel="nofollow noreferrer" target="_blank">
|
||||
<button>Test open port (external site)</button>
|
||||
</a>
|
||||
</li>
|
||||
@ -262,11 +262,11 @@
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="msg-user-link-template" class="open-profile-modal"></a>
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="external-page-link-template" rel="nofollow" target="_blank"></a>
|
||||
<a id="external-page-link-template" rel="nofollow noreferrer" target="_blank"></a>
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="hashtag-link-template" class="open-hashtag-modal"></a>
|
||||
<div id="template-link-shortened">
|
||||
<a class="link-shortened" rel="nofollow" target="_blank"></a>
|
||||
<a class="link-shortened" rel="nofollow noreferrer" target="_blank"></a>
|
||||
</div>
|
||||
|
||||
<div class="prompt-wrapper">
|
||||
|
@ -458,11 +458,11 @@
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="msg-user-link-template" class="open-profile-modal"></a>
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="external-page-link-template" rel="nofollow" target="_blank"></a>
|
||||
<a id="external-page-link-template" rel="nofollow noreferrer" target="_blank"></a>
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="hashtag-link-template" class="open-hashtag-modal"></a>
|
||||
<div id="template-link-shortened">
|
||||
<a class="link-shortened" rel="nofollow" target="_blank"></a>
|
||||
<a class="link-shortened" rel="nofollow noreferrer" target="_blank"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -413,7 +413,7 @@
|
||||
<h2 class="profile-screen-name">@<b></b></h2>
|
||||
<div>
|
||||
<span class="profile-location"></span>
|
||||
<a class="profile-url" rel="nofollow" target="_blank"></a>
|
||||
<a class="profile-url" rel="nofollow noreferrer" target="_blank"></a>
|
||||
</div>
|
||||
<div class="profile-bio">
|
||||
</div>
|
||||
@ -832,11 +832,11 @@
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="msg-user-link-template" class="open-profile-modal"></a>
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="external-page-link-template" rel="nofollow" target="_blank"></a>
|
||||
<a id="external-page-link-template" rel="nofollow noreferrer" target="_blank"></a>
|
||||
<!-- template for user links in message (open profile modal) -->
|
||||
<a id="hashtag-link-template" class="open-hashtag-modal"></a>
|
||||
<div id="template-link-shortened">
|
||||
<a class="link-shortened" rel="nofollow" target="_blank"></a>
|
||||
<a class="link-shortened" rel="nofollow noreferrer" target="_blank"></a>
|
||||
</div>
|
||||
|
||||
<!-- template para ir dentro de avatar-row -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user