Release 4chan X v1.13.12.2.

This commit is contained in:
ccd0 2017-10-02 02:31:08 -07:00
parent f19a662c8d
commit b3dcea4778
13 changed files with 48 additions and 24 deletions

View File

@ -4,6 +4,9 @@
### v1.13.12
**v1.13.12.2** *(2017-10-02)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.2/builds/4chan-X-noupdate.crx)]
- Workaround for Twitter embed height issues. #1517
**v1.13.12.1** *(2017-09-29)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.1/builds/4chan-X-noupdate.crx)]
- Merge v1.13.11.5: Fix lag after settings changes.

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.13.12.1
// @version 1.13.12.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -158,7 +158,7 @@ docSet = function() {
};
g = {
VERSION: '1.13.12.1',
VERSION: '1.13.12.2',
NAMESPACE: '4chan X.',
boards: {}
};
@ -15021,9 +15021,9 @@ Embedding = (function() {
}, {
key: 'Twitter',
regExp: /^\w+:\/\/(?:www\.|mobile\.)?twitter\.com\/(\w+\/status\/\d+)/,
style: 'border: none; width: 550px; height: 250px; max-height: 80vh;',
style: 'border: none; width: 550px; height: 250px; overflow: hidden; resize: both;',
el: function(a) {
var el, onMessage;
var cont, el, onMessage;
el = $.el('iframe');
$.on(el, 'load', function() {
return this.contentWindow.postMessage({
@ -15034,13 +15034,20 @@ Embedding = (function() {
onMessage = function(e) {
if (e.source === el.contentWindow && e.origin === 'https://twitframe.com') {
$.off(window, 'message', onMessage);
return el.style.height = (+e.data.height) + "px";
return (cont || el).style.height = (+$.minmax(e.data.height, 250, 0.8 * doc.clientHeight)) + "px";
}
};
$.on(window, 'message', onMessage);
el.src = "https://twitframe.com/show?url=https://twitter.com/" + a.dataset.uid;
if ($.engine === 'gecko') {
el.style.cssText = 'border: none; width: 100%; height: 100%;';
cont = $.el('div');
$.add(cont, el);
return cont;
} else {
return el;
}
}
}, {
key: 'Vimeo',
regExp: /^\w+:\/\/(?:www\.)?vimeo\.com\/(\d+)/,

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.13.12.1
// @version 1.13.12.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -158,7 +158,7 @@ docSet = function() {
};
g = {
VERSION: '1.13.12.1',
VERSION: '1.13.12.2',
NAMESPACE: '4chan X.',
boards: {}
};
@ -15021,9 +15021,9 @@ Embedding = (function() {
}, {
key: 'Twitter',
regExp: /^\w+:\/\/(?:www\.|mobile\.)?twitter\.com\/(\w+\/status\/\d+)/,
style: 'border: none; width: 550px; height: 250px; max-height: 80vh;',
style: 'border: none; width: 550px; height: 250px; overflow: hidden; resize: both;',
el: function(a) {
var el, onMessage;
var cont, el, onMessage;
el = $.el('iframe');
$.on(el, 'load', function() {
return this.contentWindow.postMessage({
@ -15034,13 +15034,20 @@ Embedding = (function() {
onMessage = function(e) {
if (e.source === el.contentWindow && e.origin === 'https://twitframe.com') {
$.off(window, 'message', onMessage);
return el.style.height = (+e.data.height) + "px";
return (cont || el).style.height = (+$.minmax(e.data.height, 250, 0.8 * doc.clientHeight)) + "px";
}
};
$.on(window, 'message', onMessage);
el.src = "https://twitframe.com/show?url=https://twitter.com/" + a.dataset.uid;
if ($.engine === 'gecko') {
el.style.cssText = 'border: none; width: 100%; height: 100%;';
cont = $.el('div');
$.add(cont, el);
return cont;
} else {
return el;
}
}
}, {
key: 'Vimeo',
regExp: /^\w+:\/\/(?:www\.)?vimeo\.com\/(\d+)/,

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.13.12.1
// @version 1.13.12.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -158,7 +158,7 @@ docSet = function() {
};
g = {
VERSION: '1.13.12.1',
VERSION: '1.13.12.2',
NAMESPACE: '4chan X.',
boards: {}
};
@ -15021,9 +15021,9 @@ Embedding = (function() {
}, {
key: 'Twitter',
regExp: /^\w+:\/\/(?:www\.|mobile\.)?twitter\.com\/(\w+\/status\/\d+)/,
style: 'border: none; width: 550px; height: 250px; max-height: 80vh;',
style: 'border: none; width: 550px; height: 250px; overflow: hidden; resize: both;',
el: function(a) {
var el, onMessage;
var cont, el, onMessage;
el = $.el('iframe');
$.on(el, 'load', function() {
return this.contentWindow.postMessage({
@ -15034,13 +15034,20 @@ Embedding = (function() {
onMessage = function(e) {
if (e.source === el.contentWindow && e.origin === 'https://twitframe.com') {
$.off(window, 'message', onMessage);
return el.style.height = (+e.data.height) + "px";
return (cont || el).style.height = (+$.minmax(e.data.height, 250, 0.8 * doc.clientHeight)) + "px";
}
};
$.on(window, 'message', onMessage);
el.src = "https://twitframe.com/show?url=https://twitter.com/" + a.dataset.uid;
if ($.engine === 'gecko') {
el.style.cssText = 'border: none; width: 100%; height: 100%;';
cont = $.el('div');
$.add(cont, el);
return cont;
} else {
return el;
}
}
}, {
key: 'Vimeo',
regExp: /^\w+:\/\/(?:www\.)?vimeo\.com\/(\d+)/,

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

View File

@ -1,4 +1,4 @@
{
"version": "1.13.12.1",
"date": "2017-09-29T00:42:32.947Z"
"version": "1.13.12.2",
"date": "2017-10-02T09:25:12.009Z"
}