Release 4chan X v1.13.8.5.

This commit is contained in:
ccd0 2017-03-13 15:30:27 -07:00
parent 0f673ea9c1
commit baeb8ff93c
13 changed files with 67 additions and 42 deletions

View File

@ -4,6 +4,10 @@
### v1.13.8
**v1.13.8.5** *(2017-03-13)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.5/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.5/builds/4chan-X-noupdate.crx)]
- WebM with audio is now allowed on /wsr/ and /r/. #1319
- Minor bugfixes.
**v1.13.8.4** *(2017-02-21)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.4/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.4/builds/4chan-X-noupdate.crx)]
- As a workaround for 4chan's recent removal of the ability to start new threads using the v1 (text) Recaptcha, the `Use Recaptcha v1` option now only applies within threads. You can enable the new option `Use Recaptcha v1 on Index` to get Recaptcha v1 in the index and catalog, but unless 4chan's change is reverted, this will interfere with starting threads.

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.13.8.4
// @version 1.13.8.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -151,7 +151,7 @@ docSet = function() {
};
g = {
VERSION: '1.13.8.4',
VERSION: '1.13.8.5',
NAMESPACE: '4chan X.',
boards: {}
};
@ -1332,6 +1332,9 @@ body > div[style*=\" top: -10000px;\"] {\n\
word-wrap: break-word;\n\
max-width: calc(100vw - 90px);\n\
}\n\
body.is_catalog .thread > a > img {\n\
display: inline-block;\n\
}\n\
/* Ads */\n\
.ad-cnt > *, .adg-rects > * {\n\
height: auto !important;\n\
@ -13993,7 +13996,7 @@ Volume = (function() {
cb: this.node
});
}
if ((ref1 = g.BOARD.ID) !== 'gif' && ref1 !== 'wsg') {
if ((ref1 = g.BOARD.ID) !== 'gif' && ref1 !== 'wsg' && ref1 !== 'r' && ref1 !== 'wsr') {
return;
}
if (Conf['Mouse Wheel Volume']) {
@ -19741,10 +19744,14 @@ Captcha = {};
this.captchas = captchas;
return this.count();
},
getOne: function() {
var captcha;
getOne: function(isReply) {
var captcha, i;
this.clear();
if ((captcha = this.captchas.shift())) {
i = this.captchas.findIndex(function(x) {
return isReply || (x.challenge == null);
});
if (i >= 0) {
captcha = this.captchas.splice(i, 1)[0];
$.set('captchas', this.captchas);
this.count();
return captcha;
@ -20283,9 +20290,9 @@ Captcha = {};
return this.beforeSetup();
}
},
getOne: function() {
getOne: function(isReply) {
var captcha, challenge, response, timeout;
if ((captcha = Captcha.cache.getOne())) {
if ((captcha = Captcha.cache.getOne(isReply))) {
return captcha;
} else {
challenge = this.nodes.img.alt;
@ -20609,8 +20616,8 @@ Captcha = {};
$.rm(node);
}
},
getOne: function() {
return Captcha.cache.getOne();
getOne: function(isReply) {
return Captcha.cache.getOne(isReply);
},
save: function(pasted, token) {
var base, focus, ref;
@ -21501,7 +21508,7 @@ QR = (function() {
err || (err = 'Original comment required.');
}
if (QR.captcha.isEnabled && !err) {
captcha = QR.captcha.getOne();
captcha = QR.captcha.getOne(!!threadID);
if (!captcha) {
err = 'No valid captcha.';
QR.captcha.setup(!QR.cooldown.auto || d.activeElement === QR.nodes.status);
@ -22629,7 +22636,7 @@ QR = (function() {
} else if (duration > QR.max_duration_video) {
this.fileError("Video too long (video: " + duration + "s, max: " + QR.max_duration_video + "s)");
}
if (((ref = g.BOARD.ID) !== 'gif' && ref !== 'wsg') && $.hasAudio(el)) {
if (((ref = g.BOARD.ID) !== 'gif' && ref !== 'wsg' && ref !== 'r' && ref !== 'wsr') && $.hasAudio(el)) {
return this.fileError('Audio not allowed');
}
}

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.13.8.4
// @version 1.13.8.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -151,7 +151,7 @@ docSet = function() {
};
g = {
VERSION: '1.13.8.4',
VERSION: '1.13.8.5',
NAMESPACE: '4chan X.',
boards: {}
};
@ -1332,6 +1332,9 @@ body > div[style*=\" top: -10000px;\"] {\n\
word-wrap: break-word;\n\
max-width: calc(100vw - 90px);\n\
}\n\
body.is_catalog .thread > a > img {\n\
display: inline-block;\n\
}\n\
/* Ads */\n\
.ad-cnt > *, .adg-rects > * {\n\
height: auto !important;\n\
@ -13993,7 +13996,7 @@ Volume = (function() {
cb: this.node
});
}
if ((ref1 = g.BOARD.ID) !== 'gif' && ref1 !== 'wsg') {
if ((ref1 = g.BOARD.ID) !== 'gif' && ref1 !== 'wsg' && ref1 !== 'r' && ref1 !== 'wsr') {
return;
}
if (Conf['Mouse Wheel Volume']) {
@ -19741,10 +19744,14 @@ Captcha = {};
this.captchas = captchas;
return this.count();
},
getOne: function() {
var captcha;
getOne: function(isReply) {
var captcha, i;
this.clear();
if ((captcha = this.captchas.shift())) {
i = this.captchas.findIndex(function(x) {
return isReply || (x.challenge == null);
});
if (i >= 0) {
captcha = this.captchas.splice(i, 1)[0];
$.set('captchas', this.captchas);
this.count();
return captcha;
@ -20283,9 +20290,9 @@ Captcha = {};
return this.beforeSetup();
}
},
getOne: function() {
getOne: function(isReply) {
var captcha, challenge, response, timeout;
if ((captcha = Captcha.cache.getOne())) {
if ((captcha = Captcha.cache.getOne(isReply))) {
return captcha;
} else {
challenge = this.nodes.img.alt;
@ -20609,8 +20616,8 @@ Captcha = {};
$.rm(node);
}
},
getOne: function() {
return Captcha.cache.getOne();
getOne: function(isReply) {
return Captcha.cache.getOne(isReply);
},
save: function(pasted, token) {
var base, focus, ref;
@ -21501,7 +21508,7 @@ QR = (function() {
err || (err = 'Original comment required.');
}
if (QR.captcha.isEnabled && !err) {
captcha = QR.captcha.getOne();
captcha = QR.captcha.getOne(!!threadID);
if (!captcha) {
err = 'No valid captcha.';
QR.captcha.setup(!QR.cooldown.auto || d.activeElement === QR.nodes.status);
@ -22629,7 +22636,7 @@ QR = (function() {
} else if (duration > QR.max_duration_video) {
this.fileError("Video too long (video: " + duration + "s, max: " + QR.max_duration_video + "s)");
}
if (((ref = g.BOARD.ID) !== 'gif' && ref !== 'wsg') && $.hasAudio(el)) {
if (((ref = g.BOARD.ID) !== 'gif' && ref !== 'wsg' && ref !== 'r' && ref !== 'wsr') && $.hasAudio(el)) {
return this.fileError('Audio not allowed');
}
}

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.13.8.4
// @version 1.13.8.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -151,7 +151,7 @@ docSet = function() {
};
g = {
VERSION: '1.13.8.4',
VERSION: '1.13.8.5',
NAMESPACE: '4chan X.',
boards: {}
};
@ -1332,6 +1332,9 @@ body > div[style*=\" top: -10000px;\"] {\n\
word-wrap: break-word;\n\
max-width: calc(100vw - 90px);\n\
}\n\
body.is_catalog .thread > a > img {\n\
display: inline-block;\n\
}\n\
/* Ads */\n\
.ad-cnt > *, .adg-rects > * {\n\
height: auto !important;\n\
@ -13993,7 +13996,7 @@ Volume = (function() {
cb: this.node
});
}
if ((ref1 = g.BOARD.ID) !== 'gif' && ref1 !== 'wsg') {
if ((ref1 = g.BOARD.ID) !== 'gif' && ref1 !== 'wsg' && ref1 !== 'r' && ref1 !== 'wsr') {
return;
}
if (Conf['Mouse Wheel Volume']) {
@ -19741,10 +19744,14 @@ Captcha = {};
this.captchas = captchas;
return this.count();
},
getOne: function() {
var captcha;
getOne: function(isReply) {
var captcha, i;
this.clear();
if ((captcha = this.captchas.shift())) {
i = this.captchas.findIndex(function(x) {
return isReply || (x.challenge == null);
});
if (i >= 0) {
captcha = this.captchas.splice(i, 1)[0];
$.set('captchas', this.captchas);
this.count();
return captcha;
@ -20283,9 +20290,9 @@ Captcha = {};
return this.beforeSetup();
}
},
getOne: function() {
getOne: function(isReply) {
var captcha, challenge, response, timeout;
if ((captcha = Captcha.cache.getOne())) {
if ((captcha = Captcha.cache.getOne(isReply))) {
return captcha;
} else {
challenge = this.nodes.img.alt;
@ -20609,8 +20616,8 @@ Captcha = {};
$.rm(node);
}
},
getOne: function() {
return Captcha.cache.getOne();
getOne: function(isReply) {
return Captcha.cache.getOne(isReply);
},
save: function(pasted, token) {
var base, focus, ref;
@ -21501,7 +21508,7 @@ QR = (function() {
err || (err = 'Original comment required.');
}
if (QR.captcha.isEnabled && !err) {
captcha = QR.captcha.getOne();
captcha = QR.captcha.getOne(!!threadID);
if (!captcha) {
err = 'No valid captcha.';
QR.captcha.setup(!QR.cooldown.auto || d.activeElement === QR.nodes.status);
@ -22629,7 +22636,7 @@ QR = (function() {
} else if (duration > QR.max_duration_video) {
this.fileError("Video too long (video: " + duration + "s, max: " + QR.max_duration_video + "s)");
}
if (((ref = g.BOARD.ID) !== 'gif' && ref !== 'wsg') && $.hasAudio(el)) {
if (((ref = g.BOARD.ID) !== 'gif' && ref !== 'wsg' && ref !== 'r' && ref !== 'wsr') && $.hasAudio(el)) {
return this.fileError('Audio not allowed');
}
}

Binary file not shown.

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.13.8.4' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.8.5' />
</app>
</gupdate>

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.13.8.4' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.8.5' />
</app>
</gupdate>

View File

@ -1,4 +1,4 @@
{
"version": "1.13.8.4",
"date": "2017-02-21T05:22:04.853Z"
"version": "1.13.8.5",
"date": "2017-03-13T22:21:21.751Z"
}