Release 4chan X v1.13.1.11.

This commit is contained in:
ccd0 2016-11-26 02:59:41 -08:00
parent c2560fe1f1
commit 21fc243c6d
13 changed files with 15 additions and 48 deletions

View File

@ -4,6 +4,9 @@
### v1.13.1 ### v1.13.1
**v1.13.1.11** *(2016-11-26)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.1.11/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.1.11/builds/4chan-X-noupdate.crx)]
- Revert performance issue fix from v1.13.1.10 as it may cause more issues than it solves.
**v1.13.1.10** *(2016-11-26)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.1.10/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.1.10/builds/4chan-X-noupdate.crx)] **v1.13.1.10** *(2016-11-26)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.1.10/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.1.10/builds/4chan-X-noupdate.crx)]
- Fix bug from v1.13.0.0 causing `Auto-embed` to sometimes not work. - Fix bug from v1.13.0.0 causing `Auto-embed` to sometimes not work.
- Fix performance issue from v1.13.0.0 due to all link embeds in OPs being reloaded upon switching to catalog mode. - Fix performance issue from v1.13.0.0 due to all link embeds in OPs being reloaded upon switching to catalog mode.

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.1.10 // @version 1.13.1.11
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -147,7 +147,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.1.10', VERSION: '1.13.1.11',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -9294,7 +9294,6 @@ Index = (function() {
if (!Conf['JSON Index']) { if (!Conf['JSON Index']) {
return; return;
} }
this.enabled = true;
Callbacks.Post.push({ Callbacks.Post.push({
name: 'Index Page Numbers', name: 'Index Page Numbers',
cb: this.node cb: this.node
@ -14067,9 +14066,6 @@ Embedding = (function() {
embed.dataset[name] = value; embed.dataset[name] = value;
} }
$.on(embed, 'click', Embedding.cb.click); $.on(embed, 'click', Embedding.cb.click);
if (Index.enabled) {
$.on(d, 'IndexRefreshInternal', Embedding.cb.catalogRemove.bind(embed));
}
$.after(link, [$.tn(' '), embed]); $.after(link, [$.tn(' '), embed]);
if (Conf['Auto-embed'] && !Conf['Floating Embeds'] && !post.isFetchedQuote) { if (Conf['Auto-embed'] && !Conf['Floating Embeds'] && !post.isFetchedQuote) {
autoEmbed = function() { autoEmbed = function() {
@ -14203,14 +14199,6 @@ Embedding = (function() {
el.style.cssText = type.style != null ? type.style : 'border: none; width: 640px; height: 360px;'; el.style.cssText = type.style != null ? type.style : 'border: none; width: 640px; height: 360px;';
return container; return container;
}, },
catalogRemove: function() {
var isCatalog;
isCatalog = $.hasClass(doc, 'catalog-mode');
if ((isCatalog && $.hasClass(this, 'embedded')) || (!isCatalog && $.hasClass(this, 'embed-removed'))) {
Embedding.cb.toggle.call(this);
return $.toggleClass(this, 'embed-removed');
}
},
title: function(req, data) { title: function(req, data) {
var base1, j, k, key, len, len1, link, link2, options, post, post2, ref, ref1, service, status, text, uid; var base1, j, k, key, len, len1, link, link2, options, post, post2, ref, ref1, service, status, text, uid;
key = data.key, uid = data.uid, options = data.options, link = data.link, post = data.post; key = data.key, uid = data.uid, options = data.options, link = data.link, post = data.post;

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.1.10 // @version 1.13.1.11
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -147,7 +147,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.1.10', VERSION: '1.13.1.11',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -9294,7 +9294,6 @@ Index = (function() {
if (!Conf['JSON Index']) { if (!Conf['JSON Index']) {
return; return;
} }
this.enabled = true;
Callbacks.Post.push({ Callbacks.Post.push({
name: 'Index Page Numbers', name: 'Index Page Numbers',
cb: this.node cb: this.node
@ -14067,9 +14066,6 @@ Embedding = (function() {
embed.dataset[name] = value; embed.dataset[name] = value;
} }
$.on(embed, 'click', Embedding.cb.click); $.on(embed, 'click', Embedding.cb.click);
if (Index.enabled) {
$.on(d, 'IndexRefreshInternal', Embedding.cb.catalogRemove.bind(embed));
}
$.after(link, [$.tn(' '), embed]); $.after(link, [$.tn(' '), embed]);
if (Conf['Auto-embed'] && !Conf['Floating Embeds'] && !post.isFetchedQuote) { if (Conf['Auto-embed'] && !Conf['Floating Embeds'] && !post.isFetchedQuote) {
autoEmbed = function() { autoEmbed = function() {
@ -14203,14 +14199,6 @@ Embedding = (function() {
el.style.cssText = type.style != null ? type.style : 'border: none; width: 640px; height: 360px;'; el.style.cssText = type.style != null ? type.style : 'border: none; width: 640px; height: 360px;';
return container; return container;
}, },
catalogRemove: function() {
var isCatalog;
isCatalog = $.hasClass(doc, 'catalog-mode');
if ((isCatalog && $.hasClass(this, 'embedded')) || (!isCatalog && $.hasClass(this, 'embed-removed'))) {
Embedding.cb.toggle.call(this);
return $.toggleClass(this, 'embed-removed');
}
},
title: function(req, data) { title: function(req, data) {
var base1, j, k, key, len, len1, link, link2, options, post, post2, ref, ref1, service, status, text, uid; var base1, j, k, key, len, len1, link, link2, options, post, post2, ref, ref1, service, status, text, uid;
key = data.key, uid = data.uid, options = data.options, link = data.link, post = data.post; key = data.key, uid = data.uid, options = data.options, link = data.link, post = data.post;

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.1.10 // @version 1.13.1.11
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -147,7 +147,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.1.10', VERSION: '1.13.1.11',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -9294,7 +9294,6 @@ Index = (function() {
if (!Conf['JSON Index']) { if (!Conf['JSON Index']) {
return; return;
} }
this.enabled = true;
Callbacks.Post.push({ Callbacks.Post.push({
name: 'Index Page Numbers', name: 'Index Page Numbers',
cb: this.node cb: this.node
@ -14067,9 +14066,6 @@ Embedding = (function() {
embed.dataset[name] = value; embed.dataset[name] = value;
} }
$.on(embed, 'click', Embedding.cb.click); $.on(embed, 'click', Embedding.cb.click);
if (Index.enabled) {
$.on(d, 'IndexRefreshInternal', Embedding.cb.catalogRemove.bind(embed));
}
$.after(link, [$.tn(' '), embed]); $.after(link, [$.tn(' '), embed]);
if (Conf['Auto-embed'] && !Conf['Floating Embeds'] && !post.isFetchedQuote) { if (Conf['Auto-embed'] && !Conf['Floating Embeds'] && !post.isFetchedQuote) {
autoEmbed = function() { autoEmbed = function() {
@ -14203,14 +14199,6 @@ Embedding = (function() {
el.style.cssText = type.style != null ? type.style : 'border: none; width: 640px; height: 360px;'; el.style.cssText = type.style != null ? type.style : 'border: none; width: 640px; height: 360px;';
return container; return container;
}, },
catalogRemove: function() {
var isCatalog;
isCatalog = $.hasClass(doc, 'catalog-mode');
if ((isCatalog && $.hasClass(this, 'embedded')) || (!isCatalog && $.hasClass(this, 'embed-removed'))) {
Embedding.cb.toggle.call(this);
return $.toggleClass(this, 'embed-removed');
}
},
title: function(req, data) { title: function(req, data) {
var base1, j, k, key, len, len1, link, link2, options, post, post2, ref, ref1, service, status, text, uid; var base1, j, k, key, len, len1, link, link2, options, post, post2, ref, ref1, service, status, text, uid;
key = data.key, uid = data.uid, options = data.options, link = data.link, post = data.post; key = data.key, uid = data.uid, options = data.options, link = data.link, post = data.post;

Binary file not shown.

View File

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

View File

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

View File

@ -1,4 +1,4 @@
{ {
"version": "1.13.1.10", "version": "1.13.1.11",
"date": "2016-11-26T10:08:53.260Z" "date": "2016-11-26T10:56:59.519Z"
} }