diff --git a/CHANGELOG.md b/CHANGELOG.md
index a0d20dc0b..bfa7c9474 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@
### v1.14.5
+**v1.14.5.7** *(2019-01-06)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.7/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.7/builds/4chan-X-noupdate.crx)]
+- Work when site uses extensions for pages other than .html
+
**v1.14.5.6** *(2018-12-16)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.6/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.5.6/builds/4chan-X-noupdate.crx)]
- Fix bug causing Last Index Refresh time to not update with passing time until index/catalog reloaded.
- Treat .bmp files as images.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index b99911659..79a19ec70 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 28b6d70c3..a0c36daca 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.5.6
+// @version 1.14.5.7
// @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 3dfdfebcf..508fec35d 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.5.6
+// @version 1.14.5.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -198,7 +198,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.5.6',
+ VERSION: '1.14.5.7',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -25370,10 +25370,10 @@ Main = (function() {
}
if ((ref = pathname[2]) === 'thread' || ref === 'res') {
g.VIEW = 'thread';
- g.THREADID = +pathname[3].replace('.html', '');
- } else if (/^(?:catalog|archive)(?:\.html)?$/.test(pathname[2])) {
- g.VIEW = pathname[2].replace('.html', '');
- } else if (/^(?:index|\d*)(?:\.html)?$/.test(pathname[2])) {
+ g.THREADID = +pathname[3].replace(/\.\w+$/, '');
+ } else if (/^(?:catalog|archive)(?:\.\w+)?$/.test(pathname[2])) {
+ g.VIEW = pathname[2].replace(/\.\w+$/, '');
+ } else if (/^(?:index|\d*)(?:\.\w+)?$/.test(pathname[2])) {
g.VIEW = 'index';
} else {
return;
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 16705945b..3ca4b2009 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 1becbdfec..cf668926b 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.5.6
+// @version 1.14.5.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -198,7 +198,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.5.6',
+ VERSION: '1.14.5.7',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -25370,10 +25370,10 @@ Main = (function() {
}
if ((ref = pathname[2]) === 'thread' || ref === 'res') {
g.VIEW = 'thread';
- g.THREADID = +pathname[3].replace('.html', '');
- } else if (/^(?:catalog|archive)(?:\.html)?$/.test(pathname[2])) {
- g.VIEW = pathname[2].replace('.html', '');
- } else if (/^(?:index|\d*)(?:\.html)?$/.test(pathname[2])) {
+ g.THREADID = +pathname[3].replace(/\.\w+$/, '');
+ } else if (/^(?:catalog|archive)(?:\.\w+)?$/.test(pathname[2])) {
+ g.VIEW = pathname[2].replace(/\.\w+$/, '');
+ } else if (/^(?:index|\d*)(?:\.\w+)?$/.test(pathname[2])) {
g.VIEW = 'index';
} else {
return;
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index e205b3378..97e21315c 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 123b4b40e..4b859b93c 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.5.6
+// @version 1.14.5.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index acceb6a5c..608408c38 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.5.6
+// @version 1.14.5.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -198,7 +198,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.5.6',
+ VERSION: '1.14.5.7',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -25370,10 +25370,10 @@ Main = (function() {
}
if ((ref = pathname[2]) === 'thread' || ref === 'res') {
g.VIEW = 'thread';
- g.THREADID = +pathname[3].replace('.html', '');
- } else if (/^(?:catalog|archive)(?:\.html)?$/.test(pathname[2])) {
- g.VIEW = pathname[2].replace('.html', '');
- } else if (/^(?:index|\d*)(?:\.html)?$/.test(pathname[2])) {
+ g.THREADID = +pathname[3].replace(/\.\w+$/, '');
+ } else if (/^(?:catalog|archive)(?:\.\w+)?$/.test(pathname[2])) {
+ g.VIEW = pathname[2].replace(/\.\w+$/, '');
+ } else if (/^(?:index|\d*)(?:\.\w+)?$/.test(pathname[2])) {
g.VIEW = 'index';
} else {
return;
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index f620fc73c..fe5b01706 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 f7bdef2be..cc9dc8e1c 100644
--- a/builds/updates-beta.json
+++ b/builds/updates-beta.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.5.6",
+ "version": "1.14.5.7",
"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 ecf37c394..318a22018 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 734dc80c0..e8c3408db 100644
--- a/builds/updates.json
+++ b/builds/updates.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.5.6",
+ "version": "1.14.5.7",
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
}
]
diff --git a/builds/updates.xml b/builds/updates.xml
index 7d0f770b9..a476bda14 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index 3ce31cabd..616ec8a94 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.14.5.6",
- "date": "2018-12-16T04:58:51.703Z"
+ "version": "1.14.5.7",
+ "date": "2019-01-06T10:39:52.004Z"
}
\ No newline at end of file