Release 4chan X v1.7.62.
This commit is contained in:
parent
79e9d06047
commit
c936e0ecd0
@ -1,3 +1,6 @@
|
||||
### v1.7.62
|
||||
*2014-06-16*
|
||||
|
||||
**ccd0**
|
||||
- Fix errors due to <font> tag in file info on /s4s/.
|
||||
|
||||
|
||||
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 4chan X - Version 1.7.61 - 2014-06-15
|
||||
* 4chan X - Version 1.7.62 - 2014-06-16
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.7.61
|
||||
// @version 1.7.62
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.7.61
|
||||
// @version 1.7.62
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -24,7 +24,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.7.61 - 2014-06-15
|
||||
* 4chan X - Version 1.7.62 - 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.61',
|
||||
VERSION: '1.7.62',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -1099,7 +1099,7 @@
|
||||
};
|
||||
|
||||
Post.prototype.parseFile = function(that) {
|
||||
var anchor, fileEl, fileText, size, thumb, unit, _ref;
|
||||
var anchor, fileEl, fileText, nameNode, size, thumb, unit;
|
||||
if (!((fileEl = $('.file', this.nodes.post)) && (thumb = $('img[data-md5]', fileEl)))) {
|
||||
return;
|
||||
}
|
||||
@ -1122,14 +1122,11 @@
|
||||
this.file.thumbURL = that.isArchived ? thumb.src : "" + location.protocol + "//t.4cdn.org/" + this.board + "/" + (this.file.URL.match(/(\d+)\./)[1]) + "s.jpg";
|
||||
this.file.isImage = /(jpg|png|gif)$/i.test(this.file.URL);
|
||||
this.file.isVideo = /webm$/i.test(this.file.URL);
|
||||
nameNode = $('a', fileText);
|
||||
if (this.file.isImage || this.file.isVideo) {
|
||||
this.file.dimensions = (_ref = fileText.childNodes[2].textContent.match(/\d+x\d+/)) != null ? _ref[0] : void 0;
|
||||
this.file.dimensions = nameNode.nextSibling.textContent.match(/\d+x\d+/)[0];
|
||||
}
|
||||
return this.file.name = fileText.title || (function() {
|
||||
var nameNode;
|
||||
nameNode = $('span', fileText) || $('a', fileText);
|
||||
return (nameNode != null ? nameNode.title : void 0) || (nameNode != null ? nameNode.textContent : void 0);
|
||||
})();
|
||||
return this.file.name = fileText.title || nameNode.title || nameNode.textContent;
|
||||
};
|
||||
|
||||
Post.prototype.cleanup = function(root) {
|
||||
@ -12482,7 +12479,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> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a> | <a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.61</a> | <a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a> | <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> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a> | <a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.62</a> | <a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a> | <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"]);
|
||||
@ -13327,7 +13324,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.61</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.62</a>.'
|
||||
});
|
||||
new Notice('info', el, 15);
|
||||
} else {
|
||||
|
||||
Binary file not shown.
BIN
builds/crx.crx
BIN
builds/crx.crx
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "4chan X",
|
||||
"version": "1.7.61",
|
||||
"version": "1.7.62",
|
||||
"manifest_version": 2,
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"icons": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Generated by CoffeeScript
|
||||
/*
|
||||
* 4chan X - Version 1.7.61 - 2014-06-15
|
||||
* 4chan X - Version 1.7.62 - 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.61',
|
||||
VERSION: '1.7.62',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -1134,7 +1134,7 @@
|
||||
};
|
||||
|
||||
Post.prototype.parseFile = function(that) {
|
||||
var anchor, fileEl, fileText, size, thumb, unit, _ref;
|
||||
var anchor, fileEl, fileText, nameNode, size, thumb, unit;
|
||||
if (!((fileEl = $('.file', this.nodes.post)) && (thumb = $('img[data-md5]', fileEl)))) {
|
||||
return;
|
||||
}
|
||||
@ -1157,14 +1157,11 @@
|
||||
this.file.thumbURL = that.isArchived ? thumb.src : "" + location.protocol + "//t.4cdn.org/" + this.board + "/" + (this.file.URL.match(/(\d+)\./)[1]) + "s.jpg";
|
||||
this.file.isImage = /(jpg|png|gif)$/i.test(this.file.URL);
|
||||
this.file.isVideo = /webm$/i.test(this.file.URL);
|
||||
nameNode = $('a', fileText);
|
||||
if (this.file.isImage || this.file.isVideo) {
|
||||
this.file.dimensions = (_ref = fileText.childNodes[2].textContent.match(/\d+x\d+/)) != null ? _ref[0] : void 0;
|
||||
this.file.dimensions = nameNode.nextSibling.textContent.match(/\d+x\d+/)[0];
|
||||
}
|
||||
return this.file.name = fileText.title || (function() {
|
||||
var nameNode;
|
||||
nameNode = $('span', fileText) || $('a', fileText);
|
||||
return (nameNode != null ? nameNode.title : void 0) || (nameNode != null ? nameNode.textContent : void 0);
|
||||
})();
|
||||
return this.file.name = fileText.title || nameNode.title || nameNode.textContent;
|
||||
};
|
||||
|
||||
Post.prototype.cleanup = function(root) {
|
||||
@ -12476,7 +12473,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> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a> | <a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.61</a> | <a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a> | <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> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a> | <a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.62</a> | <a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a> | <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"]);
|
||||
@ -13308,7 +13305,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.61</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.62</a>.'
|
||||
});
|
||||
new Notice('info', el, 15);
|
||||
} else {
|
||||
|
||||
@ -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.61' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/crx.crx' version='1.7.62' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "4chan X",
|
||||
"version": "1.7.61",
|
||||
"version": "1.7.62",
|
||||
"manifest_version": 2,
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"icons": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Generated by CoffeeScript
|
||||
/*
|
||||
* 4chan X - Version 1.7.61 - 2014-06-15
|
||||
* 4chan X - Version 1.7.62 - 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.61',
|
||||
VERSION: '1.7.62',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -1134,7 +1134,7 @@
|
||||
};
|
||||
|
||||
Post.prototype.parseFile = function(that) {
|
||||
var anchor, fileEl, fileText, size, thumb, unit, _ref;
|
||||
var anchor, fileEl, fileText, nameNode, size, thumb, unit;
|
||||
if (!((fileEl = $('.file', this.nodes.post)) && (thumb = $('img[data-md5]', fileEl)))) {
|
||||
return;
|
||||
}
|
||||
@ -1157,14 +1157,11 @@
|
||||
this.file.thumbURL = that.isArchived ? thumb.src : "" + location.protocol + "//t.4cdn.org/" + this.board + "/" + (this.file.URL.match(/(\d+)\./)[1]) + "s.jpg";
|
||||
this.file.isImage = /(jpg|png|gif)$/i.test(this.file.URL);
|
||||
this.file.isVideo = /webm$/i.test(this.file.URL);
|
||||
nameNode = $('a', fileText);
|
||||
if (this.file.isImage || this.file.isVideo) {
|
||||
this.file.dimensions = (_ref = fileText.childNodes[2].textContent.match(/\d+x\d+/)) != null ? _ref[0] : void 0;
|
||||
this.file.dimensions = nameNode.nextSibling.textContent.match(/\d+x\d+/)[0];
|
||||
}
|
||||
return this.file.name = fileText.title || (function() {
|
||||
var nameNode;
|
||||
nameNode = $('span', fileText) || $('a', fileText);
|
||||
return (nameNode != null ? nameNode.title : void 0) || (nameNode != null ? nameNode.textContent : void 0);
|
||||
})();
|
||||
return this.file.name = fileText.title || nameNode.title || nameNode.textContent;
|
||||
};
|
||||
|
||||
Post.prototype.cleanup = function(root) {
|
||||
@ -12476,7 +12473,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> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a> | <a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.61</a> | <a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a> | <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> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href=\'https://github.com/ccd0/4chan-x\' target=_blank>4chan X</a> | <a href=\'https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md\' target=_blank>1.7.62</a> | <a href=\'https://github.com/ccd0/4chan-x/issues\' target=_blank>Issues</a> | <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"]);
|
||||
@ -13308,7 +13305,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.61</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.62</a>.'
|
||||
});
|
||||
new Notice('info', el, 15);
|
||||
} else {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "4chan-X",
|
||||
"version": "1.7.61",
|
||||
"version": "1.7.62",
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"meta": {
|
||||
"name": "4chan X",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user