Merge branch 'bstable'
This commit is contained in:
commit
46a800ce62
@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
|
|||||||
|
|
||||||
### v1.11.17
|
### v1.11.17
|
||||||
|
|
||||||
|
**v1.11.17.8** *(2015-11-20)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.17.8/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.17.8/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
|
- A few more captcha focusing tweaks.
|
||||||
|
|
||||||
**v1.11.17.7** *(2015-11-20)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.17.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.17.7/builds/4chan-X-noupdate.crx "Chromium version")]
|
**v1.11.17.7** *(2015-11-20)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.17.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.17.7/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
- More captcha tweaks / fixes.
|
- More captcha tweaks / fixes.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.11.17.7
|
// @version 1.11.17.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.11.17.7
|
// @version 1.11.17.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -433,7 +433,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.17.7',
|
VERSION: '1.11.17.8',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -7714,7 +7714,7 @@
|
|||||||
captcha = QR.captcha.getOne();
|
captcha = QR.captcha.getOne();
|
||||||
if (!captcha) {
|
if (!captcha) {
|
||||||
err = 'No valid captcha.';
|
err = 'No valid captcha.';
|
||||||
QR.captcha.setup(true);
|
QR.captcha.setup(!QR.cooldown.auto || d.activeElement === QR.nodes.status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QR.cleanNotifications();
|
QR.cleanNotifications();
|
||||||
@ -7851,7 +7851,7 @@
|
|||||||
} else {
|
} else {
|
||||||
QR.cooldown.auto = false;
|
QR.cooldown.auto = false;
|
||||||
}
|
}
|
||||||
QR.captcha.setup(QR.cooldown.auto);
|
QR.captcha.setup(QR.cooldown.auto && d.activeElement === QR.nodes.status);
|
||||||
if (QR.captcha.isEnabled && !QR.captcha.captchas.length) {
|
if (QR.captcha.isEnabled && !QR.captcha.captchas.length) {
|
||||||
QR.cooldown.auto = false;
|
QR.cooldown.auto = false;
|
||||||
}
|
}
|
||||||
@ -8298,12 +8298,11 @@
|
|||||||
onNewPost: function() {},
|
onNewPost: function() {},
|
||||||
onPostChange: function() {},
|
onPostChange: function() {},
|
||||||
setup: function(focus, force) {
|
setup: function(focus, force) {
|
||||||
var ref;
|
|
||||||
if (!(this.isEnabled && (force || this.needed()))) {
|
if (!(this.isEnabled && (force || this.needed()))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.create();
|
this.create();
|
||||||
if (focus && ((ref = d.activeElement) === QR.nodes.status || ref === d.body)) {
|
if (focus) {
|
||||||
return this.nodes.input.focus();
|
return this.nodes.input.focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -8592,11 +8591,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
setup: function(focus, force) {
|
setup: function(focus, force) {
|
||||||
var iframe, ref;
|
var iframe;
|
||||||
if (!(this.isEnabled && (this.needed() || force))) {
|
if (!(this.isEnabled && (this.needed() || force))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (focus && ((ref = d.activeElement) === QR.nodes.status || ref === d.body)) {
|
if (focus) {
|
||||||
this.nodes.counter.focus();
|
this.nodes.counter.focus();
|
||||||
}
|
}
|
||||||
if (this.timeouts.destroy) {
|
if (this.timeouts.destroy) {
|
||||||
@ -8773,7 +8772,7 @@
|
|||||||
this.captchas = this.captchas.slice(i);
|
this.captchas = this.captchas.slice(i);
|
||||||
this.count();
|
this.count();
|
||||||
$.set('captchas', this.captchas);
|
$.set('captchas', this.captchas);
|
||||||
return this.setup(true);
|
return this.setup(d.activeElement === QR.nodes.status);
|
||||||
},
|
},
|
||||||
count: function() {
|
count: function() {
|
||||||
this.nodes.counter.textContent = "Captchas: " + this.captchas.length;
|
this.nodes.counter.textContent = "Captchas: " + this.captchas.length;
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.17.7
|
// @version 1.11.17.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -433,7 +433,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.17.7',
|
VERSION: '1.11.17.8',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -7714,7 +7714,7 @@
|
|||||||
captcha = QR.captcha.getOne();
|
captcha = QR.captcha.getOne();
|
||||||
if (!captcha) {
|
if (!captcha) {
|
||||||
err = 'No valid captcha.';
|
err = 'No valid captcha.';
|
||||||
QR.captcha.setup(true);
|
QR.captcha.setup(!QR.cooldown.auto || d.activeElement === QR.nodes.status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QR.cleanNotifications();
|
QR.cleanNotifications();
|
||||||
@ -7851,7 +7851,7 @@
|
|||||||
} else {
|
} else {
|
||||||
QR.cooldown.auto = false;
|
QR.cooldown.auto = false;
|
||||||
}
|
}
|
||||||
QR.captcha.setup(QR.cooldown.auto);
|
QR.captcha.setup(QR.cooldown.auto && d.activeElement === QR.nodes.status);
|
||||||
if (QR.captcha.isEnabled && !QR.captcha.captchas.length) {
|
if (QR.captcha.isEnabled && !QR.captcha.captchas.length) {
|
||||||
QR.cooldown.auto = false;
|
QR.cooldown.auto = false;
|
||||||
}
|
}
|
||||||
@ -8298,12 +8298,11 @@
|
|||||||
onNewPost: function() {},
|
onNewPost: function() {},
|
||||||
onPostChange: function() {},
|
onPostChange: function() {},
|
||||||
setup: function(focus, force) {
|
setup: function(focus, force) {
|
||||||
var ref;
|
|
||||||
if (!(this.isEnabled && (force || this.needed()))) {
|
if (!(this.isEnabled && (force || this.needed()))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.create();
|
this.create();
|
||||||
if (focus && ((ref = d.activeElement) === QR.nodes.status || ref === d.body)) {
|
if (focus) {
|
||||||
return this.nodes.input.focus();
|
return this.nodes.input.focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -8592,11 +8591,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
setup: function(focus, force) {
|
setup: function(focus, force) {
|
||||||
var iframe, ref;
|
var iframe;
|
||||||
if (!(this.isEnabled && (this.needed() || force))) {
|
if (!(this.isEnabled && (this.needed() || force))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (focus && ((ref = d.activeElement) === QR.nodes.status || ref === d.body)) {
|
if (focus) {
|
||||||
this.nodes.counter.focus();
|
this.nodes.counter.focus();
|
||||||
}
|
}
|
||||||
if (this.timeouts.destroy) {
|
if (this.timeouts.destroy) {
|
||||||
@ -8773,7 +8772,7 @@
|
|||||||
this.captchas = this.captchas.slice(i);
|
this.captchas = this.captchas.slice(i);
|
||||||
this.count();
|
this.count();
|
||||||
$.set('captchas', this.captchas);
|
$.set('captchas', this.captchas);
|
||||||
return this.setup(true);
|
return this.setup(d.activeElement === QR.nodes.status);
|
||||||
},
|
},
|
||||||
count: function() {
|
count: function() {
|
||||||
this.nodes.counter.textContent = "Captchas: " + this.captchas.length;
|
this.nodes.counter.textContent = "Captchas: " + this.captchas.length;
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.17.7
|
// @version 1.11.17.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.17.7
|
// @version 1.11.17.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -433,7 +433,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.17.7',
|
VERSION: '1.11.17.8',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -7714,7 +7714,7 @@
|
|||||||
captcha = QR.captcha.getOne();
|
captcha = QR.captcha.getOne();
|
||||||
if (!captcha) {
|
if (!captcha) {
|
||||||
err = 'No valid captcha.';
|
err = 'No valid captcha.';
|
||||||
QR.captcha.setup(true);
|
QR.captcha.setup(!QR.cooldown.auto || d.activeElement === QR.nodes.status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QR.cleanNotifications();
|
QR.cleanNotifications();
|
||||||
@ -7851,7 +7851,7 @@
|
|||||||
} else {
|
} else {
|
||||||
QR.cooldown.auto = false;
|
QR.cooldown.auto = false;
|
||||||
}
|
}
|
||||||
QR.captcha.setup(QR.cooldown.auto);
|
QR.captcha.setup(QR.cooldown.auto && d.activeElement === QR.nodes.status);
|
||||||
if (QR.captcha.isEnabled && !QR.captcha.captchas.length) {
|
if (QR.captcha.isEnabled && !QR.captcha.captchas.length) {
|
||||||
QR.cooldown.auto = false;
|
QR.cooldown.auto = false;
|
||||||
}
|
}
|
||||||
@ -8298,12 +8298,11 @@
|
|||||||
onNewPost: function() {},
|
onNewPost: function() {},
|
||||||
onPostChange: function() {},
|
onPostChange: function() {},
|
||||||
setup: function(focus, force) {
|
setup: function(focus, force) {
|
||||||
var ref;
|
|
||||||
if (!(this.isEnabled && (force || this.needed()))) {
|
if (!(this.isEnabled && (force || this.needed()))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.create();
|
this.create();
|
||||||
if (focus && ((ref = d.activeElement) === QR.nodes.status || ref === d.body)) {
|
if (focus) {
|
||||||
return this.nodes.input.focus();
|
return this.nodes.input.focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -8592,11 +8591,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
setup: function(focus, force) {
|
setup: function(focus, force) {
|
||||||
var iframe, ref;
|
var iframe;
|
||||||
if (!(this.isEnabled && (this.needed() || force))) {
|
if (!(this.isEnabled && (this.needed() || force))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (focus && ((ref = d.activeElement) === QR.nodes.status || ref === d.body)) {
|
if (focus) {
|
||||||
this.nodes.counter.focus();
|
this.nodes.counter.focus();
|
||||||
}
|
}
|
||||||
if (this.timeouts.destroy) {
|
if (this.timeouts.destroy) {
|
||||||
@ -8773,7 +8772,7 @@
|
|||||||
this.captchas = this.captchas.slice(i);
|
this.captchas = this.captchas.slice(i);
|
||||||
this.count();
|
this.count();
|
||||||
$.set('captchas', this.captchas);
|
$.set('captchas', this.captchas);
|
||||||
return this.setup(true);
|
return this.setup(d.activeElement === QR.nodes.status);
|
||||||
},
|
},
|
||||||
count: function() {
|
count: function() {
|
||||||
this.nodes.counter.textContent = "Captchas: " + this.captchas.length;
|
this.nodes.counter.textContent = "Captchas: " + this.captchas.length;
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.17.7' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.17.8' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.17.7' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.17.8' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -95,7 +95,7 @@ Captcha.v1 =
|
|||||||
setup: (focus, force) ->
|
setup: (focus, force) ->
|
||||||
return unless @isEnabled and (force or @needed())
|
return unless @isEnabled and (force or @needed())
|
||||||
@create()
|
@create()
|
||||||
@nodes.input.focus() if focus and d.activeElement in [QR.nodes.status, d.body]
|
@nodes.input.focus() if focus
|
||||||
|
|
||||||
afterSetup: ->
|
afterSetup: ->
|
||||||
return unless challenge = $.id 'recaptcha_challenge_field_holder'
|
return unless challenge = $.id 'recaptcha_challenge_field_holder'
|
||||||
|
|||||||
@ -66,7 +66,7 @@ Captcha.v2 =
|
|||||||
|
|
||||||
setup: (focus, force) ->
|
setup: (focus, force) ->
|
||||||
return unless @isEnabled and (@needed() or force)
|
return unless @isEnabled and (@needed() or force)
|
||||||
@nodes.counter.focus() if focus and d.activeElement in [QR.nodes.status, d.body]
|
@nodes.counter.focus() if focus
|
||||||
if @timeouts.destroy
|
if @timeouts.destroy
|
||||||
clearTimeout @timeouts.destroy
|
clearTimeout @timeouts.destroy
|
||||||
delete @timeouts.destroy
|
delete @timeouts.destroy
|
||||||
@ -209,7 +209,7 @@ Captcha.v2 =
|
|||||||
@captchas = @captchas[i..]
|
@captchas = @captchas[i..]
|
||||||
@count()
|
@count()
|
||||||
$.set 'captchas', @captchas
|
$.set 'captchas', @captchas
|
||||||
@setup true
|
@setup(d.activeElement is QR.nodes.status)
|
||||||
|
|
||||||
count: ->
|
count: ->
|
||||||
@nodes.counter.textContent = "Captchas: #{@captchas.length}"
|
@nodes.counter.textContent = "Captchas: #{@captchas.length}"
|
||||||
|
|||||||
@ -632,7 +632,7 @@ QR =
|
|||||||
captcha = QR.captcha.getOne()
|
captcha = QR.captcha.getOne()
|
||||||
unless captcha
|
unless captcha
|
||||||
err = 'No valid captcha.'
|
err = 'No valid captcha.'
|
||||||
QR.captcha.setup true
|
QR.captcha.setup(!QR.cooldown.auto or d.activeElement is QR.nodes.status)
|
||||||
|
|
||||||
QR.cleanNotifications()
|
QR.cleanNotifications()
|
||||||
if err
|
if err
|
||||||
@ -768,7 +768,7 @@ QR =
|
|||||||
QR.cooldown.addDelay post, seconds
|
QR.cooldown.addDelay post, seconds
|
||||||
else # stop auto-posting
|
else # stop auto-posting
|
||||||
QR.cooldown.auto = false
|
QR.cooldown.auto = false
|
||||||
QR.captcha.setup QR.cooldown.auto
|
QR.captcha.setup(QR.cooldown.auto and d.activeElement is QR.nodes.status)
|
||||||
QR.cooldown.auto = false if QR.captcha.isEnabled and !QR.captcha.captchas.length
|
QR.cooldown.auto = false if QR.captcha.isEnabled and !QR.captcha.captchas.length
|
||||||
QR.status()
|
QR.status()
|
||||||
QR.error err
|
QR.error err
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.11.17.7",
|
"version": "1.11.17.8",
|
||||||
"date": "2015-11-20T20:41:27.482Z"
|
"date": "2015-11-21T02:46:47.553Z"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user