diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3daacbe7f..c95b62af9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,11 @@
### v1.13.1
+**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.
+- Include Yandex in default sauce links.
+
**v1.13.1.9** *(2016-11-20)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.1.9/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.1.9/builds/4chan-X-noupdate.crx)]
- Change replies-quoting-you exclamation mark from red to green on dead-thread icon in 4chanJS set.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 181966d4a..b2cc2195b 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 97a6df5fc..7daf7eb41 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.9
+// @version 1.13.1.10
// @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 843d88e2a..8016fa070 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.9
+// @version 1.13.1.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.13.1.9',
+ VERSION: '1.13.1.10',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -375,7 +375,7 @@ Config = (function() {
filesize: '',
MD5: ''
},
- sauces: "# Reverse image search:\nhttps://www.google.com/searchbyimage?image_url=%IMG&safe=off\n#https://www.yandex.com/images/search?rpt=imageview&img_url=%IMG\n#//tineye.com/search?url=%IMG\n#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights\n\n# Specialized reverse image search:\n//iqdb.org/?url=%IMG\nhttps://whatanime.ga/?auto&url=%IMG;text:wait\n#//3d.iqdb.org/?url=%IMG\n#//saucenao.com/search.php?url=%IMG\n\n# \"View Same\" in archives:\nhttp://eye.swfchan.com/search/?q=%name;types:swf\n#https://desuarchive.org/_/search/image/%sMD5/\n#https://archive.4plebs.org/_/search/image/%sMD5/\n#https://boards.fireden.net/_/search/image/%sMD5/\n#https://foolz.fireden.net/_/search/image/%sMD5/\n\n# Other tools:\n#http://regex.info/exif.cgi?imgurl=%URL\n#//imgops.com/%URL;types:gif,jpg,png\n#//www.gif-explode.com/%URL;types:gif",
+ sauces: "# Reverse image search:\nhttps://www.google.com/searchbyimage?image_url=%IMG&safe=off\nhttps://www.yandex.com/images/search?rpt=imageview&img_url=%IMG\n#//tineye.com/search?url=%IMG\n#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights\n\n# Specialized reverse image search:\n//iqdb.org/?url=%IMG\nhttps://whatanime.ga/?auto&url=%IMG;text:wait\n#//3d.iqdb.org/?url=%IMG\n#//saucenao.com/search.php?url=%IMG\n\n# \"View Same\" in archives:\nhttp://eye.swfchan.com/search/?q=%name;types:swf\n#https://desuarchive.org/_/search/image/%sMD5/\n#https://archive.4plebs.org/_/search/image/%sMD5/\n#https://boards.fireden.net/_/search/image/%sMD5/\n#https://foolz.fireden.net/_/search/image/%sMD5/\n\n# Other tools:\n#http://regex.info/exif.cgi?imgurl=%URL\n#//imgops.com/%URL;types:gif,jpg,png\n#//www.gif-explode.com/%URL;types:gif",
FappeT: {
werk: false
},
@@ -9294,6 +9294,7 @@ Index = (function() {
if (!Conf['JSON Index']) {
return;
}
+ this.enabled = true;
Callbacks.Post.push({
name: 'Index Page Numbers',
cb: this.node
@@ -14066,6 +14067,9 @@ 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() {
@@ -14074,7 +14078,8 @@ Embedding = (function() {
return Embedding.cb.toggle.call(embed);
}
};
- return $.on(d, 'PostsInserted', autoEmbed);
+ $.on(d, 'PostsInserted', autoEmbed);
+ return autoEmbed();
}
},
ready: function() {
@@ -14198,6 +14203,14 @@ 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 fa89416d7..2f61e8d88 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 f14a5aeea..3707ee70f 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.9
+// @version 1.13.1.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.13.1.9',
+ VERSION: '1.13.1.10',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -375,7 +375,7 @@ Config = (function() {
filesize: '',
MD5: ''
},
- sauces: "# Reverse image search:\nhttps://www.google.com/searchbyimage?image_url=%IMG&safe=off\n#https://www.yandex.com/images/search?rpt=imageview&img_url=%IMG\n#//tineye.com/search?url=%IMG\n#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights\n\n# Specialized reverse image search:\n//iqdb.org/?url=%IMG\nhttps://whatanime.ga/?auto&url=%IMG;text:wait\n#//3d.iqdb.org/?url=%IMG\n#//saucenao.com/search.php?url=%IMG\n\n# \"View Same\" in archives:\nhttp://eye.swfchan.com/search/?q=%name;types:swf\n#https://desuarchive.org/_/search/image/%sMD5/\n#https://archive.4plebs.org/_/search/image/%sMD5/\n#https://boards.fireden.net/_/search/image/%sMD5/\n#https://foolz.fireden.net/_/search/image/%sMD5/\n\n# Other tools:\n#http://regex.info/exif.cgi?imgurl=%URL\n#//imgops.com/%URL;types:gif,jpg,png\n#//www.gif-explode.com/%URL;types:gif",
+ sauces: "# Reverse image search:\nhttps://www.google.com/searchbyimage?image_url=%IMG&safe=off\nhttps://www.yandex.com/images/search?rpt=imageview&img_url=%IMG\n#//tineye.com/search?url=%IMG\n#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights\n\n# Specialized reverse image search:\n//iqdb.org/?url=%IMG\nhttps://whatanime.ga/?auto&url=%IMG;text:wait\n#//3d.iqdb.org/?url=%IMG\n#//saucenao.com/search.php?url=%IMG\n\n# \"View Same\" in archives:\nhttp://eye.swfchan.com/search/?q=%name;types:swf\n#https://desuarchive.org/_/search/image/%sMD5/\n#https://archive.4plebs.org/_/search/image/%sMD5/\n#https://boards.fireden.net/_/search/image/%sMD5/\n#https://foolz.fireden.net/_/search/image/%sMD5/\n\n# Other tools:\n#http://regex.info/exif.cgi?imgurl=%URL\n#//imgops.com/%URL;types:gif,jpg,png\n#//www.gif-explode.com/%URL;types:gif",
FappeT: {
werk: false
},
@@ -9294,6 +9294,7 @@ Index = (function() {
if (!Conf['JSON Index']) {
return;
}
+ this.enabled = true;
Callbacks.Post.push({
name: 'Index Page Numbers',
cb: this.node
@@ -14066,6 +14067,9 @@ 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() {
@@ -14074,7 +14078,8 @@ Embedding = (function() {
return Embedding.cb.toggle.call(embed);
}
};
- return $.on(d, 'PostsInserted', autoEmbed);
+ $.on(d, 'PostsInserted', autoEmbed);
+ return autoEmbed();
}
},
ready: function() {
@@ -14198,6 +14203,14 @@ 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 e534adad9..496975c1f 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 a5541ca08..e7d591e31 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.9
+// @version 1.13.1.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index ca8eeff2a..eabc06c33 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.9
+// @version 1.13.1.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.13.1.9',
+ VERSION: '1.13.1.10',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -375,7 +375,7 @@ Config = (function() {
filesize: '',
MD5: ''
},
- sauces: "# Reverse image search:\nhttps://www.google.com/searchbyimage?image_url=%IMG&safe=off\n#https://www.yandex.com/images/search?rpt=imageview&img_url=%IMG\n#//tineye.com/search?url=%IMG\n#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights\n\n# Specialized reverse image search:\n//iqdb.org/?url=%IMG\nhttps://whatanime.ga/?auto&url=%IMG;text:wait\n#//3d.iqdb.org/?url=%IMG\n#//saucenao.com/search.php?url=%IMG\n\n# \"View Same\" in archives:\nhttp://eye.swfchan.com/search/?q=%name;types:swf\n#https://desuarchive.org/_/search/image/%sMD5/\n#https://archive.4plebs.org/_/search/image/%sMD5/\n#https://boards.fireden.net/_/search/image/%sMD5/\n#https://foolz.fireden.net/_/search/image/%sMD5/\n\n# Other tools:\n#http://regex.info/exif.cgi?imgurl=%URL\n#//imgops.com/%URL;types:gif,jpg,png\n#//www.gif-explode.com/%URL;types:gif",
+ sauces: "# Reverse image search:\nhttps://www.google.com/searchbyimage?image_url=%IMG&safe=off\nhttps://www.yandex.com/images/search?rpt=imageview&img_url=%IMG\n#//tineye.com/search?url=%IMG\n#//www.bing.com/images/search?q=imgurl:%IMG&view=detailv2&iss=sbi#enterInsights\n\n# Specialized reverse image search:\n//iqdb.org/?url=%IMG\nhttps://whatanime.ga/?auto&url=%IMG;text:wait\n#//3d.iqdb.org/?url=%IMG\n#//saucenao.com/search.php?url=%IMG\n\n# \"View Same\" in archives:\nhttp://eye.swfchan.com/search/?q=%name;types:swf\n#https://desuarchive.org/_/search/image/%sMD5/\n#https://archive.4plebs.org/_/search/image/%sMD5/\n#https://boards.fireden.net/_/search/image/%sMD5/\n#https://foolz.fireden.net/_/search/image/%sMD5/\n\n# Other tools:\n#http://regex.info/exif.cgi?imgurl=%URL\n#//imgops.com/%URL;types:gif,jpg,png\n#//www.gif-explode.com/%URL;types:gif",
FappeT: {
werk: false
},
@@ -9294,6 +9294,7 @@ Index = (function() {
if (!Conf['JSON Index']) {
return;
}
+ this.enabled = true;
Callbacks.Post.push({
name: 'Index Page Numbers',
cb: this.node
@@ -14066,6 +14067,9 @@ 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() {
@@ -14074,7 +14078,8 @@ Embedding = (function() {
return Embedding.cb.toggle.call(embed);
}
};
- return $.on(d, 'PostsInserted', autoEmbed);
+ $.on(d, 'PostsInserted', autoEmbed);
+ return autoEmbed();
}
},
ready: function() {
@@ -14198,6 +14203,14 @@ 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 0ef0b97ce..990dc3a65 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 507c41ed1..9139824d2 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 3dbdf1987..8867eb44d 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index bc0aea75d..3682ef288 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.13.1.9",
- "date": "2016-11-20T01:13:25.543Z"
+ "version": "1.13.1.10",
+ "date": "2016-11-26T10:08:53.260Z"
}
\ No newline at end of file