diff --git a/CHANGELOG.md b/CHANGELOG.md index a3e8248f2..4ee64d3f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ ### v1.14.7 +**v1.14.7.3** *(2019-04-22)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.7.3/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.7.3/builds/4chan-X-noupdate.crx)] +- Change default title on /qa/ to something more accurate. Users can, as always, edit it to whatever they want. +- Minor CSS fixes. + **v1.14.7.2** *(2019-04-11)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.7.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.7.2/builds/4chan-X-noupdate.crx)] - Fix dragging left to contract WebMs in Firefox. #1547 - Remove query string from filename in Post from URL feature. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 165cdf911..3ba469537 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 820447f6e..8ba20ea0a 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.14.7.2 +// @version 1.14.7.3 // @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 a9d40bbb6..18c130666 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.14.7.2 +// @version 1.14.7.3 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -198,7 +198,7 @@ docSet = function() { }; g = { - VERSION: '1.14.7.2', + VERSION: '1.14.7.3', NAMESPACE: '4chan X.', boards: {} }; @@ -1336,82 +1336,84 @@ body.hasDropDownNav{\n\ border-radius: 3px;\n\ padding: 0px 2px;\n\ }\n\ -/* 4chan style fixes */\n\ -/* overrides 4chan CSS on div.opContainer, div.op */\n\ -.opContainer.opContainer, .op.op {\n\ - display: block;\n\ - overflow: visible;\n\ -}\n\ -.reply > .file > .fileText {\n\ - margin: 0 20px;\n\ -}\n\ -.hashlink::before {\n\ - content: ' ';\n\ - visibility: hidden;\n\ -}\n\ -.inline + .hashlink,\n\ [hidden] {\n\ display: none !important;\n\ }\n\ -.fileText a {\n\ +/* 4chan style fixes */\n\ +/* overrides 4chan CSS on div.opContainer, div.op */\n\ +:root.sw-yotsuba .opContainer, :root.sw-yotsuba .op {\n\ + display: block;\n\ + overflow: visible;\n\ +}\n\ +:root.sw-yotsuba .reply > .file > .fileText {\n\ + margin: 0 20px;\n\ +}\n\ +:root.sw-yotsuba .hashlink::before {\n\ + content: ' ';\n\ + visibility: hidden;\n\ +}\n\ +:root.sw-yotsuba .inline + .hashlink {\n\ + display: none !important;\n\ +}\n\ +:root.sw-yotsuba .fileText a {\n\ unicode-bidi: -moz-isolate;\n\ unicode-bidi: -webkit-isolate;\n\ }\n\ -#g-recaptcha {\n\ +:root.sw-yotsuba #g-recaptcha {\n\ min-height: 78px;\n\ height: auto;\n\ }\n\ -:root:not(.js-enabled) #postForm {\n\ +:root.sw-yotsuba:not(.js-enabled) #postForm {\n\ display: table;\n\ }\n\ -#captchaContainerAlt td:nth-child(2) {\n\ +:root.sw-yotsuba #captchaContainerAlt td:nth-child(2) {\n\ display: table-cell !important;\n\ }\n\ -canvas#tegaki-canvas {\n\ +:root.sw-yotsuba canvas#tegaki-canvas {\n\ background: none;\n\ }\n\ /* Disable obnoxious captcha fade-in. */\n\ -body > div:last-of-type {\n\ +:root.sw-yotsuba > body > div:last-of-type {\n\ transition: none !important;\n\ }\n\ /* Fix captcha scrolling to top of page. */\n\ -body > div[style*=\" top: -10000px;\"] {\n\ +:root.sw-yotsuba > body > div[style*=\" top: -10000px;\"] {\n\ visibility: hidden !important;\n\ }\n\ /* Make long filenames wrap properly: https://github.com/ccd0/4chan-x/issues/1082 */\n\ -.post > .file {\n\ +:root.sw-yotsuba .post > .file {\n\ /* currently nonstandard but may be added: https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html, https://bugzilla.mozilla.org/show_bug.cgi?id=1296042 */\n\ word-break: break-word;\n\ }\n\ -:root:not(.ua-webkit):not(.ua-blink) .fileText {\n\ +:root.sw-yotsuba:not(.ua-webkit):not(.ua-blink) .fileText {\n\ word-wrap: break-word;\n\ max-width: calc(100vw - 90px);\n\ }\n\ -body.is_catalog .thread > a > img {\n\ +:root.sw-yotsuba > body.is_catalog .thread > a > img {\n\ display: inline-block;\n\ }\n\ /* Links to NSFW boards */\n\ -.nwsb {\n\ +:root.sw-yotsuba .nwsb {\n\ display: inline;\n\ }\n\ -.fileText {\n\ +:root.sw-yotsuba .fileText {\n\ max-width: auto;\n\ white-space: normal;\n\ }\n\ /* Ads */\n\ -.ad-cnt > *, .adg-rects > *, .bsa-cnt {\n\ +:root.sw-yotsuba .ad-cnt > *, :root.sw-yotsuba .adg-rects > *, :root.sw-yotsuba .bsa-cnt {\n\ height: auto !important;\n\ }\n\ -:root:not(.ads-loaded) hr.abovePostForm,\n\ -:root:not(.ads-loaded) .adg-rects > hr,\n\ -#adg-ol + hr {\n\ +:root.sw-yotsuba:not(.ads-loaded) hr.abovePostForm,\n\ +:root.sw-yotsuba:not(.ads-loaded) .adg-rects > hr,\n\ +:root.sw-yotsuba #adg-ol + hr {\n\ display: none;\n\ }\n\ -.adg-rects {\n\ +:root.sw-yotsuba .adg-rects {\n\ margin: 0;\n\ font-size: 0;\n\ }\n\ -div.center[style] {\n\ +:root.sw-yotsuba div.center[style] {\n\ display: none !important;\n\ }\n\ /* Tinyboard / vichan conflicts */\n\ @@ -25605,6 +25607,18 @@ Main = (function() { db = ref2[j]; Conf[db] = {}; } + Conf['customTitles'] = { + '4chan.org': { + boards: { + 'qa': { + 'boardTitle': { + orig: '/qa/ - Question & Answer', + title: '/qa/ - 2D / Random' + } + } + } + } + }; Conf['boardConfig'] = { boards: {} }; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index a37e401b8..9767b28c3 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 57177db19..12146a5a9 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.7.2 +// @version 1.14.7.3 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -198,7 +198,7 @@ docSet = function() { }; g = { - VERSION: '1.14.7.2', + VERSION: '1.14.7.3', NAMESPACE: '4chan X.', boards: {} }; @@ -1336,82 +1336,84 @@ body.hasDropDownNav{\n\ border-radius: 3px;\n\ padding: 0px 2px;\n\ }\n\ -/* 4chan style fixes */\n\ -/* overrides 4chan CSS on div.opContainer, div.op */\n\ -.opContainer.opContainer, .op.op {\n\ - display: block;\n\ - overflow: visible;\n\ -}\n\ -.reply > .file > .fileText {\n\ - margin: 0 20px;\n\ -}\n\ -.hashlink::before {\n\ - content: ' ';\n\ - visibility: hidden;\n\ -}\n\ -.inline + .hashlink,\n\ [hidden] {\n\ display: none !important;\n\ }\n\ -.fileText a {\n\ +/* 4chan style fixes */\n\ +/* overrides 4chan CSS on div.opContainer, div.op */\n\ +:root.sw-yotsuba .opContainer, :root.sw-yotsuba .op {\n\ + display: block;\n\ + overflow: visible;\n\ +}\n\ +:root.sw-yotsuba .reply > .file > .fileText {\n\ + margin: 0 20px;\n\ +}\n\ +:root.sw-yotsuba .hashlink::before {\n\ + content: ' ';\n\ + visibility: hidden;\n\ +}\n\ +:root.sw-yotsuba .inline + .hashlink {\n\ + display: none !important;\n\ +}\n\ +:root.sw-yotsuba .fileText a {\n\ unicode-bidi: -moz-isolate;\n\ unicode-bidi: -webkit-isolate;\n\ }\n\ -#g-recaptcha {\n\ +:root.sw-yotsuba #g-recaptcha {\n\ min-height: 78px;\n\ height: auto;\n\ }\n\ -:root:not(.js-enabled) #postForm {\n\ +:root.sw-yotsuba:not(.js-enabled) #postForm {\n\ display: table;\n\ }\n\ -#captchaContainerAlt td:nth-child(2) {\n\ +:root.sw-yotsuba #captchaContainerAlt td:nth-child(2) {\n\ display: table-cell !important;\n\ }\n\ -canvas#tegaki-canvas {\n\ +:root.sw-yotsuba canvas#tegaki-canvas {\n\ background: none;\n\ }\n\ /* Disable obnoxious captcha fade-in. */\n\ -body > div:last-of-type {\n\ +:root.sw-yotsuba > body > div:last-of-type {\n\ transition: none !important;\n\ }\n\ /* Fix captcha scrolling to top of page. */\n\ -body > div[style*=\" top: -10000px;\"] {\n\ +:root.sw-yotsuba > body > div[style*=\" top: -10000px;\"] {\n\ visibility: hidden !important;\n\ }\n\ /* Make long filenames wrap properly: https://github.com/ccd0/4chan-x/issues/1082 */\n\ -.post > .file {\n\ +:root.sw-yotsuba .post > .file {\n\ /* currently nonstandard but may be added: https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html, https://bugzilla.mozilla.org/show_bug.cgi?id=1296042 */\n\ word-break: break-word;\n\ }\n\ -:root:not(.ua-webkit):not(.ua-blink) .fileText {\n\ +:root.sw-yotsuba:not(.ua-webkit):not(.ua-blink) .fileText {\n\ word-wrap: break-word;\n\ max-width: calc(100vw - 90px);\n\ }\n\ -body.is_catalog .thread > a > img {\n\ +:root.sw-yotsuba > body.is_catalog .thread > a > img {\n\ display: inline-block;\n\ }\n\ /* Links to NSFW boards */\n\ -.nwsb {\n\ +:root.sw-yotsuba .nwsb {\n\ display: inline;\n\ }\n\ -.fileText {\n\ +:root.sw-yotsuba .fileText {\n\ max-width: auto;\n\ white-space: normal;\n\ }\n\ /* Ads */\n\ -.ad-cnt > *, .adg-rects > *, .bsa-cnt {\n\ +:root.sw-yotsuba .ad-cnt > *, :root.sw-yotsuba .adg-rects > *, :root.sw-yotsuba .bsa-cnt {\n\ height: auto !important;\n\ }\n\ -:root:not(.ads-loaded) hr.abovePostForm,\n\ -:root:not(.ads-loaded) .adg-rects > hr,\n\ -#adg-ol + hr {\n\ +:root.sw-yotsuba:not(.ads-loaded) hr.abovePostForm,\n\ +:root.sw-yotsuba:not(.ads-loaded) .adg-rects > hr,\n\ +:root.sw-yotsuba #adg-ol + hr {\n\ display: none;\n\ }\n\ -.adg-rects {\n\ +:root.sw-yotsuba .adg-rects {\n\ margin: 0;\n\ font-size: 0;\n\ }\n\ -div.center[style] {\n\ +:root.sw-yotsuba div.center[style] {\n\ display: none !important;\n\ }\n\ /* Tinyboard / vichan conflicts */\n\ @@ -25605,6 +25607,18 @@ Main = (function() { db = ref2[j]; Conf[db] = {}; } + Conf['customTitles'] = { + '4chan.org': { + boards: { + 'qa': { + 'boardTitle': { + orig: '/qa/ - Question & Answer', + title: '/qa/ - 2D / Random' + } + } + } + } + }; Conf['boardConfig'] = { boards: {} }; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 7e79313c4..7a1741673 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 f931ee9fe..3c5837317 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.7.2 +// @version 1.14.7.3 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 3a268c150..8d0c847c3 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.7.2 +// @version 1.14.7.3 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -198,7 +198,7 @@ docSet = function() { }; g = { - VERSION: '1.14.7.2', + VERSION: '1.14.7.3', NAMESPACE: '4chan X.', boards: {} }; @@ -1336,82 +1336,84 @@ body.hasDropDownNav{\n\ border-radius: 3px;\n\ padding: 0px 2px;\n\ }\n\ -/* 4chan style fixes */\n\ -/* overrides 4chan CSS on div.opContainer, div.op */\n\ -.opContainer.opContainer, .op.op {\n\ - display: block;\n\ - overflow: visible;\n\ -}\n\ -.reply > .file > .fileText {\n\ - margin: 0 20px;\n\ -}\n\ -.hashlink::before {\n\ - content: ' ';\n\ - visibility: hidden;\n\ -}\n\ -.inline + .hashlink,\n\ [hidden] {\n\ display: none !important;\n\ }\n\ -.fileText a {\n\ +/* 4chan style fixes */\n\ +/* overrides 4chan CSS on div.opContainer, div.op */\n\ +:root.sw-yotsuba .opContainer, :root.sw-yotsuba .op {\n\ + display: block;\n\ + overflow: visible;\n\ +}\n\ +:root.sw-yotsuba .reply > .file > .fileText {\n\ + margin: 0 20px;\n\ +}\n\ +:root.sw-yotsuba .hashlink::before {\n\ + content: ' ';\n\ + visibility: hidden;\n\ +}\n\ +:root.sw-yotsuba .inline + .hashlink {\n\ + display: none !important;\n\ +}\n\ +:root.sw-yotsuba .fileText a {\n\ unicode-bidi: -moz-isolate;\n\ unicode-bidi: -webkit-isolate;\n\ }\n\ -#g-recaptcha {\n\ +:root.sw-yotsuba #g-recaptcha {\n\ min-height: 78px;\n\ height: auto;\n\ }\n\ -:root:not(.js-enabled) #postForm {\n\ +:root.sw-yotsuba:not(.js-enabled) #postForm {\n\ display: table;\n\ }\n\ -#captchaContainerAlt td:nth-child(2) {\n\ +:root.sw-yotsuba #captchaContainerAlt td:nth-child(2) {\n\ display: table-cell !important;\n\ }\n\ -canvas#tegaki-canvas {\n\ +:root.sw-yotsuba canvas#tegaki-canvas {\n\ background: none;\n\ }\n\ /* Disable obnoxious captcha fade-in. */\n\ -body > div:last-of-type {\n\ +:root.sw-yotsuba > body > div:last-of-type {\n\ transition: none !important;\n\ }\n\ /* Fix captcha scrolling to top of page. */\n\ -body > div[style*=\" top: -10000px;\"] {\n\ +:root.sw-yotsuba > body > div[style*=\" top: -10000px;\"] {\n\ visibility: hidden !important;\n\ }\n\ /* Make long filenames wrap properly: https://github.com/ccd0/4chan-x/issues/1082 */\n\ -.post > .file {\n\ +:root.sw-yotsuba .post > .file {\n\ /* currently nonstandard but may be added: https://lists.w3.org/Archives/Public/www-style/2016Mar/0352.html, https://bugzilla.mozilla.org/show_bug.cgi?id=1296042 */\n\ word-break: break-word;\n\ }\n\ -:root:not(.ua-webkit):not(.ua-blink) .fileText {\n\ +:root.sw-yotsuba:not(.ua-webkit):not(.ua-blink) .fileText {\n\ word-wrap: break-word;\n\ max-width: calc(100vw - 90px);\n\ }\n\ -body.is_catalog .thread > a > img {\n\ +:root.sw-yotsuba > body.is_catalog .thread > a > img {\n\ display: inline-block;\n\ }\n\ /* Links to NSFW boards */\n\ -.nwsb {\n\ +:root.sw-yotsuba .nwsb {\n\ display: inline;\n\ }\n\ -.fileText {\n\ +:root.sw-yotsuba .fileText {\n\ max-width: auto;\n\ white-space: normal;\n\ }\n\ /* Ads */\n\ -.ad-cnt > *, .adg-rects > *, .bsa-cnt {\n\ +:root.sw-yotsuba .ad-cnt > *, :root.sw-yotsuba .adg-rects > *, :root.sw-yotsuba .bsa-cnt {\n\ height: auto !important;\n\ }\n\ -:root:not(.ads-loaded) hr.abovePostForm,\n\ -:root:not(.ads-loaded) .adg-rects > hr,\n\ -#adg-ol + hr {\n\ +:root.sw-yotsuba:not(.ads-loaded) hr.abovePostForm,\n\ +:root.sw-yotsuba:not(.ads-loaded) .adg-rects > hr,\n\ +:root.sw-yotsuba #adg-ol + hr {\n\ display: none;\n\ }\n\ -.adg-rects {\n\ +:root.sw-yotsuba .adg-rects {\n\ margin: 0;\n\ font-size: 0;\n\ }\n\ -div.center[style] {\n\ +:root.sw-yotsuba div.center[style] {\n\ display: none !important;\n\ }\n\ /* Tinyboard / vichan conflicts */\n\ @@ -25605,6 +25607,18 @@ Main = (function() { db = ref2[j]; Conf[db] = {}; } + Conf['customTitles'] = { + '4chan.org': { + boards: { + 'qa': { + 'boardTitle': { + orig: '/qa/ - Question & Answer', + title: '/qa/ - 2D / Random' + } + } + } + } + }; Conf['boardConfig'] = { boards: {} }; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index eb1c9adba..88c239935 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.json b/builds/updates-beta.json index 865f12f76..29be12ccd 100644 --- a/builds/updates-beta.json +++ b/builds/updates-beta.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.7.2", + "version": "1.14.7.3", "update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx" } ] diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index 03fd2bfb8..6d21e91a2 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.json b/builds/updates.json index a0ea5cd15..c06b2d94c 100644 --- a/builds/updates.json +++ b/builds/updates.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.7.2", + "version": "1.14.7.3", "update_link": "https://www.4chan-x.net/builds/4chan-X.crx" } ] diff --git a/builds/updates.xml b/builds/updates.xml index ab0816572..e0fb32ec8 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index f775e69dc..6083e4263 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.14.7.2", - "date": "2019-04-11T15:38:53.367Z" + "version": "1.14.7.3", + "date": "2019-04-22T02:32:21.943Z" } \ No newline at end of file