diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5280e19ca..c60d30179 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@
### v1.14.16
+**v1.14.16.4** *(2020-02-05)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.16.4/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.16.4/builds/4chan-X-noupdate.crx)]
+- Fix for unclosed link in https://sushigirl.us/ announcement.
+
**v1.14.16.3** *(2020-01-21)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.16.3/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.16.3/builds/4chan-X-noupdate.crx)]
- Update Vocaroo embedding. #2528
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index baa5f204f..d84f6a6e0 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 3e428d358..1ddb95ab3 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.14.16.3
+// @version 1.14.16.4
// @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 554f9bfac..86d3f80e8 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.14.16.3
+// @version 1.14.16.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -214,7 +214,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.16.3',
+ VERSION: '1.14.16.4',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -7951,6 +7951,12 @@ SW = {};
isFileURL: function(url) {
return /\/src\/[^\/]+/.test(url.pathname);
},
+ preParsingFixes: function(board) {
+ var broken;
+ if ((broken = $('a > input[name="board"]', board))) {
+ return $.before(broken.parentNode, broken);
+ }
+ },
parseNodes: function(post, nodes) {
var m, nextSibling, uniqueID;
if (nodes.uniqueID) {
@@ -27757,12 +27763,17 @@ Main = (function() {
}
},
initThread: function() {
- var base, board, errors, posts, s, threads;
+ var base, base1, board, errors, posts, s, threads;
s = g.SITE.selectors;
if ((board = $(s.board))) {
threads = [];
posts = [];
errors = [];
+ try {
+ if (typeof (base = g.SITE).preParsingFixes === "function") {
+ base.preParsingFixes(board);
+ }
+ } catch (error1) {}
Main.addThreadsObserver = new MutationObserver(Main.addThreads);
Main.addPostsObserver = new MutationObserver(Main.addPosts);
Main.addThreadsObserver.observe(board, {
@@ -27777,8 +27788,8 @@ Main = (function() {
threads[0].isArchived = true;
threads[0].kill();
}
- if (typeof (base = g.SITE).parseThreadMetadata === "function") {
- base.parseThreadMetadata(threads[0]);
+ if (typeof (base1 = g.SITE).parseThreadMetadata === "function") {
+ base1.parseThreadMetadata(threads[0]);
}
}
Main.callbackNodes('Thread', threads);
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index bc09a117e..1b629b5c5 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 0599522b9..c092cbc3a 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.14.16.3
+// @version 1.14.16.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -214,7 +214,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.16.3',
+ VERSION: '1.14.16.4',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -7951,6 +7951,12 @@ SW = {};
isFileURL: function(url) {
return /\/src\/[^\/]+/.test(url.pathname);
},
+ preParsingFixes: function(board) {
+ var broken;
+ if ((broken = $('a > input[name="board"]', board))) {
+ return $.before(broken.parentNode, broken);
+ }
+ },
parseNodes: function(post, nodes) {
var m, nextSibling, uniqueID;
if (nodes.uniqueID) {
@@ -27757,12 +27763,17 @@ Main = (function() {
}
},
initThread: function() {
- var base, board, errors, posts, s, threads;
+ var base, base1, board, errors, posts, s, threads;
s = g.SITE.selectors;
if ((board = $(s.board))) {
threads = [];
posts = [];
errors = [];
+ try {
+ if (typeof (base = g.SITE).preParsingFixes === "function") {
+ base.preParsingFixes(board);
+ }
+ } catch (error1) {}
Main.addThreadsObserver = new MutationObserver(Main.addThreads);
Main.addPostsObserver = new MutationObserver(Main.addPosts);
Main.addThreadsObserver.observe(board, {
@@ -27777,8 +27788,8 @@ Main = (function() {
threads[0].isArchived = true;
threads[0].kill();
}
- if (typeof (base = g.SITE).parseThreadMetadata === "function") {
- base.parseThreadMetadata(threads[0]);
+ if (typeof (base1 = g.SITE).parseThreadMetadata === "function") {
+ base1.parseThreadMetadata(threads[0]);
}
}
Main.callbackNodes('Thread', threads);
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 39728123d..6933d6104 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 e84df06ee..99c417bee 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.16.3
+// @version 1.14.16.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index d74db7d25..936367c36 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.16.3
+// @version 1.14.16.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -214,7 +214,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.16.3',
+ VERSION: '1.14.16.4',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -7951,6 +7951,12 @@ SW = {};
isFileURL: function(url) {
return /\/src\/[^\/]+/.test(url.pathname);
},
+ preParsingFixes: function(board) {
+ var broken;
+ if ((broken = $('a > input[name="board"]', board))) {
+ return $.before(broken.parentNode, broken);
+ }
+ },
parseNodes: function(post, nodes) {
var m, nextSibling, uniqueID;
if (nodes.uniqueID) {
@@ -27757,12 +27763,17 @@ Main = (function() {
}
},
initThread: function() {
- var base, board, errors, posts, s, threads;
+ var base, base1, board, errors, posts, s, threads;
s = g.SITE.selectors;
if ((board = $(s.board))) {
threads = [];
posts = [];
errors = [];
+ try {
+ if (typeof (base = g.SITE).preParsingFixes === "function") {
+ base.preParsingFixes(board);
+ }
+ } catch (error1) {}
Main.addThreadsObserver = new MutationObserver(Main.addThreads);
Main.addPostsObserver = new MutationObserver(Main.addPosts);
Main.addThreadsObserver.observe(board, {
@@ -27777,8 +27788,8 @@ Main = (function() {
threads[0].isArchived = true;
threads[0].kill();
}
- if (typeof (base = g.SITE).parseThreadMetadata === "function") {
- base.parseThreadMetadata(threads[0]);
+ if (typeof (base1 = g.SITE).parseThreadMetadata === "function") {
+ base1.parseThreadMetadata(threads[0]);
}
}
Main.callbackNodes('Thread', threads);
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 877a2f998..cc8ca7e17 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.json b/builds/updates-beta.json
index db27d9181..91b5ccb22 100644
--- a/builds/updates-beta.json
+++ b/builds/updates-beta.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.16.3",
+ "version": "1.14.16.4",
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
}
]
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index bbb5b1178..8976cd85d 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.json b/builds/updates.json
index 3a163f2d9..8a24f06d3 100644
--- a/builds/updates.json
+++ b/builds/updates.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.16.3",
+ "version": "1.14.16.4",
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
}
]
diff --git a/builds/updates.xml b/builds/updates.xml
index 8fd8ae849..01694bc84 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index 876c4b3ee..b2f4a1259 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.14.16.3",
- "date": "2020-01-21T08:19:41.656Z"
+ "version": "1.14.16.4",
+ "date": "2020-02-05T06:41:46.412Z"
}
\ No newline at end of file