Release 4chan X v1.11.14.7.
This commit is contained in:
parent
48610816ae
commit
f49bd835ec
@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
|
||||
|
||||
### v1.11.14
|
||||
|
||||
**v1.11.14.7** *(2015-10-30)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.14.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.14.7/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Merge v1.11.13.11: Work around captcha bug causing captcha to go offscreen to the right.
|
||||
|
||||
**v1.11.14.6** *(2015-10-29)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.14.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.14.6/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Check for empty or quotelink-only comments before submitting posts on /r9k/.
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.14.6
|
||||
// @version 1.11.14.7
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.14.6
|
||||
// @version 1.11.14.7
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -414,7 +414,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.14.6',
|
||||
VERSION: '1.11.14.7',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -8450,13 +8450,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;
|
||||
@ -8699,6 +8702,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.
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.14.6
|
||||
// @version 1.11.14.7
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -414,7 +414,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.14.6',
|
||||
VERSION: '1.11.14.7',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -8450,13 +8450,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;
|
||||
@ -8699,6 +8702,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.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.14.6
|
||||
// @version 1.11.14.7
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.14.6
|
||||
// @version 1.11.14.7
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -414,7 +414,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.14.6',
|
||||
VERSION: '1.11.14.7',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -8450,13 +8450,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;
|
||||
@ -8699,6 +8702,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.
@ -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.14.6' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.14.7' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -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.14.6' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.14.7' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
"meta": {
|
||||
"name": "4chan X",
|
||||
"fork": "ccd0",
|
||||
"version": "1.11.14.6",
|
||||
"date": "2015-10-30T04:11:49.050Z",
|
||||
"version": "1.11.14.7",
|
||||
"date": "2015-10-30T16:29:22.951Z",
|
||||
"page": "https://www.4chan-x.net/",
|
||||
"downloads": "https://www.4chan-x.net/builds/",
|
||||
"oldVersions": "https://raw.githubusercontent.com/ccd0/4chan-x/",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user