Release 4chan X v1.11.13.11.

This commit is contained in:
ccd0 2015-10-30 09:27:31 -07:00
parent 1895d5e589
commit fbbfad75f8
13 changed files with 126 additions and 15 deletions

View File

@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.13
**v1.11.13.11** *(2015-10-30)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.13.11/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.13.11/builds/4chan-X-noupdate.crx "Chromium version")]
- Work around captcha bug causing captcha to go offscreen to the right.
**v1.11.13.10** *(2015-10-25)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.13.10/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.13.10/builds/4chan-X-noupdate.crx "Chromium version")]
- (MayhemYDG) Update archive list: Update fireden.net and remove poweredby.moe.

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
// @version 1.11.13.10
// @version 1.11.13.11
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -413,7 +413,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.13.10',
VERSION: '1.11.13.11',
NAMESPACE: '4chan X.',
boards: {}
};
@ -8420,13 +8420,16 @@
return e.stopPropagation();
};
})(this));
return $.on(window, 'captcha:success', (function(_this) {
$.on(window, 'captcha:success', (function(_this) {
return function() {
return $.queueTask(function() {
return _this.save(false);
});
};
})(this));
return new MutationObserver(this.watchBubbles.bind(this)).observe(d.body, {
childList: true
});
},
initFrame: function() {
var conn, ref, token;
@ -8669,6 +8672,39 @@
} else {
return $.globalEval('(function() {\n var container = document.querySelector("#qr .captcha-container");\n window.grecaptcha.reset(container.dataset.widgetID);\n})();');
}
},
watchBubbles: function(mutations) {
var k, len1, mutation, node, results;
results = [];
for (k = 0, len1 = mutations.length; k < len1; k++) {
mutation = mutations[k];
results.push((function() {
var len2, q, ref, results1;
ref = mutation.addedNodes;
results1 = [];
for (q = 0, len2 = ref.length; q < len2; q++) {
node = ref[q];
if ($('iframe[src^="https://www.google.com/recaptcha/api2/frame"]', node)) {
results1.push(new MutationObserver(this.fixBubble.bind(this, node)).observe(node, {
attributes: true
}));
} else {
results1.push(void 0);
}
}
return results1;
}).call(this));
}
return results;
},
fixBubble: function(node) {
var bottom, newLeft, qrLeft, ref, right, width;
ref = node.getBoundingClientRect(), bottom = ref.bottom, right = ref.right, width = ref.width;
if (bottom > 0 && right > doc.clientWidth) {
qrLeft = QR.nodes.el.getBoundingClientRect().left;
newLeft = Math.max(0, qrLeft - width);
return node.style.left = newLeft + "px";
}
}
};

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.11.13.10
// @version 1.11.13.11
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -413,7 +413,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.13.10',
VERSION: '1.11.13.11',
NAMESPACE: '4chan X.',
boards: {}
};
@ -8420,13 +8420,16 @@
return e.stopPropagation();
};
})(this));
return $.on(window, 'captcha:success', (function(_this) {
$.on(window, 'captcha:success', (function(_this) {
return function() {
return $.queueTask(function() {
return _this.save(false);
});
};
})(this));
return new MutationObserver(this.watchBubbles.bind(this)).observe(d.body, {
childList: true
});
},
initFrame: function() {
var conn, ref, token;
@ -8669,6 +8672,39 @@
} else {
return $.globalEval('(function() {\n var container = document.querySelector("#qr .captcha-container");\n window.grecaptcha.reset(container.dataset.widgetID);\n})();');
}
},
watchBubbles: function(mutations) {
var k, len1, mutation, node, results;
results = [];
for (k = 0, len1 = mutations.length; k < len1; k++) {
mutation = mutations[k];
results.push((function() {
var len2, q, ref, results1;
ref = mutation.addedNodes;
results1 = [];
for (q = 0, len2 = ref.length; q < len2; q++) {
node = ref[q];
if ($('iframe[src^="https://www.google.com/recaptcha/api2/frame"]', node)) {
results1.push(new MutationObserver(this.fixBubble.bind(this, node)).observe(node, {
attributes: true
}));
} else {
results1.push(void 0);
}
}
return results1;
}).call(this));
}
return results;
},
fixBubble: function(node) {
var bottom, newLeft, qrLeft, ref, right, width;
ref = node.getBoundingClientRect(), bottom = ref.bottom, right = ref.right, width = ref.width;
if (bottom > 0 && right > doc.clientWidth) {
qrLeft = QR.nodes.el.getBoundingClientRect().left;
newLeft = Math.max(0, qrLeft - width);
return node.style.left = newLeft + "px";
}
}
};

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.11.13.10
// @version 1.11.13.11
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -413,7 +413,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.13.10',
VERSION: '1.11.13.11',
NAMESPACE: '4chan X.',
boards: {}
};
@ -8420,13 +8420,16 @@
return e.stopPropagation();
};
})(this));
return $.on(window, 'captcha:success', (function(_this) {
$.on(window, 'captcha:success', (function(_this) {
return function() {
return $.queueTask(function() {
return _this.save(false);
});
};
})(this));
return new MutationObserver(this.watchBubbles.bind(this)).observe(d.body, {
childList: true
});
},
initFrame: function() {
var conn, ref, token;
@ -8669,6 +8672,39 @@
} else {
return $.globalEval('(function() {\n var container = document.querySelector("#qr .captcha-container");\n window.grecaptcha.reset(container.dataset.widgetID);\n})();');
}
},
watchBubbles: function(mutations) {
var k, len1, mutation, node, results;
results = [];
for (k = 0, len1 = mutations.length; k < len1; k++) {
mutation = mutations[k];
results.push((function() {
var len2, q, ref, results1;
ref = mutation.addedNodes;
results1 = [];
for (q = 0, len2 = ref.length; q < len2; q++) {
node = ref[q];
if ($('iframe[src^="https://www.google.com/recaptcha/api2/frame"]', node)) {
results1.push(new MutationObserver(this.fixBubble.bind(this, node)).observe(node, {
attributes: true
}));
} else {
results1.push(void 0);
}
}
return results1;
}).call(this));
}
return results;
},
fixBubble: function(node) {
var bottom, newLeft, qrLeft, ref, right, width;
ref = node.getBoundingClientRect(), bottom = ref.bottom, right = ref.right, width = ref.width;
if (bottom > 0 && right > doc.clientWidth) {
qrLeft = QR.nodes.el.getBoundingClientRect().left;
newLeft = Math.max(0, qrLeft - width);
return node.style.left = newLeft + "px";
}
}
};

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

View File

@ -4,8 +4,8 @@
"meta": {
"name": "4chan X",
"fork": "ccd0",
"version": "1.11.13.10",
"date": "2015-10-25T20:16:10.250Z",
"version": "1.11.13.11",
"date": "2015-10-30T16:26:36.467Z",
"page": "https://www.4chan-x.net/",
"downloads": "https://www.4chan-x.net/builds/",
"oldVersions": "https://raw.githubusercontent.com/ccd0/4chan-x/",