Merge branch 'bstable'

This commit is contained in:
ccd0 2019-04-02 06:16:18 -07:00
commit 53977021aa
3 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -5,7 +5,7 @@
?{email}{<a href="mailto:${encodeURIComponent(email).replace(/%40/g, "@")}" class="useremail">}
<span class="name?{capcode}{ capcode}">${name}</span>
?{tripcode}{ <span class="postertrip">${tripcode}</span>}
?{o.xa19s}{<span class="like-score">${o.xa19s}</span>}
?{o.xa19s}{ <span class="like-score">${o.xa19s}</span>}
?{pass}{ <span title="Pass user since ${pass}" class="n-pu"></span>}
?{capcode}{ <strong class="capcode hand id_${capcodeLC}" title="Highlight posts by ${capcodePlural}">## ${capcode}</strong>}
?{email}{</a>}
@ -19,7 +19,7 @@
<span class="postNum?{!(boardID === "f" && !o.isReply)}{ desktop}">
<a href="${postLink}" title="Link to this post">No.</a>
<a href="${quoteLink}" title="Reply to this post">${ID}</a>
?{o.isReply}{<a data-cmd="like-post" href="#" class="like-btn">Like!?{o.xa19l}{ ×${o.xa19l}}</a>}
?{o.xa19l && o.isReply}{ <a data-cmd="like-post" href="#" class="like-btn">Like! ×${o.xa19l}</a>}
?{o.isSticky}{ <img src="${staticPath}sticky${gifIcon}" alt="Sticky" title="Sticky"?{boardID === "f"}{ style="height: 18px; width: 18px;"}{ class="stickyIcon retina"}>}
?{o.isClosed && !o.isArchived}{ <img src="${staticPath}closed${gifIcon}" alt="Closed" title="Closed"?{boardID === "f"}{ style="height: 18px; width: 18px;"}{ class="closedIcon retina"}>}
?{o.isArchived}{ <img src="${staticPath}archived${gifIcon}" alt="Archived" title="Archived" class="archivedIcon retina">}

View File

@ -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