diff --git a/CHANGELOG.md b/CHANGELOG.md index 343bd0da6..eb62a54e2 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda ### v1.10.8 +**v1.10.8.7** *(2015-04-08)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.8.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.8.7/builds/4chan-X-noupdate.crx "Chromium version")] +- Fix missing /f/ tag selector when posting new thread from within thread. + **v1.10.8.6** *(2015-04-08)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.8.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.8.6/builds/4chan-X-noupdate.crx "Chromium version")] - Merge v1.10.7.7: (fgts) Add /fit/ to fgts archive. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index bd10a76d2..e2abede8b 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 674c6db1e..ac16ae966 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.10.8.6 +// @version 1.10.8.7 // @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 10c064da1..1fe5ecaa8 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.10.8.6 +// @version 1.10.8.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -396,7 +396,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.8.6', + VERSION: '1.10.8.7', NAMESPACE: '4chan X.', boards: {} }; @@ -7289,7 +7289,7 @@ return $.sync('customCooldownEnabled', QR.setCustomCooldown); }); } - if (g.BOARD.ID === 'f' && g.VIEW !== 'thread') { + if (g.BOARD.ID === 'f') { nodes.flashTag = $.el('select', { name: 'filetag' }); @@ -7385,11 +7385,11 @@ } post = QR.posts[0]; post.forceSave(); - if (g.BOARD.ID === 'f' && g.VIEW !== 'thread') { - filetag = QR.nodes.flashTag.value; - } threadID = post.thread; thread = g.BOARD.threads[threadID]; + if (g.BOARD.ID === 'f' && threadID === 'new') { + filetag = QR.nodes.flashTag.value; + } if (threadID === 'new') { threadID = null; if (g.BOARD.ID === 'vg' && !post.sub) { @@ -18165,7 +18165,8 @@ "}\n" + "#qr.forced-anon input[data-name=\"name\"]:not(.force-show),\n" + "#qr.forced-anon input[data-name=\"sub\"]:not(.force-show),\n" + -"#qr.reply-to-thread input[data-name=\"sub\"]:not(.force-show) {\n" + +"#qr.reply-to-thread input[data-name=\"sub\"]:not(.force-show),\n" + +"#qr.reply-to-thread select[name=\"filetag\"] {\n" + " display: none;\n" + "}\n" + "#qr textarea.field {\n" + diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 8a858e53a..bc3885563 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 4d399e92a..f70d4d1f2 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.10.8.6 +// @version 1.10.8.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -395,7 +395,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.8.6', + VERSION: '1.10.8.7', NAMESPACE: '4chan X.', boards: {} }; @@ -7288,7 +7288,7 @@ return $.sync('customCooldownEnabled', QR.setCustomCooldown); }); } - if (g.BOARD.ID === 'f' && g.VIEW !== 'thread') { + if (g.BOARD.ID === 'f') { nodes.flashTag = $.el('select', { name: 'filetag' }); @@ -7384,11 +7384,11 @@ } post = QR.posts[0]; post.forceSave(); - if (g.BOARD.ID === 'f' && g.VIEW !== 'thread') { - filetag = QR.nodes.flashTag.value; - } threadID = post.thread; thread = g.BOARD.threads[threadID]; + if (g.BOARD.ID === 'f' && threadID === 'new') { + filetag = QR.nodes.flashTag.value; + } if (threadID === 'new') { threadID = null; if (g.BOARD.ID === 'vg' && !post.sub) { @@ -18164,7 +18164,8 @@ "}\n" + "#qr.forced-anon input[data-name=\"name\"]:not(.force-show),\n" + "#qr.forced-anon input[data-name=\"sub\"]:not(.force-show),\n" + -"#qr.reply-to-thread input[data-name=\"sub\"]:not(.force-show) {\n" + +"#qr.reply-to-thread input[data-name=\"sub\"]:not(.force-show),\n" + +"#qr.reply-to-thread select[name=\"filetag\"] {\n" + " display: none;\n" + "}\n" + "#qr textarea.field {\n" + diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 49a9d95a2..72a82cd93 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 3e2befef4..8c62f72b8 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.10.8.6 +// @version 1.10.8.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index e6628abba..e8199d94f 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.10.8.6 +// @version 1.10.8.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -396,7 +396,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.8.6', + VERSION: '1.10.8.7', NAMESPACE: '4chan X.', boards: {} }; @@ -7289,7 +7289,7 @@ return $.sync('customCooldownEnabled', QR.setCustomCooldown); }); } - if (g.BOARD.ID === 'f' && g.VIEW !== 'thread') { + if (g.BOARD.ID === 'f') { nodes.flashTag = $.el('select', { name: 'filetag' }); @@ -7385,11 +7385,11 @@ } post = QR.posts[0]; post.forceSave(); - if (g.BOARD.ID === 'f' && g.VIEW !== 'thread') { - filetag = QR.nodes.flashTag.value; - } threadID = post.thread; thread = g.BOARD.threads[threadID]; + if (g.BOARD.ID === 'f' && threadID === 'new') { + filetag = QR.nodes.flashTag.value; + } if (threadID === 'new') { threadID = null; if (g.BOARD.ID === 'vg' && !post.sub) { @@ -18165,7 +18165,8 @@ "}\n" + "#qr.forced-anon input[data-name=\"name\"]:not(.force-show),\n" + "#qr.forced-anon input[data-name=\"sub\"]:not(.force-show),\n" + -"#qr.reply-to-thread input[data-name=\"sub\"]:not(.force-show) {\n" + +"#qr.reply-to-thread input[data-name=\"sub\"]:not(.force-show),\n" + +"#qr.reply-to-thread select[name=\"filetag\"] {\n" + " display: none;\n" + "}\n" + "#qr textarea.field {\n" + diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 43bf7a2af..66b4219c4 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 e1530fd68..9fc10371d 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 211c92c2f..27b8aa477 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index 0ae312d5b..673f001e0 100755 --- 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.10.8.6", - "date": "2015-04-08T09:10:08.263Z", + "version": "1.10.8.7", + "date": "2015-04-09T00:54:27.122Z", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",