Release 4chan X v1.14.0.1.
This commit is contained in:
parent
2249da91e8
commit
47ada2cde4
@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
## v1.14.0
|
## v1.14.0
|
||||||
|
|
||||||
|
**v1.14.0.1** *(2018-01-24)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.1/builds/4chan-X-noupdate.crx)]
|
||||||
|
- Fix custom navigation bug from v1.14.0.0 #1774 and older issues #384, #642.
|
||||||
|
|
||||||
**v1.14.0.0** *(2018-01-24)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.0/builds/4chan-X-noupdate.crx)]
|
**v1.14.0.0** *(2018-01-24)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.0/builds/4chan-X-noupdate.crx)]
|
||||||
- Based on v1.13.15.5.
|
- Based on v1.13.15.5.
|
||||||
- Preliminary support for Tinyboard / vichan based imageboards. Only a subset of features are working. To use 4chan X on a site, use the userscript version of 4chan X and add the site the user `@match` rules. In the instructions below, replace "examplechan.com" with the site you want to add:
|
- Preliminary support for Tinyboard / vichan based imageboards. Only a subset of features are working. To use 4chan X on a site, use the userscript version of 4chan X and add the site the user `@match` rules. In the instructions below, replace "examplechan.com" with the site you want to add:
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.14.0.0
|
// @version 1.14.0.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.14.0.0
|
// @version 1.14.0.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -157,7 +157,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.14.0.0',
|
VERSION: '1.14.0.1',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -8892,6 +8892,10 @@ BoardConfig = (function() {
|
|||||||
}
|
}
|
||||||
boards = this.boards || Conf['boardConfig'].boards;
|
boards = this.boards || Conf['boardConfig'].boards;
|
||||||
return boards && !boards[boardID].webm_audio;
|
return boards && !boards[boardID].webm_audio;
|
||||||
|
},
|
||||||
|
title: function(boardID) {
|
||||||
|
var ref, ref1;
|
||||||
|
return ((ref = this.boards || Conf['boardConfig'].boards) != null ? (ref1 = ref[boardID]) != null ? ref1.title : void 0 : void 0) || '';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -9522,14 +9526,13 @@ Header = (function() {
|
|||||||
return CatalogLinks.setLinks(fullBoardList);
|
return CatalogLinks.setLinks(fullBoardList);
|
||||||
},
|
},
|
||||||
generateBoardList: function(boardnav) {
|
generateBoardList: function(boardnav) {
|
||||||
var as, list, nodes, re, t;
|
var list, nodes, re, t;
|
||||||
list = $('#custom-board-list', Header.boardList);
|
list = $('#custom-board-list', Header.boardList);
|
||||||
$.rmAll(list);
|
$.rmAll(list);
|
||||||
if (!boardnav) {
|
if (!boardnav) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
||||||
as = $$('#full-board-list a[title]', Header.boardList);
|
|
||||||
re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
|
re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
|
||||||
nodes = (function() {
|
nodes = (function() {
|
||||||
var j, len, ref, results;
|
var j, len, ref, results;
|
||||||
@ -9537,14 +9540,14 @@ Header = (function() {
|
|||||||
results = [];
|
results = [];
|
||||||
for (j = 0, len = ref.length; j < len; j++) {
|
for (j = 0, len = ref.length; j < len; j++) {
|
||||||
t = ref[j];
|
t = ref[j];
|
||||||
results.push(Header.mapCustomNavigation(t, as));
|
results.push(Header.mapCustomNavigation(t));
|
||||||
}
|
}
|
||||||
return results;
|
return results;
|
||||||
})();
|
})();
|
||||||
$.add(list, nodes);
|
$.add(list, nodes);
|
||||||
return CatalogLinks.setLinks(list);
|
return CatalogLinks.setLinks(list);
|
||||||
},
|
},
|
||||||
mapCustomNavigation: function(t, as) {
|
mapCustomNavigation: function(t) {
|
||||||
var a, boardID, href, indexOptions, m, text, url;
|
var a, boardID, href, indexOptions, m, text, url;
|
||||||
if (/^[^\w@]/.test(t)) {
|
if (/^[^\w@]/.test(t)) {
|
||||||
return $.tn(t);
|
return $.tn(t);
|
||||||
@ -9595,7 +9598,7 @@ Header = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
a = (function() {
|
a = (function() {
|
||||||
var j, len, ref;
|
var ref;
|
||||||
if (boardID === '@') {
|
if (boardID === '@') {
|
||||||
return $.el('a', {
|
return $.el('a', {
|
||||||
href: 'https://twitter.com/4chan',
|
href: 'https://twitter.com/4chan',
|
||||||
@ -9603,15 +9606,10 @@ Header = (function() {
|
|||||||
textContent: '@'
|
textContent: '@'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
for (j = 0, len = as.length; j < len; j++) {
|
|
||||||
a = as[j];
|
|
||||||
if (a.textContent === boardID) {
|
|
||||||
return a.cloneNode(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: "//boards.4chan.org/" + boardID + "/",
|
href: "//boards.4chan.org/" + boardID + "/",
|
||||||
textContent: boardID
|
textContent: boardID,
|
||||||
|
title: BoardConfig.title(boardID)
|
||||||
});
|
});
|
||||||
if ((ref = g.VIEW) === 'catalog' || ref === 'archive') {
|
if ((ref = g.VIEW) === 'catalog' || ref === 'archive') {
|
||||||
a.href += g.VIEW;
|
a.href += g.VIEW;
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.14.0.0
|
// @version 1.14.0.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -157,7 +157,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.14.0.0',
|
VERSION: '1.14.0.1',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -8892,6 +8892,10 @@ BoardConfig = (function() {
|
|||||||
}
|
}
|
||||||
boards = this.boards || Conf['boardConfig'].boards;
|
boards = this.boards || Conf['boardConfig'].boards;
|
||||||
return boards && !boards[boardID].webm_audio;
|
return boards && !boards[boardID].webm_audio;
|
||||||
|
},
|
||||||
|
title: function(boardID) {
|
||||||
|
var ref, ref1;
|
||||||
|
return ((ref = this.boards || Conf['boardConfig'].boards) != null ? (ref1 = ref[boardID]) != null ? ref1.title : void 0 : void 0) || '';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -9522,14 +9526,13 @@ Header = (function() {
|
|||||||
return CatalogLinks.setLinks(fullBoardList);
|
return CatalogLinks.setLinks(fullBoardList);
|
||||||
},
|
},
|
||||||
generateBoardList: function(boardnav) {
|
generateBoardList: function(boardnav) {
|
||||||
var as, list, nodes, re, t;
|
var list, nodes, re, t;
|
||||||
list = $('#custom-board-list', Header.boardList);
|
list = $('#custom-board-list', Header.boardList);
|
||||||
$.rmAll(list);
|
$.rmAll(list);
|
||||||
if (!boardnav) {
|
if (!boardnav) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
||||||
as = $$('#full-board-list a[title]', Header.boardList);
|
|
||||||
re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
|
re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
|
||||||
nodes = (function() {
|
nodes = (function() {
|
||||||
var j, len, ref, results;
|
var j, len, ref, results;
|
||||||
@ -9537,14 +9540,14 @@ Header = (function() {
|
|||||||
results = [];
|
results = [];
|
||||||
for (j = 0, len = ref.length; j < len; j++) {
|
for (j = 0, len = ref.length; j < len; j++) {
|
||||||
t = ref[j];
|
t = ref[j];
|
||||||
results.push(Header.mapCustomNavigation(t, as));
|
results.push(Header.mapCustomNavigation(t));
|
||||||
}
|
}
|
||||||
return results;
|
return results;
|
||||||
})();
|
})();
|
||||||
$.add(list, nodes);
|
$.add(list, nodes);
|
||||||
return CatalogLinks.setLinks(list);
|
return CatalogLinks.setLinks(list);
|
||||||
},
|
},
|
||||||
mapCustomNavigation: function(t, as) {
|
mapCustomNavigation: function(t) {
|
||||||
var a, boardID, href, indexOptions, m, text, url;
|
var a, boardID, href, indexOptions, m, text, url;
|
||||||
if (/^[^\w@]/.test(t)) {
|
if (/^[^\w@]/.test(t)) {
|
||||||
return $.tn(t);
|
return $.tn(t);
|
||||||
@ -9595,7 +9598,7 @@ Header = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
a = (function() {
|
a = (function() {
|
||||||
var j, len, ref;
|
var ref;
|
||||||
if (boardID === '@') {
|
if (boardID === '@') {
|
||||||
return $.el('a', {
|
return $.el('a', {
|
||||||
href: 'https://twitter.com/4chan',
|
href: 'https://twitter.com/4chan',
|
||||||
@ -9603,15 +9606,10 @@ Header = (function() {
|
|||||||
textContent: '@'
|
textContent: '@'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
for (j = 0, len = as.length; j < len; j++) {
|
|
||||||
a = as[j];
|
|
||||||
if (a.textContent === boardID) {
|
|
||||||
return a.cloneNode(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: "//boards.4chan.org/" + boardID + "/",
|
href: "//boards.4chan.org/" + boardID + "/",
|
||||||
textContent: boardID
|
textContent: boardID,
|
||||||
|
title: BoardConfig.title(boardID)
|
||||||
});
|
});
|
||||||
if ((ref = g.VIEW) === 'catalog' || ref === 'archive') {
|
if ((ref = g.VIEW) === 'catalog' || ref === 'archive') {
|
||||||
a.href += g.VIEW;
|
a.href += g.VIEW;
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.14.0.0
|
// @version 1.14.0.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.14.0.0
|
// @version 1.14.0.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -157,7 +157,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.14.0.0',
|
VERSION: '1.14.0.1',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -8892,6 +8892,10 @@ BoardConfig = (function() {
|
|||||||
}
|
}
|
||||||
boards = this.boards || Conf['boardConfig'].boards;
|
boards = this.boards || Conf['boardConfig'].boards;
|
||||||
return boards && !boards[boardID].webm_audio;
|
return boards && !boards[boardID].webm_audio;
|
||||||
|
},
|
||||||
|
title: function(boardID) {
|
||||||
|
var ref, ref1;
|
||||||
|
return ((ref = this.boards || Conf['boardConfig'].boards) != null ? (ref1 = ref[boardID]) != null ? ref1.title : void 0 : void 0) || '';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -9522,14 +9526,13 @@ Header = (function() {
|
|||||||
return CatalogLinks.setLinks(fullBoardList);
|
return CatalogLinks.setLinks(fullBoardList);
|
||||||
},
|
},
|
||||||
generateBoardList: function(boardnav) {
|
generateBoardList: function(boardnav) {
|
||||||
var as, list, nodes, re, t;
|
var list, nodes, re, t;
|
||||||
list = $('#custom-board-list', Header.boardList);
|
list = $('#custom-board-list', Header.boardList);
|
||||||
$.rmAll(list);
|
$.rmAll(list);
|
||||||
if (!boardnav) {
|
if (!boardnav) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
boardnav = boardnav.replace(/(\r\n|\n|\r)/g, ' ');
|
||||||
as = $$('#full-board-list a[title]', Header.boardList);
|
|
||||||
re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
|
re = /[\w@]+(-(all|title|replace|full|index|catalog|archive|expired|(mode|sort|text):"[^"]+"(,"[^"]+")?))*|[^\w@]+/g;
|
||||||
nodes = (function() {
|
nodes = (function() {
|
||||||
var j, len, ref, results;
|
var j, len, ref, results;
|
||||||
@ -9537,14 +9540,14 @@ Header = (function() {
|
|||||||
results = [];
|
results = [];
|
||||||
for (j = 0, len = ref.length; j < len; j++) {
|
for (j = 0, len = ref.length; j < len; j++) {
|
||||||
t = ref[j];
|
t = ref[j];
|
||||||
results.push(Header.mapCustomNavigation(t, as));
|
results.push(Header.mapCustomNavigation(t));
|
||||||
}
|
}
|
||||||
return results;
|
return results;
|
||||||
})();
|
})();
|
||||||
$.add(list, nodes);
|
$.add(list, nodes);
|
||||||
return CatalogLinks.setLinks(list);
|
return CatalogLinks.setLinks(list);
|
||||||
},
|
},
|
||||||
mapCustomNavigation: function(t, as) {
|
mapCustomNavigation: function(t) {
|
||||||
var a, boardID, href, indexOptions, m, text, url;
|
var a, boardID, href, indexOptions, m, text, url;
|
||||||
if (/^[^\w@]/.test(t)) {
|
if (/^[^\w@]/.test(t)) {
|
||||||
return $.tn(t);
|
return $.tn(t);
|
||||||
@ -9595,7 +9598,7 @@ Header = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
a = (function() {
|
a = (function() {
|
||||||
var j, len, ref;
|
var ref;
|
||||||
if (boardID === '@') {
|
if (boardID === '@') {
|
||||||
return $.el('a', {
|
return $.el('a', {
|
||||||
href: 'https://twitter.com/4chan',
|
href: 'https://twitter.com/4chan',
|
||||||
@ -9603,15 +9606,10 @@ Header = (function() {
|
|||||||
textContent: '@'
|
textContent: '@'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
for (j = 0, len = as.length; j < len; j++) {
|
|
||||||
a = as[j];
|
|
||||||
if (a.textContent === boardID) {
|
|
||||||
return a.cloneNode(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
href: "//boards.4chan.org/" + boardID + "/",
|
href: "//boards.4chan.org/" + boardID + "/",
|
||||||
textContent: boardID
|
textContent: boardID,
|
||||||
|
title: BoardConfig.title(boardID)
|
||||||
});
|
});
|
||||||
if ((ref = g.VIEW) === 'catalog' || ref === 'archive') {
|
if ((ref = g.VIEW) === 'catalog' || ref === 'archive') {
|
||||||
a.href += g.VIEW;
|
a.href += g.VIEW;
|
||||||
|
|||||||
Binary file not shown.
@ -3,7 +3,7 @@
|
|||||||
"4chan-x@4chan-x.net": {
|
"4chan-x@4chan-x.net": {
|
||||||
"updates": [
|
"updates": [
|
||||||
{
|
{
|
||||||
"version": "1.14.0.0",
|
"version": "1.14.0.1",
|
||||||
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
|
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -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.14.0.0' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.14.0.1' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"4chan-x@4chan-x.net": {
|
"4chan-x@4chan-x.net": {
|
||||||
"updates": [
|
"updates": [
|
||||||
{
|
{
|
||||||
"version": "1.14.0.0",
|
"version": "1.14.0.1",
|
||||||
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
|
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -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.14.0.0' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.14.0.1' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.14.0.0",
|
"version": "1.14.0.1",
|
||||||
"date": "2018-01-24T16:27:06.567Z"
|
"date": "2018-01-24T19:00:52.569Z"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user