diff --git a/CHANGELOG.md b/CHANGELOG.md index ca2f89b74..c3b4772b9 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor ### v1.11.7 +**v1.11.7.4** *(2015-08-08)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.7.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.7.4/builds/4chan-X-noupdate.crx "Chromium version")] +- Fix cooldown bug. + **v1.11.7.3** *(2015-08-06)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.7.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.7.3/builds/4chan-X-noupdate.crx "Chromium version")] - Turn `Custom Board Navigation` back on by default for now until we support better migration of old settings. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 797f95acb..ea033ef47 100644 Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js index c1a729d15..69eab6f7f 100644 --- a/builds/4chan-X-beta.meta.js +++ b/builds/4chan-X-beta.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.11.7.3 +// @version 1.11.7.4 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js index 1f0808696..a132fdded 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X beta -// @version 1.11.7.3 +// @version 1.11.7.4 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -411,7 +411,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.7.3', + VERSION: '1.11.7.4', NAMESPACE: '4chan X.', boards: {} }; @@ -7731,7 +7731,7 @@ post.rm(); QR.captcha.setup(d.activeElement === QR.nodes.status); } - QR.cooldown.add(req.uploadEndTime, threadID, postID); + QR.cooldown.add(Date.now(), threadID, postID); URL = threadID === postID ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID : g.VIEW === 'index' && lastPostToThread && Conf['Open Post in New Tab'] ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID + "#p" + postID : void 0; if (URL) { open = Conf['Open Post in New Tab'] || postsCount ? function() { @@ -12391,7 +12391,9 @@ $.on(link, 'click', DeleteLink["delete"]); } else { if (resDoc.title === 'Updating index...') { - QR.cooldown["delete"](post); + if (!fileOnly) { + QR.cooldown["delete"](post); + } (post.origin || post).kill(fileOnly); } s = 'Deleted'; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index ad659deea..df541786b 100644 Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js index 707b519b8..463b2d3fb 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.11.7.3 +// @version 1.11.7.4 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -410,7 +410,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.7.3', + VERSION: '1.11.7.4', NAMESPACE: '4chan X.', boards: {} }; @@ -7730,7 +7730,7 @@ post.rm(); QR.captcha.setup(d.activeElement === QR.nodes.status); } - QR.cooldown.add(req.uploadEndTime, threadID, postID); + QR.cooldown.add(Date.now(), threadID, postID); URL = threadID === postID ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID : g.VIEW === 'index' && lastPostToThread && Conf['Open Post in New Tab'] ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID + "#p" + postID : void 0; if (URL) { open = Conf['Open Post in New Tab'] || postsCount ? function() { @@ -12390,7 +12390,9 @@ $.on(link, 'click', DeleteLink["delete"]); } else { if (resDoc.title === 'Updating index...') { - QR.cooldown["delete"](post); + if (!fileOnly) { + QR.cooldown["delete"](post); + } (post.origin || post).kill(fileOnly); } s = 'Deleted'; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index c5a98e015..b38878a3b 100644 Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index 6b96b461d..837afcff0 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.11.7.3 +// @version 1.11.7.4 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index df5991417..14a17bccb 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.11.7.3 +// @version 1.11.7.4 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -411,7 +411,7 @@ doc = d.documentElement; g = { - VERSION: '1.11.7.3', + VERSION: '1.11.7.4', NAMESPACE: '4chan X.', boards: {} }; @@ -7731,7 +7731,7 @@ post.rm(); QR.captcha.setup(d.activeElement === QR.nodes.status); } - QR.cooldown.add(req.uploadEndTime, threadID, postID); + QR.cooldown.add(Date.now(), threadID, postID); URL = threadID === postID ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID : g.VIEW === 'index' && lastPostToThread && Conf['Open Post in New Tab'] ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID + "#p" + postID : void 0; if (URL) { open = Conf['Open Post in New Tab'] || postsCount ? function() { @@ -12391,7 +12391,9 @@ $.on(link, 'click', DeleteLink["delete"]); } else { if (resDoc.title === 'Updating index...') { - QR.cooldown["delete"](post); + if (!fileOnly) { + QR.cooldown["delete"](post); + } (post.origin || post).kill(fileOnly); } s = 'Deleted'; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index a2de76c36..58e7a2120 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index 20b2644ec..56aa78d85 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.xml b/builds/updates.xml index 42ecac7ea..635e13003 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index e8619271f..a5c7b0f5a 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X", - "version": "1.11.7.3", - "date": "2015-08-06T07:39:12.204Z", + "version": "1.11.7.4", + "date": "2015-08-09T03:28:34.742Z", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",