Release 4chan X v1.10.13.4.

This commit is contained in:
ccd0 2015-06-05 15:11:11 -07:00
parent 905f6173c1
commit 6bc844bba1
13 changed files with 72 additions and 60 deletions

View File

@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
### v1.10.13
**v1.10.13.4** *(2015-06-05)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.13.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.13.4/builds/4chan-X-noupdate.crx "Chromium version")]
- Support selecting images in the image captcha with the space bar in addition to the enter key.
**v1.10.13.3** *(2015-06-03)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.13.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.13.3/builds/4chan-X-noupdate.crx "Chromium version")]
- Merge v1.10.12.10: Revert workaround for scrolling to top as it seems to have been fixed on Google's end.

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
// @version 1.10.13.3
// @version 1.10.13.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -396,7 +396,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.13.3',
VERSION: '1.10.13.4',
NAMESPACE: '4chan X.',
boards: {}
};
@ -7732,7 +7732,11 @@
}
x = d.activeElement === verify ? 11 : 9;
}
if (!(dx = {
if (e.keyCode === 32 && x < 9) {
this.images[x].click();
e.preventDefault();
return e.stopPropagation();
} else if (dx = {
38: 9,
40: 3,
37: 11,
@ -7741,19 +7745,18 @@
75: 3,
74: 11,
76: 1
}[e.keyCode])) {
return;
}[e.keyCode]) {
x = (x + dx) % 12;
if (x === 10) {
x = dx === 11 ? 9 : 11;
}
(this.images[x] || {
9: reload,
11: verify
}[x]).focus();
e.preventDefault();
return e.stopPropagation();
}
x = (x + dx) % 12;
if (x === 10) {
x = dx === 11 ? 9 : 11;
}
(this.images[x] || {
9: reload,
11: verify
}[x]).focus();
e.preventDefault();
return e.stopPropagation();
}
};
@ -9357,7 +9360,7 @@
return $.add(Gallery.nodes.thumbs, thumb);
},
open: function(thumb) {
var el, elType, file, name, newID, nodes, oldID, post, ref, slideshow;
var el, elType, file, name, newID, nodes, oldID, post, slideshow;
nodes = Gallery.nodes;
name = nodes.name;
oldID = +nodes.current.dataset.id;
@ -9397,8 +9400,8 @@
} else {
Gallery.cb.stop();
}
if (Conf['Scroll to Post'] && (post = (ref = (post = g.posts[file.dataset.post])) != null ? ref.nodes.root : void 0)) {
Header.scrollTo(post);
if (Conf['Scroll to Post'] && (post = g.posts[file.dataset.post])) {
Header.scrollTo(post.nodes.root);
}
return nodes.thumbs.scrollTop = thumb.offsetTop + thumb.offsetHeight / 2 - nodes.thumbs.clientHeight / 2;
},

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.10.13.3
// @version 1.10.13.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.13.3',
VERSION: '1.10.13.4',
NAMESPACE: '4chan X.',
boards: {}
};
@ -7731,7 +7731,11 @@
}
x = d.activeElement === verify ? 11 : 9;
}
if (!(dx = {
if (e.keyCode === 32 && x < 9) {
this.images[x].click();
e.preventDefault();
return e.stopPropagation();
} else if (dx = {
38: 9,
40: 3,
37: 11,
@ -7740,19 +7744,18 @@
75: 3,
74: 11,
76: 1
}[e.keyCode])) {
return;
}[e.keyCode]) {
x = (x + dx) % 12;
if (x === 10) {
x = dx === 11 ? 9 : 11;
}
(this.images[x] || {
9: reload,
11: verify
}[x]).focus();
e.preventDefault();
return e.stopPropagation();
}
x = (x + dx) % 12;
if (x === 10) {
x = dx === 11 ? 9 : 11;
}
(this.images[x] || {
9: reload,
11: verify
}[x]).focus();
e.preventDefault();
return e.stopPropagation();
}
};
@ -9356,7 +9359,7 @@
return $.add(Gallery.nodes.thumbs, thumb);
},
open: function(thumb) {
var el, elType, file, name, newID, nodes, oldID, post, ref, slideshow;
var el, elType, file, name, newID, nodes, oldID, post, slideshow;
nodes = Gallery.nodes;
name = nodes.name;
oldID = +nodes.current.dataset.id;
@ -9396,8 +9399,8 @@
} else {
Gallery.cb.stop();
}
if (Conf['Scroll to Post'] && (post = (ref = (post = g.posts[file.dataset.post])) != null ? ref.nodes.root : void 0)) {
Header.scrollTo(post);
if (Conf['Scroll to Post'] && (post = g.posts[file.dataset.post])) {
Header.scrollTo(post.nodes.root);
}
return nodes.thumbs.scrollTop = thumb.offsetTop + thumb.offsetHeight / 2 - nodes.thumbs.clientHeight / 2;
},

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.10.13.3
// @version 1.10.13.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -396,7 +396,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.13.3',
VERSION: '1.10.13.4',
NAMESPACE: '4chan X.',
boards: {}
};
@ -7732,7 +7732,11 @@
}
x = d.activeElement === verify ? 11 : 9;
}
if (!(dx = {
if (e.keyCode === 32 && x < 9) {
this.images[x].click();
e.preventDefault();
return e.stopPropagation();
} else if (dx = {
38: 9,
40: 3,
37: 11,
@ -7741,19 +7745,18 @@
75: 3,
74: 11,
76: 1
}[e.keyCode])) {
return;
}[e.keyCode]) {
x = (x + dx) % 12;
if (x === 10) {
x = dx === 11 ? 9 : 11;
}
(this.images[x] || {
9: reload,
11: verify
}[x]).focus();
e.preventDefault();
return e.stopPropagation();
}
x = (x + dx) % 12;
if (x === 10) {
x = dx === 11 ? 9 : 11;
}
(this.images[x] || {
9: reload,
11: verify
}[x]).focus();
e.preventDefault();
return e.stopPropagation();
}
};
@ -9357,7 +9360,7 @@
return $.add(Gallery.nodes.thumbs, thumb);
},
open: function(thumb) {
var el, elType, file, name, newID, nodes, oldID, post, ref, slideshow;
var el, elType, file, name, newID, nodes, oldID, post, slideshow;
nodes = Gallery.nodes;
name = nodes.name;
oldID = +nodes.current.dataset.id;
@ -9397,8 +9400,8 @@
} else {
Gallery.cb.stop();
}
if (Conf['Scroll to Post'] && (post = (ref = (post = g.posts[file.dataset.post])) != null ? ref.nodes.root : void 0)) {
Header.scrollTo(post);
if (Conf['Scroll to Post'] && (post = g.posts[file.dataset.post])) {
Header.scrollTo(post.nodes.root);
}
return nodes.thumbs.scrollTop = thumb.offsetTop + thumb.offsetHeight / 2 - nodes.thumbs.clientHeight / 2;
},

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://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.13.3' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.13.4' />
</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://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.13.3' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.13.4' />
</app>
</gupdate>

View File

@ -3,8 +3,8 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",
"version": "1.10.13.3",
"date": "2015-06-04T02:56:03.644Z",
"version": "1.10.13.4",
"date": "2015-06-05T22:09:56.541Z",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",