Release 4chan X v1.14.19.0.

This commit is contained in:
ccd0 2020-05-12 08:52:56 -07:00
parent 9f6b8c2f60
commit 6411692c74
15 changed files with 27 additions and 20 deletions

View File

@ -2,6 +2,13 @@
-Sometimes the changelog has notes (not comprehensive) acknowledging people's work. This does not mean the changes are their fault, only that their code was used. All changes to the script are chosen by and the fault of the maintainer (ccd0).
### v1.14.19
**v1.14.19.0** *(2020-05-12)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.19.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.19.0/builds/4chan-X-noupdate.crx)]
- Based on v1.14.18.1.
- Fix issue where shift-click on Quick Reply submit to bypass warning did not use captcha when posting.
- Fix Gallery 'Stretch to Fit' on sites with multifile posting.
### v1.14.18
**v1.14.18.1** *(2020-04-30)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.18.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.18.1/builds/4chan-X-noupdate.crx)]

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.14.18.1
// @version 1.14.19.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.14.18.1
// @version 1.14.19.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -218,7 +218,7 @@ docSet = function() {
};
g = {
VERSION: '1.14.18.1',
VERSION: '1.14.19.0',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@ -14936,7 +14936,7 @@ Gallery = (function() {
var containerHeight, containerWidth, current, dim, frame, height, margin, minHeight, ref, ref1, ref2, ref3, style, width;
ref = Gallery.nodes, current = ref.current, frame = ref.frame;
style = current.style;
if (Conf['Stretch to Fit'] && (dim = (ref1 = g.posts.get(current.dataset.post)) != null ? ref1.file.dimensions : void 0)) {
if (Conf['Stretch to Fit'] && (dim = (ref1 = g.posts.get(current.dataset.post)) != null ? ref1.files[+current.dataset.file].dimensions : void 0)) {
ref2 = dim.split('x'), width = ref2[0], height = ref2[1];
containerWidth = frame.clientWidth;
containerHeight = doc.clientHeight - 25;
@ -24888,7 +24888,7 @@ QR = (function() {
if (g.BOARD.ID === 'r9k' && !((ref = post.com) != null ? ref.match(/[a-z-]/i) : void 0)) {
err || (err = 'Original comment required.');
}
if (QR.captcha.isEnabled && !(/\b_ct=/.test(d.cookie) && threadID) && !err) {
if (QR.captcha.isEnabled && !(/\b_ct=/.test(d.cookie) && threadID) && !(err && !force)) {
captcha = QR.captcha.getOne(!!threadID) || Captcha.cache.request(!!threadID);
if (!captcha) {
err = 'No valid captcha.';

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.14.18.1
// @version 1.14.19.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -218,7 +218,7 @@ docSet = function() {
};
g = {
VERSION: '1.14.18.1',
VERSION: '1.14.19.0',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@ -14936,7 +14936,7 @@ Gallery = (function() {
var containerHeight, containerWidth, current, dim, frame, height, margin, minHeight, ref, ref1, ref2, ref3, style, width;
ref = Gallery.nodes, current = ref.current, frame = ref.frame;
style = current.style;
if (Conf['Stretch to Fit'] && (dim = (ref1 = g.posts.get(current.dataset.post)) != null ? ref1.file.dimensions : void 0)) {
if (Conf['Stretch to Fit'] && (dim = (ref1 = g.posts.get(current.dataset.post)) != null ? ref1.files[+current.dataset.file].dimensions : void 0)) {
ref2 = dim.split('x'), width = ref2[0], height = ref2[1];
containerWidth = frame.clientWidth;
containerHeight = doc.clientHeight - 25;
@ -24888,7 +24888,7 @@ QR = (function() {
if (g.BOARD.ID === 'r9k' && !((ref = post.com) != null ? ref.match(/[a-z-]/i) : void 0)) {
err || (err = 'Original comment required.');
}
if (QR.captcha.isEnabled && !(/\b_ct=/.test(d.cookie) && threadID) && !err) {
if (QR.captcha.isEnabled && !(/\b_ct=/.test(d.cookie) && threadID) && !(err && !force)) {
captcha = QR.captcha.getOne(!!threadID) || Captcha.cache.request(!!threadID);
if (!captcha) {
err = 'No valid captcha.';

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.14.18.1
// @version 1.14.19.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.14.18.1
// @version 1.14.19.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -218,7 +218,7 @@ docSet = function() {
};
g = {
VERSION: '1.14.18.1',
VERSION: '1.14.19.0',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@ -14936,7 +14936,7 @@ Gallery = (function() {
var containerHeight, containerWidth, current, dim, frame, height, margin, minHeight, ref, ref1, ref2, ref3, style, width;
ref = Gallery.nodes, current = ref.current, frame = ref.frame;
style = current.style;
if (Conf['Stretch to Fit'] && (dim = (ref1 = g.posts.get(current.dataset.post)) != null ? ref1.file.dimensions : void 0)) {
if (Conf['Stretch to Fit'] && (dim = (ref1 = g.posts.get(current.dataset.post)) != null ? ref1.files[+current.dataset.file].dimensions : void 0)) {
ref2 = dim.split('x'), width = ref2[0], height = ref2[1];
containerWidth = frame.clientWidth;
containerHeight = doc.clientHeight - 25;
@ -24888,7 +24888,7 @@ QR = (function() {
if (g.BOARD.ID === 'r9k' && !((ref = post.com) != null ? ref.match(/[a-z-]/i) : void 0)) {
err || (err = 'Original comment required.');
}
if (QR.captcha.isEnabled && !(/\b_ct=/.test(d.cookie) && threadID) && !err) {
if (QR.captcha.isEnabled && !(/\b_ct=/.test(d.cookie) && threadID) && !(err && !force)) {
captcha = QR.captcha.getOne(!!threadID) || Captcha.cache.request(!!threadID);
if (!captcha) {
err = 'No valid captcha.';

Binary file not shown.

View File

@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
"version": "1.14.18.1",
"version": "1.14.19.0",
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
}
]

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.14.18.1' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.14.19.0' />
</app>
</gupdate>

View File

@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
"version": "1.14.18.1",
"version": "1.14.19.0",
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
}
]

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.14.18.1' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.14.19.0' />
</app>
</gupdate>

View File

@ -1,4 +1,4 @@
{
"version": "1.14.18.1",
"date": "2020-04-30T03:22:19.243Z"
"version": "1.14.19.0",
"date": "2020-05-12T14:56:12.604Z"
}