Browse Source

add rel="noreferrer" to external links

readme-update
Simon Grim 9 years ago
parent
commit
6ff3252148
  1. 6
      home.html
  2. 2
      js/interface_common.js
  3. 2
      js/twister_newmsgs.js
  4. 8
      network.html
  5. 4
      options.html
  6. 6
      tmobile.html

6
home.html

@ -391,11 +391,11 @@ @@ -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 @@ @@ -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">

2
js/interface_common.js

@ -10,7 +10,7 @@ var twister = { @@ -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()

2
js/twister_newmsgs.js

@ -128,7 +128,7 @@ function requestMentionsCount() { @@ -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

8
network.html

@ -97,14 +97,14 @@ @@ -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 @@ @@ -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">

4
options.html

@ -458,11 +458,11 @@ @@ -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>

6
tmobile.html

@ -413,7 +413,7 @@ @@ -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 @@ @@ -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…
Cancel
Save