Release 4chan X v1.7.12.

This commit is contained in:
ccd0 2014-04-19 10:41:55 -07:00
parent a54957689a
commit 1c0349c10d
9 changed files with 27 additions and 16 deletions

View File

@ -1,3 +1,6 @@
### v1.7.12
*2014-04-19*
**ccd0**
- Fix conflict of previous version with Exlinks.

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.7.11 - 2014-04-19
* 4chan X - Version 1.7.12 - 2014-04-19
*
* 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.11
// @version 1.7.12
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.7.11
// @version 1.7.12
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -24,7 +24,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.7.11 - 2014-04-19
* 4chan X - Version 1.7.12 - 2014-04-19
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -371,7 +371,7 @@
doc = d.documentElement;
g = {
VERSION: '1.7.11',
VERSION: '1.7.12',
NAMESPACE: '4chan X.',
boards: {}
};
@ -1111,9 +1111,13 @@
}
this.file.sizeInBytes = size;
this.file.thumbURL = that.isArchived ? thumb.src : "" + location.protocol + "//t.4cdn.org/" + this.board + "/thumb/" + (this.file.URL.match(/(\d+)\./)[1]) + "s.jpg";
this.file.name = fileText.title || fileText.lastElementChild.title || fileText.lastElementChild.textContent;
this.file.isImage = /(jpg|png|gif)$/i.test(this.file.name);
this.file.isVideo = /webm$/i.test(this.file.name);
this.file.name = fileText.title || (function() {
var nameNode;
nameNode = $('span', fileText) || $('a', fileText);
return nameNode.title || nameNode.textContent;
})();
this.file.isImage = /(jpg|png|gif)$/i.test(this.file.URL);
this.file.isVideo = /webm$/i.test(this.file.URL);
if (this.file.isImage || this.file.isVideo) {
return this.file.dimensions = fileText.textContent.match(/\d+x\d+/)[0];
}

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "4chan X",
"version": "1.7.11",
"version": "1.7.12",
"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.11 - 2014-04-19
* 4chan X - Version 1.7.12 - 2014-04-19
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -347,7 +347,7 @@
doc = d.documentElement;
g = {
VERSION: '1.7.11',
VERSION: '1.7.12',
NAMESPACE: '4chan X.',
boards: {}
};
@ -1147,10 +1147,14 @@
}
this.file.sizeInBytes = size;
this.file.thumbURL = that.isArchived ? thumb.src : "" + location.protocol + "//t.4cdn.org/" + this.board + "/thumb/" + (this.file.URL.match(/(\d+)\./)[1]) + "s.jpg";
this.file.name = fileText.title || fileText.lastElementChild.title || fileText.lastElementChild.textContent;
this.file.name = fileText.title || (function() {
var nameNode;
nameNode = $('span', fileText) || $('a', fileText);
return nameNode.title || nameNode.textContent;
})();
this.file.name = this.file.name.replace(/%22/g, '"');
this.file.isImage = /(jpg|png|gif)$/i.test(this.file.name);
this.file.isVideo = /webm$/i.test(this.file.name);
this.file.isImage = /(jpg|png|gif)$/i.test(this.file.URL);
this.file.isVideo = /webm$/i.test(this.file.URL);
if (this.file.isImage || this.file.isVideo) {
return this.file.dimensions = fileText.textContent.match(/\d+x\d+/)[0];
}

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.11' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/crx.crx' version='1.7.12' />
</app>
</gupdate>

View File

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