diff --git a/src/mastodon-timeline.js b/src/mastodon-timeline.js index a73387b..d072bbd 100644 --- a/src/mastodon-timeline.js +++ b/src/mastodon-timeline.js @@ -111,12 +111,12 @@ MastodonApi.prototype.getToots = function () { let allHashtags = document.querySelectorAll("#mt-timeline .hashtag"); for (let j = 0; j < allHashtags.length; j++) { allHashtags[j].target = "_blank"; - allHashtags[j].rel = "tag noopener noreferrer"; + allHashtags[j].rel = "tag nofollow noopener noreferrer"; } // Insert button after last toot to visit account page if (mapi.BTN_SEE_MORE) { - this.mtBodyContainer.insertAdjacentHTML('beforeend', '
' + mapi.BTN_SEE_MORE + '
'); + this.mtBodyContainer.insertAdjacentHTML('beforeend', '
' + mapi.BTN_SEE_MORE + '
'); } }) .catch(err => { @@ -134,7 +134,7 @@ MastodonApi.prototype.getToots = function () { // Boosted avatar avatar = - '' + '' + '
' + '
' + '' @@ -145,7 +145,7 @@ MastodonApi.prototype.getToots = function () { // User name and url user = '
' - + '' + + '' + status_.reblog.account.username + ' post' + '' + '
'; @@ -159,7 +159,7 @@ MastodonApi.prototype.getToots = function () { // Avatar avatar = - '' + '' + '' + status_.account.username + ' avatar' + '' @@ -168,7 +168,7 @@ MastodonApi.prototype.getToots = function () { // User name and url user = '
' - + '' + + '' + status_.account.username + ' post' + '' + '
'; @@ -243,7 +243,7 @@ MastodonApi.prototype.getToots = function () { // Date let timestamp = '
' - + '' + + '' + date + '' + '
';