Release 4chan X v1.10.0.3.
This commit is contained in:
parent
bb41c3a2ee
commit
d2618140e9
@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
|
||||
|
||||
## v1.10.0
|
||||
|
||||
**v1.10.0.3** *(2015-02-11)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.3/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Merge v1.9.23.10: 4chan has moved thumbnails to i.4cdn.org.
|
||||
|
||||
**v1.10.0.2** *(2015-02-09)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.2/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- The `Catalog Links` feature no longer forces a non-catalog index mode if the header menu item is unchecked.
|
||||
|
||||
|
||||
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 4chan X - Version 1.10.0.2
|
||||
* 4chan X - Version 1.10.0.3
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.10.0.2
|
||||
// @version 1.10.0.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.10.0.2
|
||||
// @version 1.10.0.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -25,7 +25,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.10.0.2
|
||||
* 4chan X - Version 1.10.0.3
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -405,7 +405,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.10.0.2',
|
||||
VERSION: '1.10.0.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
NAME: '4chan X',
|
||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||
@ -1343,7 +1343,7 @@
|
||||
size *= 1024;
|
||||
}
|
||||
this.file.sizeInBytes = size;
|
||||
this.file.thumbURL = "" + location.protocol + "//t.4cdn.org/" + this.board + "/" + (this.file.URL.match(/(\d+)\./)[1]) + "s.jpg";
|
||||
this.file.thumbURL = "" + location.protocol + "//i.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);
|
||||
@ -2242,7 +2242,7 @@
|
||||
width: data.media.media_w,
|
||||
MD5: data.media.media_hash,
|
||||
size: data.media.media_size,
|
||||
turl: data.media.thumb_link || ("//t.4cdn.org/" + this.boardID + "/" + data.media.preview_orig),
|
||||
turl: data.media.thumb_link || ("//i.4cdn.org/" + this.boardID + "/" + data.media.preview_orig),
|
||||
theight: data.media.preview_h,
|
||||
twidth: data.media.preview_w,
|
||||
isSpoiler: data.media.spoiler === '1'
|
||||
@ -3958,13 +3958,6 @@
|
||||
return filename;
|
||||
}
|
||||
},
|
||||
thumbRotate: (function() {
|
||||
var t;
|
||||
t = 0;
|
||||
return function() {
|
||||
return t = (t ? 0 : 1);
|
||||
};
|
||||
})(),
|
||||
sameThread: function(boardID, threadID) {
|
||||
return g.VIEW === 'thread' && g.BOARD.ID === boardID && g.THREADID === +threadID;
|
||||
},
|
||||
@ -4011,7 +4004,7 @@
|
||||
width: data.w,
|
||||
MD5: data.md5,
|
||||
size: data.fsize,
|
||||
turl: "//" + (Build.thumbRotate()) + ".t.4cdn.org/" + boardID + "/" + data.tim + "s.jpg",
|
||||
turl: "//i.4cdn.org/" + boardID + "/" + data.tim + "s.jpg",
|
||||
theight: data.tn_h,
|
||||
twidth: data.tn_w,
|
||||
isSpoiler: !!data.spoiler,
|
||||
@ -9014,7 +9007,7 @@
|
||||
id: 'a-gallery'
|
||||
});
|
||||
$.extend(dialog, {
|
||||
innerHTML: "<div class=\"gal-viewport\"><span class=\"gal-buttons\"><a href=\"javascript:;\" class=\"gal-start\" title=\"Start slideshow (S to toggle)\"><i></i></a><a href=\"javascript:;\" class=\"gal-stop\" title=\"Stop slideshow (S to toggle)\"><i></i></a><a href=\"javascript:;\" class=\"menu-button\"><i></i></a><a href=\"javascript:;\" class=\"gal-close\">×</a></span><a class=\"gal-name\" target=\"_blank\"></a><span class=\"gal-count\"><span class=\"count\"></span> / <span class=\"total\"></span></span><div class=\"gal-prev\"></div><div class=\"gal-image\"><a href=\"javascript:;\"><img></a></div><div class=\"gal-next\"></div></div><div class=\"gal-thumbnails\"></div>"
|
||||
innerHTML: "<div class=\"gal-viewport\"><span class=\"gal-buttons\"><a href=\"javascript:;\" class=\"gal-start\" title=\"Start slideshow\"><i></i></a><a href=\"javascript:;\" class=\"gal-stop\" title=\"Stop slideshow\"><i></i></a><a href=\"javascript:;\" class=\"menu-button\"><i></i></a><a href=\"javascript:;\" class=\"gal-close\">×</a></span><a class=\"gal-name\" target=\"_blank\"></a><span class=\"gal-count\"><span class=\"count\"></span> / <span class=\"total\"></span></span><div class=\"gal-prev\"></div><div class=\"gal-image\"><a href=\"javascript:;\"><img></a></div><div class=\"gal-next\"></div></div><div class=\"gal-thumbnails\"></div>"
|
||||
});
|
||||
_ref = {
|
||||
buttons: '.gal-buttons',
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.10.0.2
|
||||
// @version 1.10.0.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -24,7 +24,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.10.0.2
|
||||
* 4chan X - Version 1.10.0.3
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -404,7 +404,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.10.0.2',
|
||||
VERSION: '1.10.0.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
NAME: '4chan X',
|
||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||
@ -1342,7 +1342,7 @@
|
||||
size *= 1024;
|
||||
}
|
||||
this.file.sizeInBytes = size;
|
||||
this.file.thumbURL = "" + location.protocol + "//t.4cdn.org/" + this.board + "/" + (this.file.URL.match(/(\d+)\./)[1]) + "s.jpg";
|
||||
this.file.thumbURL = "" + location.protocol + "//i.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);
|
||||
@ -2241,7 +2241,7 @@
|
||||
width: data.media.media_w,
|
||||
MD5: data.media.media_hash,
|
||||
size: data.media.media_size,
|
||||
turl: data.media.thumb_link || ("//t.4cdn.org/" + this.boardID + "/" + data.media.preview_orig),
|
||||
turl: data.media.thumb_link || ("//i.4cdn.org/" + this.boardID + "/" + data.media.preview_orig),
|
||||
theight: data.media.preview_h,
|
||||
twidth: data.media.preview_w,
|
||||
isSpoiler: data.media.spoiler === '1'
|
||||
@ -3957,13 +3957,6 @@
|
||||
return filename;
|
||||
}
|
||||
},
|
||||
thumbRotate: (function() {
|
||||
var t;
|
||||
t = 0;
|
||||
return function() {
|
||||
return t = (t ? 0 : 1);
|
||||
};
|
||||
})(),
|
||||
sameThread: function(boardID, threadID) {
|
||||
return g.VIEW === 'thread' && g.BOARD.ID === boardID && g.THREADID === +threadID;
|
||||
},
|
||||
@ -4010,7 +4003,7 @@
|
||||
width: data.w,
|
||||
MD5: data.md5,
|
||||
size: data.fsize,
|
||||
turl: "//" + (Build.thumbRotate()) + ".t.4cdn.org/" + boardID + "/" + data.tim + "s.jpg",
|
||||
turl: "//i.4cdn.org/" + boardID + "/" + data.tim + "s.jpg",
|
||||
theight: data.tn_h,
|
||||
twidth: data.tn_w,
|
||||
isSpoiler: !!data.spoiler,
|
||||
@ -9013,7 +9006,7 @@
|
||||
id: 'a-gallery'
|
||||
});
|
||||
$.extend(dialog, {
|
||||
innerHTML: "<div class=\"gal-viewport\"><span class=\"gal-buttons\"><a href=\"javascript:;\" class=\"gal-start\" title=\"Start slideshow (S to toggle)\"><i></i></a><a href=\"javascript:;\" class=\"gal-stop\" title=\"Stop slideshow (S to toggle)\"><i></i></a><a href=\"javascript:;\" class=\"menu-button\"><i></i></a><a href=\"javascript:;\" class=\"gal-close\">×</a></span><a class=\"gal-name\" target=\"_blank\"></a><span class=\"gal-count\"><span class=\"count\"></span> / <span class=\"total\"></span></span><div class=\"gal-prev\"></div><div class=\"gal-image\"><a href=\"javascript:;\"><img></a></div><div class=\"gal-next\"></div></div><div class=\"gal-thumbnails\"></div>"
|
||||
innerHTML: "<div class=\"gal-viewport\"><span class=\"gal-buttons\"><a href=\"javascript:;\" class=\"gal-start\" title=\"Start slideshow\"><i></i></a><a href=\"javascript:;\" class=\"gal-stop\" title=\"Stop slideshow\"><i></i></a><a href=\"javascript:;\" class=\"menu-button\"><i></i></a><a href=\"javascript:;\" class=\"gal-close\">×</a></span><a class=\"gal-name\" target=\"_blank\"></a><span class=\"gal-count\"><span class=\"count\"></span> / <span class=\"total\"></span></span><div class=\"gal-prev\"></div><div class=\"gal-image\"><a href=\"javascript:;\"><img></a></div><div class=\"gal-next\"></div></div><div class=\"gal-thumbnails\"></div>"
|
||||
});
|
||||
_ref = {
|
||||
buttons: '.gal-buttons',
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.10.0.2
|
||||
// @version 1.10.0.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.10.0.2
|
||||
// @version 1.10.0.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -25,7 +25,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.10.0.2
|
||||
* 4chan X - Version 1.10.0.3
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -405,7 +405,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.10.0.2',
|
||||
VERSION: '1.10.0.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
NAME: '4chan X',
|
||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||
@ -1343,7 +1343,7 @@
|
||||
size *= 1024;
|
||||
}
|
||||
this.file.sizeInBytes = size;
|
||||
this.file.thumbURL = "" + location.protocol + "//t.4cdn.org/" + this.board + "/" + (this.file.URL.match(/(\d+)\./)[1]) + "s.jpg";
|
||||
this.file.thumbURL = "" + location.protocol + "//i.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);
|
||||
@ -2242,7 +2242,7 @@
|
||||
width: data.media.media_w,
|
||||
MD5: data.media.media_hash,
|
||||
size: data.media.media_size,
|
||||
turl: data.media.thumb_link || ("//t.4cdn.org/" + this.boardID + "/" + data.media.preview_orig),
|
||||
turl: data.media.thumb_link || ("//i.4cdn.org/" + this.boardID + "/" + data.media.preview_orig),
|
||||
theight: data.media.preview_h,
|
||||
twidth: data.media.preview_w,
|
||||
isSpoiler: data.media.spoiler === '1'
|
||||
@ -3958,13 +3958,6 @@
|
||||
return filename;
|
||||
}
|
||||
},
|
||||
thumbRotate: (function() {
|
||||
var t;
|
||||
t = 0;
|
||||
return function() {
|
||||
return t = (t ? 0 : 1);
|
||||
};
|
||||
})(),
|
||||
sameThread: function(boardID, threadID) {
|
||||
return g.VIEW === 'thread' && g.BOARD.ID === boardID && g.THREADID === +threadID;
|
||||
},
|
||||
@ -4011,7 +4004,7 @@
|
||||
width: data.w,
|
||||
MD5: data.md5,
|
||||
size: data.fsize,
|
||||
turl: "//" + (Build.thumbRotate()) + ".t.4cdn.org/" + boardID + "/" + data.tim + "s.jpg",
|
||||
turl: "//i.4cdn.org/" + boardID + "/" + data.tim + "s.jpg",
|
||||
theight: data.tn_h,
|
||||
twidth: data.tn_w,
|
||||
isSpoiler: !!data.spoiler,
|
||||
@ -9014,7 +9007,7 @@
|
||||
id: 'a-gallery'
|
||||
});
|
||||
$.extend(dialog, {
|
||||
innerHTML: "<div class=\"gal-viewport\"><span class=\"gal-buttons\"><a href=\"javascript:;\" class=\"gal-start\" title=\"Start slideshow (S to toggle)\"><i></i></a><a href=\"javascript:;\" class=\"gal-stop\" title=\"Stop slideshow (S to toggle)\"><i></i></a><a href=\"javascript:;\" class=\"menu-button\"><i></i></a><a href=\"javascript:;\" class=\"gal-close\">×</a></span><a class=\"gal-name\" target=\"_blank\"></a><span class=\"gal-count\"><span class=\"count\"></span> / <span class=\"total\"></span></span><div class=\"gal-prev\"></div><div class=\"gal-image\"><a href=\"javascript:;\"><img></a></div><div class=\"gal-next\"></div></div><div class=\"gal-thumbnails\"></div>"
|
||||
innerHTML: "<div class=\"gal-viewport\"><span class=\"gal-buttons\"><a href=\"javascript:;\" class=\"gal-start\" title=\"Start slideshow\"><i></i></a><a href=\"javascript:;\" class=\"gal-stop\" title=\"Stop slideshow\"><i></i></a><a href=\"javascript:;\" class=\"menu-button\"><i></i></a><a href=\"javascript:;\" class=\"gal-close\">×</a></span><a class=\"gal-name\" target=\"_blank\"></a><span class=\"gal-count\"><span class=\"count\"></span> / <span class=\"total\"></span></span><div class=\"gal-prev\"></div><div class=\"gal-image\"><a href=\"javascript:;\"><img></a></div><div class=\"gal-next\"></div></div><div class=\"gal-thumbnails\"></div>"
|
||||
});
|
||||
_ref = {
|
||||
buttons: '.gal-buttons',
|
||||
|
||||
Binary file not shown.
@ -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/4chan-X-beta.crx' version='1.10.0.2' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.0.3' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -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/4chan-X.crx' version='1.10.0.2' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.0.3' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"meta": {
|
||||
"name": "4chan X",
|
||||
"version": "1.10.0.2",
|
||||
"version": "1.10.0.3",
|
||||
"repo": "https://github.com/ccd0/4chan-x/",
|
||||
"page": "https://github.com/ccd0/4chan-x",
|
||||
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user