diff --git a/CHANGELOG.md b/CHANGELOG.md
index c95b62af9..4ed81ce56 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@
### 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)]
- 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.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index b2cc2195b..39206fa40 100644
Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ
diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js
index 7daf7eb41..2b77e6aa9 100644
--- a/builds/4chan-X-beta.meta.js
+++ b/builds/4chan-X-beta.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.13.1.10
+// @version 1.13.1.11
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js
index 8016fa070..30c2ed71b 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.13.1.10
+// @version 1.13.1.11
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.13.1.10',
+ VERSION: '1.13.1.11',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -9294,7 +9294,6 @@ Index = (function() {
if (!Conf['JSON Index']) {
return;
}
- this.enabled = true;
Callbacks.Post.push({
name: 'Index Page Numbers',
cb: this.node
@@ -14067,9 +14066,6 @@ Embedding = (function() {
embed.dataset[name] = value;
}
$.on(embed, 'click', Embedding.cb.click);
- if (Index.enabled) {
- $.on(d, 'IndexRefreshInternal', Embedding.cb.catalogRemove.bind(embed));
- }
$.after(link, [$.tn(' '), embed]);
if (Conf['Auto-embed'] && !Conf['Floating Embeds'] && !post.isFetchedQuote) {
autoEmbed = function() {
@@ -14203,14 +14199,6 @@ Embedding = (function() {
el.style.cssText = type.style != null ? type.style : 'border: none; width: 640px; height: 360px;';
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) {
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;
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 2f61e8d88..27ff6340b 100644
Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ
diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js
index 3707ee70f..96e759f4f 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.13.1.10
+// @version 1.13.1.11
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.13.1.10',
+ VERSION: '1.13.1.11',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -9294,7 +9294,6 @@ Index = (function() {
if (!Conf['JSON Index']) {
return;
}
- this.enabled = true;
Callbacks.Post.push({
name: 'Index Page Numbers',
cb: this.node
@@ -14067,9 +14066,6 @@ Embedding = (function() {
embed.dataset[name] = value;
}
$.on(embed, 'click', Embedding.cb.click);
- if (Index.enabled) {
- $.on(d, 'IndexRefreshInternal', Embedding.cb.catalogRemove.bind(embed));
- }
$.after(link, [$.tn(' '), embed]);
if (Conf['Auto-embed'] && !Conf['Floating Embeds'] && !post.isFetchedQuote) {
autoEmbed = function() {
@@ -14203,14 +14199,6 @@ Embedding = (function() {
el.style.cssText = type.style != null ? type.style : 'border: none; width: 640px; height: 360px;';
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) {
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;
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 496975c1f..bceef50f3 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index e7d591e31..ba3333405 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.13.1.10
+// @version 1.13.1.11
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index eabc06c33..5270471ba 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.13.1.10
+// @version 1.13.1.11
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.13.1.10',
+ VERSION: '1.13.1.11',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -9294,7 +9294,6 @@ Index = (function() {
if (!Conf['JSON Index']) {
return;
}
- this.enabled = true;
Callbacks.Post.push({
name: 'Index Page Numbers',
cb: this.node
@@ -14067,9 +14066,6 @@ Embedding = (function() {
embed.dataset[name] = value;
}
$.on(embed, 'click', Embedding.cb.click);
- if (Index.enabled) {
- $.on(d, 'IndexRefreshInternal', Embedding.cb.catalogRemove.bind(embed));
- }
$.after(link, [$.tn(' '), embed]);
if (Conf['Auto-embed'] && !Conf['Floating Embeds'] && !post.isFetchedQuote) {
autoEmbed = function() {
@@ -14203,14 +14199,6 @@ Embedding = (function() {
el.style.cssText = type.style != null ? type.style : 'border: none; width: 640px; height: 360px;';
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) {
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;
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 990dc3a65..cc7258bb5 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index 9139824d2..1050a151e 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.xml b/builds/updates.xml
index 8867eb44d..955cba155 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index 3682ef288..ed1080dbb 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.13.1.10",
- "date": "2016-11-26T10:08:53.260Z"
+ "version": "1.13.1.11",
+ "date": "2016-11-26T10:56:59.519Z"
}
\ No newline at end of file