Release 4chan X v1.7.63.

This commit is contained in:
ccd0 2014-06-16 16:19:08 -07:00
parent 862f69b3e2
commit d7cb5e18c7
12 changed files with 58 additions and 52 deletions

View File

@ -1,3 +1,6 @@
### v1.7.63
*2014-06-16*
**ccd0**
- Fix filename bug introduced in previous release.

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.7.62 - 2014-06-16
* 4chan X - Version 1.7.63 - 2014-06-16
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.7.62
// @version 1.7.63
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -24,7 +24,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.7.62 - 2014-06-16
* 4chan X - Version 1.7.63 - 2014-06-16
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -374,7 +374,7 @@
doc = d.documentElement;
g = {
VERSION: '1.7.62',
VERSION: '1.7.63',
NAMESPACE: '4chan X.',
boards: {}
};
@ -3107,7 +3107,7 @@
This function contains code from 4chan-JS (https://github.com/4chan/4chan-JS).
@license: https://github.com/4chan/4chan-JS/blob/master/LICENSE
*/
var E, boardID, capcode, container, date, dateUTC, email, file, fileSize, fileThumb, flagCode, flagName, h_capcodeClass, h_capcodeIcon, h_capcodeStart, h_closed, h_comment, h_emailEnd, h_emailStart, h_file, h_fileDims, h_fileInfo, h_flag, h_gifIcon, h_imgSrc, h_pageIcon, h_postClass, h_quoteLink, h_replyLink, h_sideArrows, h_staticPath, h_sticky, h_tripcode, h_userID, href, isClosed, isOP, isSticky, name, pageNum, postID, quote, shortFilename, spoilerRange, subject, threadID, tripcode, uniqueID, _i, _len, _ref;
var E, boardID, capcode, container, date, dateUTC, email, file, fileSize, fileThumb, flagCode, flagName, h_capcodeClass, h_capcodeIcon, h_capcodeStart, h_closed, h_comment, h_emailEnd, h_emailStart, h_file, h_fileDims, h_fileInfo, h_fileTitle1, h_fileTitle2, h_flag, h_gifIcon, h_imgSrc, h_pageIcon, h_postClass, h_quoteLink, h_replyLink, h_sideArrows, h_staticPath, h_sticky, h_tripcode, h_userID, href, isClosed, isOP, isSticky, name, pageNum, postID, quote, shortFilename, spoilerRange, subject, threadID, tripcode, uniqueID, _i, _len, _ref;
E = Build.h_escape;
postID = o.postID, threadID = o.threadID, boardID = o.boardID, name = o.name, capcode = o.capcode, tripcode = o.tripcode, uniqueID = o.uniqueID, email = o.email, subject = o.subject, flagCode = o.flagCode, flagName = o.flagName, date = o.date, dateUTC = o.dateUTC, isSticky = o.isSticky, isClosed = o.isClosed, h_comment = o.h_comment, file = o.file;
name || (name = '');
@ -3180,7 +3180,6 @@
fileSize = $.bytesToString(file.size);
fileThumb = file.turl;
if (file.isSpoiler) {
fileSize = "Spoiler Image, " + fileSize;
if (!isArchived) {
fileThumb = "" + h_staticPath + "spoiler";
if (spoilerRange = Build.spoilerRange[boardID]) {
@ -3189,8 +3188,10 @@
fileThumb += '.png';
file.twidth = file.theight = 100;
}
shortFilename = 'Spoiler Image';
} else {
shortFilename = Build.shortFilename(file.name);
}
shortFilename = Build.shortFilename(file.name);
if (boardID === 'f') {
h_imgSrc = '';
} else {
@ -3203,16 +3204,16 @@
} else {
h_fileDims = "" + (+file.width) + "x" + (+file.height);
}
h_fileInfo = "<div class='fileText' id='fT" + (+postID) + "'";
h_fileTitle1 = '';
h_fileTitle2 = '';
if (file.isSpoiler) {
h_fileInfo += " title='" + (E(file.name)) + "'";
h_fileTitle1 = " title='" + (E(file.name)) + "'";
} else if (file.name !== shortFilename) {
h_fileTitle2 = " title='" + (E(file.name)) + "'";
}
h_fileInfo += ">File: <a href='" + (E(file.url)) + "' target='_blank'>" + (E(file.timestamp)) + "</a>";
h_fileInfo += "-(" + (E(fileSize)) + ", " + h_fileDims;
if (!file.isSpoiler) {
h_fileInfo += ", <span" + (file.name !== shortFilename ? " title='" + (E(file.name)) + "'" : '') + ">" + (E(shortFilename)) + "</span>";
}
h_fileInfo += ')</div>';
h_fileInfo = "<div class='fileText' id='fT" + (+postID) + "' " + h_fileTitle1 + ">";
h_fileInfo += "File: <a " + h_fileTitle2 + " href='" + (E(file.url)) + "' target='_blank'>" + (E(shortFilename)) + "</a> (" + (E(fileSize)) + ", " + h_fileDims + ")";
h_fileInfo += '</div>';
h_file = "<div class='file' id='f" + (+postID) + "'>" + h_fileInfo + h_imgSrc + "</div>";
} else {
h_file = '';
@ -12479,7 +12480,7 @@
Settings.dialog = dialog = $.el('div', {
id: 'fourchanx-settings',
className: 'dialog',
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.62</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.63</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
});
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
@ -13324,7 +13325,7 @@
}
if (previousversion) {
el = $.el('span', {
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.62</a>.'
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.63</a>.'
});
new Notice('info', el, 15);
} else {

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "4chan X",
"version": "1.7.62",
"version": "1.7.63",
"manifest_version": 2,
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"icons": {

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* 4chan X - Version 1.7.62 - 2014-06-16
* 4chan X - Version 1.7.63 - 2014-06-16
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -349,7 +349,7 @@
doc = d.documentElement;
g = {
VERSION: '1.7.62',
VERSION: '1.7.63',
NAMESPACE: '4chan X.',
boards: {}
};
@ -3142,7 +3142,7 @@
This function contains code from 4chan-JS (https://github.com/4chan/4chan-JS).
@license: https://github.com/4chan/4chan-JS/blob/master/LICENSE
*/
var E, boardID, capcode, container, date, dateUTC, email, file, fileSize, fileThumb, flagCode, flagName, h_capcodeClass, h_capcodeIcon, h_capcodeStart, h_closed, h_comment, h_emailEnd, h_emailStart, h_file, h_fileDims, h_fileInfo, h_flag, h_gifIcon, h_imgSrc, h_pageIcon, h_postClass, h_quoteLink, h_replyLink, h_sideArrows, h_staticPath, h_sticky, h_tripcode, h_userID, href, isClosed, isOP, isSticky, name, pageNum, postID, quote, shortFilename, spoilerRange, subject, threadID, tripcode, uniqueID, _i, _len, _ref;
var E, boardID, capcode, container, date, dateUTC, email, file, fileSize, fileThumb, flagCode, flagName, h_capcodeClass, h_capcodeIcon, h_capcodeStart, h_closed, h_comment, h_emailEnd, h_emailStart, h_file, h_fileDims, h_fileInfo, h_fileTitle1, h_fileTitle2, h_flag, h_gifIcon, h_imgSrc, h_pageIcon, h_postClass, h_quoteLink, h_replyLink, h_sideArrows, h_staticPath, h_sticky, h_tripcode, h_userID, href, isClosed, isOP, isSticky, name, pageNum, postID, quote, shortFilename, spoilerRange, subject, threadID, tripcode, uniqueID, _i, _len, _ref;
E = Build.h_escape;
postID = o.postID, threadID = o.threadID, boardID = o.boardID, name = o.name, capcode = o.capcode, tripcode = o.tripcode, uniqueID = o.uniqueID, email = o.email, subject = o.subject, flagCode = o.flagCode, flagName = o.flagName, date = o.date, dateUTC = o.dateUTC, isSticky = o.isSticky, isClosed = o.isClosed, h_comment = o.h_comment, file = o.file;
name || (name = '');
@ -3215,7 +3215,6 @@
fileSize = $.bytesToString(file.size);
fileThumb = file.turl;
if (file.isSpoiler) {
fileSize = "Spoiler Image, " + fileSize;
if (!isArchived) {
fileThumb = "" + h_staticPath + "spoiler";
if (spoilerRange = Build.spoilerRange[boardID]) {
@ -3224,8 +3223,10 @@
fileThumb += '.png';
file.twidth = file.theight = 100;
}
shortFilename = 'Spoiler Image';
} else {
shortFilename = Build.shortFilename(file.name);
}
shortFilename = Build.shortFilename(file.name);
if (boardID === 'f') {
h_imgSrc = '';
} else {
@ -3238,16 +3239,16 @@
} else {
h_fileDims = "" + (+file.width) + "x" + (+file.height);
}
h_fileInfo = "<div class='fileText' id='fT" + (+postID) + "'";
h_fileTitle1 = '';
h_fileTitle2 = '';
if (file.isSpoiler) {
h_fileInfo += " title='" + (E(file.name)) + "'";
h_fileTitle1 = " title='" + (E(file.name)) + "'";
} else if (file.name !== shortFilename) {
h_fileTitle2 = " title='" + (E(file.name)) + "'";
}
h_fileInfo += ">File: <a href='" + (E(file.url)) + "' target='_blank'>" + (E(file.timestamp)) + "</a>";
h_fileInfo += "-(" + (E(fileSize)) + ", " + h_fileDims;
if (!file.isSpoiler) {
h_fileInfo += ", <span" + (file.name !== shortFilename ? " title='" + (E(file.name)) + "'" : '') + ">" + (E(shortFilename)) + "</span>";
}
h_fileInfo += ')</div>';
h_fileInfo = "<div class='fileText' id='fT" + (+postID) + "' " + h_fileTitle1 + ">";
h_fileInfo += "File: <a " + h_fileTitle2 + " href='" + (E(file.url)) + "' target='_blank'>" + (E(shortFilename)) + "</a> (" + (E(fileSize)) + ", " + h_fileDims + ")";
h_fileInfo += '</div>';
h_file = "<div class='file' id='f" + (+postID) + "'>" + h_fileInfo + h_imgSrc + "</div>";
} else {
h_file = '';
@ -12473,7 +12474,7 @@
Settings.dialog = dialog = $.el('div', {
id: 'fourchanx-settings',
className: 'dialog',
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.62</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.63</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
});
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
@ -13305,7 +13306,7 @@
}
if (previousversion) {
el = $.el('span', {
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.62</a>.'
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.63</a>.'
});
new Notice('info', el, 15);
} else {

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/crx.crx' version='1.7.62' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/crx.crx' version='1.7.63' />
</app>
</gupdate>

View File

@ -1,6 +1,6 @@
{
"name": "4chan X",
"version": "1.7.62",
"version": "1.7.63",
"manifest_version": 2,
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"icons": {

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript
/*
* 4chan X - Version 1.7.62 - 2014-06-16
* 4chan X - Version 1.7.63 - 2014-06-16
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -349,7 +349,7 @@
doc = d.documentElement;
g = {
VERSION: '1.7.62',
VERSION: '1.7.63',
NAMESPACE: '4chan X.',
boards: {}
};
@ -3142,7 +3142,7 @@
This function contains code from 4chan-JS (https://github.com/4chan/4chan-JS).
@license: https://github.com/4chan/4chan-JS/blob/master/LICENSE
*/
var E, boardID, capcode, container, date, dateUTC, email, file, fileSize, fileThumb, flagCode, flagName, h_capcodeClass, h_capcodeIcon, h_capcodeStart, h_closed, h_comment, h_emailEnd, h_emailStart, h_file, h_fileDims, h_fileInfo, h_flag, h_gifIcon, h_imgSrc, h_pageIcon, h_postClass, h_quoteLink, h_replyLink, h_sideArrows, h_staticPath, h_sticky, h_tripcode, h_userID, href, isClosed, isOP, isSticky, name, pageNum, postID, quote, shortFilename, spoilerRange, subject, threadID, tripcode, uniqueID, _i, _len, _ref;
var E, boardID, capcode, container, date, dateUTC, email, file, fileSize, fileThumb, flagCode, flagName, h_capcodeClass, h_capcodeIcon, h_capcodeStart, h_closed, h_comment, h_emailEnd, h_emailStart, h_file, h_fileDims, h_fileInfo, h_fileTitle1, h_fileTitle2, h_flag, h_gifIcon, h_imgSrc, h_pageIcon, h_postClass, h_quoteLink, h_replyLink, h_sideArrows, h_staticPath, h_sticky, h_tripcode, h_userID, href, isClosed, isOP, isSticky, name, pageNum, postID, quote, shortFilename, spoilerRange, subject, threadID, tripcode, uniqueID, _i, _len, _ref;
E = Build.h_escape;
postID = o.postID, threadID = o.threadID, boardID = o.boardID, name = o.name, capcode = o.capcode, tripcode = o.tripcode, uniqueID = o.uniqueID, email = o.email, subject = o.subject, flagCode = o.flagCode, flagName = o.flagName, date = o.date, dateUTC = o.dateUTC, isSticky = o.isSticky, isClosed = o.isClosed, h_comment = o.h_comment, file = o.file;
name || (name = '');
@ -3215,7 +3215,6 @@
fileSize = $.bytesToString(file.size);
fileThumb = file.turl;
if (file.isSpoiler) {
fileSize = "Spoiler Image, " + fileSize;
if (!isArchived) {
fileThumb = "" + h_staticPath + "spoiler";
if (spoilerRange = Build.spoilerRange[boardID]) {
@ -3224,8 +3223,10 @@
fileThumb += '.png';
file.twidth = file.theight = 100;
}
shortFilename = 'Spoiler Image';
} else {
shortFilename = Build.shortFilename(file.name);
}
shortFilename = Build.shortFilename(file.name);
if (boardID === 'f') {
h_imgSrc = '';
} else {
@ -3238,16 +3239,16 @@
} else {
h_fileDims = "" + (+file.width) + "x" + (+file.height);
}
h_fileInfo = "<div class='fileText' id='fT" + (+postID) + "'";
h_fileTitle1 = '';
h_fileTitle2 = '';
if (file.isSpoiler) {
h_fileInfo += " title='" + (E(file.name)) + "'";
h_fileTitle1 = " title='" + (E(file.name)) + "'";
} else if (file.name !== shortFilename) {
h_fileTitle2 = " title='" + (E(file.name)) + "'";
}
h_fileInfo += ">File: <a href='" + (E(file.url)) + "' target='_blank'>" + (E(file.timestamp)) + "</a>";
h_fileInfo += "-(" + (E(fileSize)) + ", " + h_fileDims;
if (!file.isSpoiler) {
h_fileInfo += ", <span" + (file.name !== shortFilename ? " title='" + (E(file.name)) + "'" : '') + ">" + (E(shortFilename)) + "</span>";
}
h_fileInfo += ')</div>';
h_fileInfo = "<div class='fileText' id='fT" + (+postID) + "' " + h_fileTitle1 + ">";
h_fileInfo += "File: <a " + h_fileTitle2 + " href='" + (E(file.url)) + "' target='_blank'>" + (E(shortFilename)) + "</a> (" + (E(fileSize)) + ", " + h_fileDims + ")";
h_fileInfo += '</div>';
h_file = "<div class='file' id='f" + (+postID) + "'>" + h_fileInfo + h_imgSrc + "</div>";
} else {
h_file = '';
@ -12473,7 +12474,7 @@
Settings.dialog = dialog = $.el('div', {
id: 'fourchanx-settings',
className: 'dialog',
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.62</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
innerHTML: '<nav><div class=sections-list></div><p class=\'imp-exp-result warning\'></p><div class=credits><a class=export>Export</a>&nbsp|&nbsp<a class=import>Import</a>&nbsp|&nbsp<a class=reset>Reset Settings</a>&nbsp|&nbsp<input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.63</a>&nbsp|&nbsp<a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a>&nbsp|&nbsp<a href=javascript:; class=\'close fa fa-times\' title=Close></a></div></nav><div class=section-container><section></section></div>'
});
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
@ -13305,7 +13306,7 @@
}
if (previousversion) {
el = $.el('span', {
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.62</a>.'
innerHTML: '4chan X has been updated to <a href="https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md" target="_blank">version 1.7.63</a>.'
});
new Notice('info', el, 15);
} else {

View File

@ -1,6 +1,6 @@
{
"name": "4chan-X",
"version": "1.7.62",
"version": "1.7.63",
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",