diff --git a/CHANGELOG.md b/CHANGELOG.md index 65a0c6ac3..1d79af8d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,10 @@ ### v1.14.5 +**v1.14.5.16** *(2019-04-02)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.16/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.16/builds/4chan-X-noupdate.crx)] +- Remove score/perks message. Fix Posting Success Notifications. +- Remove like buttons. Continue to show like counts and scores where given in API. + **v1.14.5.15** *(2019-04-01)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.15/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.15/builds/4chan-X-noupdate.crx)] - Show info relating to April 2019 event. #2266 - Override 4chan CSS causing sauce links to get cut off. #2193 diff --git a/src/General/Build/PostInfo.html b/src/General/Build/PostInfo.html index 5130fff4e..fc1a8224a 100644 --- a/src/General/Build/PostInfo.html +++ b/src/General/Build/PostInfo.html @@ -5,7 +5,7 @@ ?{email}{} ${name} ?{tripcode}{ ${tripcode}} - ?{o.xa19s}{${o.xa19s}} + ?{o.xa19s}{ ${o.xa19s}} ?{pass}{ } ?{capcode}{ ## ${capcode}} ?{email}{} @@ -19,7 +19,7 @@ No. ${ID} - ?{o.isReply}{Like!?{o.xa19l}{ ×${o.xa19l}}} + ?{o.xa19l && o.isReply}{ Like! ×${o.xa19l}} ?{o.isSticky}{ Sticky} ?{o.isClosed && !o.isArchived}{ Closed} ?{o.isArchived}{ Archived} diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index e4c277e77..20a340de8 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -833,12 +833,7 @@ QR = QR.cleanNotifications() if Conf['Posting Success Notifications'] - {textContent} = h1 - timeout = 5 - if (xa19 = @response.firstChild.textContent.match(/xa19:(.*):xa19/)) - textContent += " (score/perks: #{xa19[1]})" - timeout = 20 - QR.notifications.push new Notice 'success', textContent, timeout + QR.notifications.push new Notice 'success', h1.textContent, 5 QR.cooldown.add threadID, postID