Release 4chan X v1.13.9.5.

This commit is contained in:
ccd0 2017-06-27 15:25:05 -07:00
parent 74394adc47
commit 2451e4397f
13 changed files with 33 additions and 24 deletions

View File

@ -4,6 +4,9 @@
### v1.13.9 ### v1.13.9
**v1.13.9.5** *(2017-06-27)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.5/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.5/builds/4chan-X-noupdate.crx)]
- Support /pol/ custom flags in archive-related features. #1403
**v1.13.9.4** *(2017-06-13)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.4/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.4/builds/4chan-X-noupdate.crx)] **v1.13.9.4** *(2017-06-13)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.4/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.9.4/builds/4chan-X-noupdate.crx)]
- Update for restoration of custom flags on /pol/. #1403 - Update for restoration of custom flags on /pol/. #1403

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.9.4 // @version 1.13.9.5
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.9.4 // @version 1.13.9.5
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -153,7 +153,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.9.4', VERSION: '1.13.9.5',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -5932,7 +5932,8 @@ Fetcher = (function() {
})(), })(),
uniqueID: data.poster_hash, uniqueID: data.poster_hash,
flagCode: data.poster_country, flagCode: data.poster_country,
flag: data.poster_country_name, flagCodeTroll: data.troll_country_code,
flag: data.poster_country_name || data.troll_country_name,
dateUTC: data.timestamp, dateUTC: data.timestamp,
dateText: data.fourchan_date, dateText: data.fourchan_date,
commentHTML: comment commentHTML: comment
@ -15092,14 +15093,15 @@ ArchiveLink = (function() {
}); });
return true; return true;
} : function(post) { } : function(post) {
var value; var typeParam, value;
value = type === 'country' ? post.info.flagCode : Filter[type](post); typeParam = type === 'country' && post.info.flagCodeTroll ? 'tag' : type;
value = type === 'country' ? post.info.flagCode || post.info.flagCodeTroll : Filter[type](post);
if (!value) { if (!value) {
return false; return false;
} }
el.href = Redirect.to('search', { el.href = Redirect.to('search', {
boardID: post.board.ID, boardID: post.board.ID,
type: type, type: typeParam,
value: value, value: value,
isSearch: true isSearch: true
}); });

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.9.4 // @version 1.13.9.5
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -153,7 +153,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.9.4', VERSION: '1.13.9.5',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -5932,7 +5932,8 @@ Fetcher = (function() {
})(), })(),
uniqueID: data.poster_hash, uniqueID: data.poster_hash,
flagCode: data.poster_country, flagCode: data.poster_country,
flag: data.poster_country_name, flagCodeTroll: data.troll_country_code,
flag: data.poster_country_name || data.troll_country_name,
dateUTC: data.timestamp, dateUTC: data.timestamp,
dateText: data.fourchan_date, dateText: data.fourchan_date,
commentHTML: comment commentHTML: comment
@ -15092,14 +15093,15 @@ ArchiveLink = (function() {
}); });
return true; return true;
} : function(post) { } : function(post) {
var value; var typeParam, value;
value = type === 'country' ? post.info.flagCode : Filter[type](post); typeParam = type === 'country' && post.info.flagCodeTroll ? 'tag' : type;
value = type === 'country' ? post.info.flagCode || post.info.flagCodeTroll : Filter[type](post);
if (!value) { if (!value) {
return false; return false;
} }
el.href = Redirect.to('search', { el.href = Redirect.to('search', {
boardID: post.board.ID, boardID: post.board.ID,
type: type, type: typeParam,
value: value, value: value,
isSearch: true isSearch: true
}); });

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.9.4 // @version 1.13.9.5
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.9.4 // @version 1.13.9.5
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -153,7 +153,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.9.4', VERSION: '1.13.9.5',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -5932,7 +5932,8 @@ Fetcher = (function() {
})(), })(),
uniqueID: data.poster_hash, uniqueID: data.poster_hash,
flagCode: data.poster_country, flagCode: data.poster_country,
flag: data.poster_country_name, flagCodeTroll: data.troll_country_code,
flag: data.poster_country_name || data.troll_country_name,
dateUTC: data.timestamp, dateUTC: data.timestamp,
dateText: data.fourchan_date, dateText: data.fourchan_date,
commentHTML: comment commentHTML: comment
@ -15092,14 +15093,15 @@ ArchiveLink = (function() {
}); });
return true; return true;
} : function(post) { } : function(post) {
var value; var typeParam, value;
value = type === 'country' ? post.info.flagCode : Filter[type](post); typeParam = type === 'country' && post.info.flagCodeTroll ? 'tag' : type;
value = type === 'country' ? post.info.flagCode || post.info.flagCodeTroll : Filter[type](post);
if (!value) { if (!value) {
return false; return false;
} }
el.href = Redirect.to('search', { el.href = Redirect.to('search', {
boardID: post.board.ID, boardID: post.board.ID,
type: type, type: typeParam,
value: value, value: value,
isSearch: true isSearch: true
}); });

Binary file not shown.

View File

@ -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.13.9.4' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.9.5' />
</app> </app>
</gupdate> </gupdate>

View File

@ -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.13.9.4' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.9.5' />
</app> </app>
</gupdate> </gupdate>

View File

@ -1,4 +1,4 @@
{ {
"version": "1.13.9.4", "version": "1.13.9.5",
"date": "2017-06-13T16:19:49.060Z" "date": "2017-06-27T22:21:11.331Z"
} }