diff --git a/CHANGELOG.md b/CHANGELOG.md index 878808678..616841510 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.3 +**v1.10.3.2** *(2015-03-01)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.3.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.3.2/builds/4chan-X-noupdate.crx "Chromium version")] +- Fix highlighting of filename field when selected. + **v1.10.3.1** *(2015-03-01)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.3.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.3.1/builds/4chan-X-noupdate.crx "Chromium version")] - Fix outline around images in gallery. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 212db6c2a..e73b6bb16 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 af3c848be..3d17533e2 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.3.1 +// @version 1.10.3.2 // @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 64c7f8a9d..9c614df15 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.3.1 +// @version 1.10.3.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -393,7 +393,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.3.1', + VERSION: '1.10.3.2', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -7329,6 +7329,12 @@ } $.on(nodes.fileButton, 'click', QR.openFileInput); $.on(nodes.noFile, 'click', QR.openFileInput); + $.on(nodes.filename, 'focus', function() { + return $.addClass(this.parentNode, 'focus'); + }); + $.on(nodes.filename, 'blur', function() { + return $.rmClass(this.parentNode, 'focus'); + }); $.on(nodes.autohide, 'change', QR.toggleHide); $.on(nodes.close, 'click', QR.close); $.on(nodes.dumpButton, 'click', function() { @@ -17003,7 +17009,7 @@ ".field:hover {\n" + " border-color: #999;\n" + "}\n" + -".field:hover, .field:focus {\n" + +".field:hover, .field:focus, .field.focus {\n" + " color: #000;\n" + "}\n" + ".field[disabled] {\n" + @@ -18235,6 +18241,7 @@ "input#qr-filename {\n" + " border: none !important;\n" + " background: none !important;\n" + +" outline: none;\n" + "}\n" + "#qr-filename,\n" + ".has-file #qr-no-file {\n" + @@ -18812,7 +18819,8 @@ " background-color: #F0E0D6;\n" + " border-color: #D9BFB7;\n" + "}\n" + -":root.yotsuba .field:focus {\n" + +":root.yotsuba .field:focus,\n" + +":root.yotsuba .field.focus {\n" + " border-color: #EA8;\n" + "}\n" + "/* Header */\n" + @@ -18890,7 +18898,8 @@ " background-color: #D6DAF0;\n" + " border-color: #B7C5D9;\n" + "}\n" + -":root.yotsuba-b .field:focus {\n" + +":root.yotsuba-b .field:focus,\n" + +":root.yotsuba-b .field.focus {\n" + " border-color: #98E;\n" + "}\n" + "/* Header */\n" + @@ -18968,7 +18977,8 @@ " background-color: #F0E0D6;\n" + " border-color: #D9BFB7;\n" + "}\n" + -":root.futaba .field:focus {\n" + +":root.futaba .field:focus,\n" + +":root.futaba .field.focus {\n" + " border-color: #EA8;\n" + "}\n" + "/* Header */\n" + @@ -19041,7 +19051,8 @@ " background-color: #D6DAF0;\n" + " border-color: #B7C5D9;\n" + "}\n" + -":root.burichan .field:focus {\n" + +":root.burichan .field:focus,\n" + +":root.burichan .field.focus {\n" + " border-color: #98E;\n" + "}\n" + "/* Header */\n" + @@ -19197,7 +19208,8 @@ " color: rgb(197,200,198);\n" + " border-color: rgb(40, 41, 42);\n" + "}\n" + -":root.tomorrow #qr .field:focus {\n" + +":root.tomorrow #qr .field:focus,\n" + +":root.tomorrow #qr .field.focus {\n" + " border-color: rgb(129, 162, 190) !important;\n" + " background-color: rgb(30,32,36);\n" + "}\n" + @@ -19244,7 +19256,8 @@ " background-color: #DDD;\n" + " border-color: #CCC;\n" + "}\n" + -":root.photon .field:focus {\n" + +":root.photon .field:focus,\n" + +":root.photon .field.focus {\n" + " border-color: #EA8;\n" + "}\n" + "/* Header */\n" + diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 603d08896..6b5488556 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 38894bee8..2ffbc56f7 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.3.1 +// @version 1.10.3.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -392,7 +392,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.3.1', + VERSION: '1.10.3.2', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -7328,6 +7328,12 @@ } $.on(nodes.fileButton, 'click', QR.openFileInput); $.on(nodes.noFile, 'click', QR.openFileInput); + $.on(nodes.filename, 'focus', function() { + return $.addClass(this.parentNode, 'focus'); + }); + $.on(nodes.filename, 'blur', function() { + return $.rmClass(this.parentNode, 'focus'); + }); $.on(nodes.autohide, 'change', QR.toggleHide); $.on(nodes.close, 'click', QR.close); $.on(nodes.dumpButton, 'click', function() { @@ -17002,7 +17008,7 @@ ".field:hover {\n" + " border-color: #999;\n" + "}\n" + -".field:hover, .field:focus {\n" + +".field:hover, .field:focus, .field.focus {\n" + " color: #000;\n" + "}\n" + ".field[disabled] {\n" + @@ -18234,6 +18240,7 @@ "input#qr-filename {\n" + " border: none !important;\n" + " background: none !important;\n" + +" outline: none;\n" + "}\n" + "#qr-filename,\n" + ".has-file #qr-no-file {\n" + @@ -18811,7 +18818,8 @@ " background-color: #F0E0D6;\n" + " border-color: #D9BFB7;\n" + "}\n" + -":root.yotsuba .field:focus {\n" + +":root.yotsuba .field:focus,\n" + +":root.yotsuba .field.focus {\n" + " border-color: #EA8;\n" + "}\n" + "/* Header */\n" + @@ -18889,7 +18897,8 @@ " background-color: #D6DAF0;\n" + " border-color: #B7C5D9;\n" + "}\n" + -":root.yotsuba-b .field:focus {\n" + +":root.yotsuba-b .field:focus,\n" + +":root.yotsuba-b .field.focus {\n" + " border-color: #98E;\n" + "}\n" + "/* Header */\n" + @@ -18967,7 +18976,8 @@ " background-color: #F0E0D6;\n" + " border-color: #D9BFB7;\n" + "}\n" + -":root.futaba .field:focus {\n" + +":root.futaba .field:focus,\n" + +":root.futaba .field.focus {\n" + " border-color: #EA8;\n" + "}\n" + "/* Header */\n" + @@ -19040,7 +19050,8 @@ " background-color: #D6DAF0;\n" + " border-color: #B7C5D9;\n" + "}\n" + -":root.burichan .field:focus {\n" + +":root.burichan .field:focus,\n" + +":root.burichan .field.focus {\n" + " border-color: #98E;\n" + "}\n" + "/* Header */\n" + @@ -19196,7 +19207,8 @@ " color: rgb(197,200,198);\n" + " border-color: rgb(40, 41, 42);\n" + "}\n" + -":root.tomorrow #qr .field:focus {\n" + +":root.tomorrow #qr .field:focus,\n" + +":root.tomorrow #qr .field.focus {\n" + " border-color: rgb(129, 162, 190) !important;\n" + " background-color: rgb(30,32,36);\n" + "}\n" + @@ -19243,7 +19255,8 @@ " background-color: #DDD;\n" + " border-color: #CCC;\n" + "}\n" + -":root.photon .field:focus {\n" + +":root.photon .field:focus,\n" + +":root.photon .field.focus {\n" + " border-color: #EA8;\n" + "}\n" + "/* Header */\n" + diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index f47615f4e..8a487e102 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 7f57ada01..060a5520a 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.10.3.1 +// @version 1.10.3.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 602648335..57d2c4a53 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.3.1 +// @version 1.10.3.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -393,7 +393,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.3.1', + VERSION: '1.10.3.2', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -7329,6 +7329,12 @@ } $.on(nodes.fileButton, 'click', QR.openFileInput); $.on(nodes.noFile, 'click', QR.openFileInput); + $.on(nodes.filename, 'focus', function() { + return $.addClass(this.parentNode, 'focus'); + }); + $.on(nodes.filename, 'blur', function() { + return $.rmClass(this.parentNode, 'focus'); + }); $.on(nodes.autohide, 'change', QR.toggleHide); $.on(nodes.close, 'click', QR.close); $.on(nodes.dumpButton, 'click', function() { @@ -17003,7 +17009,7 @@ ".field:hover {\n" + " border-color: #999;\n" + "}\n" + -".field:hover, .field:focus {\n" + +".field:hover, .field:focus, .field.focus {\n" + " color: #000;\n" + "}\n" + ".field[disabled] {\n" + @@ -18235,6 +18241,7 @@ "input#qr-filename {\n" + " border: none !important;\n" + " background: none !important;\n" + +" outline: none;\n" + "}\n" + "#qr-filename,\n" + ".has-file #qr-no-file {\n" + @@ -18812,7 +18819,8 @@ " background-color: #F0E0D6;\n" + " border-color: #D9BFB7;\n" + "}\n" + -":root.yotsuba .field:focus {\n" + +":root.yotsuba .field:focus,\n" + +":root.yotsuba .field.focus {\n" + " border-color: #EA8;\n" + "}\n" + "/* Header */\n" + @@ -18890,7 +18898,8 @@ " background-color: #D6DAF0;\n" + " border-color: #B7C5D9;\n" + "}\n" + -":root.yotsuba-b .field:focus {\n" + +":root.yotsuba-b .field:focus,\n" + +":root.yotsuba-b .field.focus {\n" + " border-color: #98E;\n" + "}\n" + "/* Header */\n" + @@ -18968,7 +18977,8 @@ " background-color: #F0E0D6;\n" + " border-color: #D9BFB7;\n" + "}\n" + -":root.futaba .field:focus {\n" + +":root.futaba .field:focus,\n" + +":root.futaba .field.focus {\n" + " border-color: #EA8;\n" + "}\n" + "/* Header */\n" + @@ -19041,7 +19051,8 @@ " background-color: #D6DAF0;\n" + " border-color: #B7C5D9;\n" + "}\n" + -":root.burichan .field:focus {\n" + +":root.burichan .field:focus,\n" + +":root.burichan .field.focus {\n" + " border-color: #98E;\n" + "}\n" + "/* Header */\n" + @@ -19197,7 +19208,8 @@ " color: rgb(197,200,198);\n" + " border-color: rgb(40, 41, 42);\n" + "}\n" + -":root.tomorrow #qr .field:focus {\n" + +":root.tomorrow #qr .field:focus,\n" + +":root.tomorrow #qr .field.focus {\n" + " border-color: rgb(129, 162, 190) !important;\n" + " background-color: rgb(30,32,36);\n" + "}\n" + @@ -19244,7 +19256,8 @@ " background-color: #DDD;\n" + " border-color: #CCC;\n" + "}\n" + -":root.photon .field:focus {\n" + +":root.photon .field:focus,\n" + +":root.photon .field.focus {\n" + " border-color: #EA8;\n" + "}\n" + "/* Header */\n" + diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 1af3a31ce..712a8c1c8 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 e2fb6d834..cf558786b 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 9fdb8dbb5..b2a69a977 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index b4c25ebf7..a03009b95 100755 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X", - "version": "1.10.3.1", + "version": "1.10.3.2", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",