Release 4chan X v1.9.19.8.

This commit is contained in:
ccd0 2015-01-09 18:01:55 -08:00
parent db4b6cf8d2
commit e61118a5bc
14 changed files with 48 additions and 39 deletions

View File

@ -3,6 +3,12 @@ The attributions below are for work that has been incorporated into the script a
The links to individual versions below are to copies of the script with the update URL removed. If you want automatic updates, install the script from the links on the [main page](https://github.com/ccd0/4chan-x).
<!-- v1.9.19.x -->
### v1.9.19.8
*2015-01-09* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.19.8/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.19.8/builds/4chan-X-noupdate.crx "Chromium version")]
**ccd0**
- Remove native -> 4chan X catalog redirect; restore link.
### v1.9.19.7
*2015-01-09* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.19.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.19.7/builds/4chan-X-noupdate.crx "Chromium version")]

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.9.19.7
* 4chan X - Version 1.9.19.8
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
// @version 1.9.19.7
// @version 1.9.19.8
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.9.19.7
* 4chan X - Version 1.9.19.8
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
VERSION: '1.9.19.7',
VERSION: '1.9.19.8',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -8917,7 +8917,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></a></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 (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>"
});
_ref = {
buttons: '.gal-buttons',
@ -13332,7 +13332,7 @@
}
})();
$.ready(function() {
var link, _i, _len, _ref;
var catalogLink, link, _i, _len, _ref;
_ref = $$(selector);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
link = _ref[_i];
@ -13343,6 +13343,12 @@
case "/" + g.BOARD + "/catalog":
link.href = CatalogLinks.catalog();
}
if (g.VIEW === 'catalog' && Conf['JSON Navigation'] && Conf['Use 4chan X Catalog']) {
catalogLink = link.parentNode.cloneNode(true);
catalogLink.firstElementChild.textContent = '4chan X Catalog';
catalogLink.firstElementChild.href = CatalogLinks.catalog();
$.after(link.parentNode, [$.tn(' '), catalogLink]);
}
}
});
}
@ -15524,7 +15530,7 @@
});
},
initFeatures: function() {
var err, feature, name, pathname, search, _i, _len, _ref, _ref1;
var err, feature, name, pathname, _i, _len, _ref, _ref1;
switch (location.hostname) {
case 'a.4cdn.org':
return;
@ -15552,11 +15558,6 @@
});
return;
}
if (Conf['JSON Navigation'] && Conf['Use 4chan X Catalog'] && g.VIEW === 'catalog') {
search = location.href.match(/#s=.*/);
location.replace("//boards.4chan.org/" + g.BOARD + "/" + (search ? search[0] : '#catalog'));
return;
}
if (Conf['Normalize URL'] && g.VIEW === 'thread') {
pathname = location.pathname.split('/');
if (pathname[2] !== 'thread' || pathname.length > 4) {

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.9.19.7
// @version 1.9.19.8
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -24,7 +24,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.9.19.7
* 4chan X - Version 1.9.19.8
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -394,7 +394,7 @@
doc = d.documentElement;
g = {
VERSION: '1.9.19.7',
VERSION: '1.9.19.8',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -8916,7 +8916,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></a></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 (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>"
});
_ref = {
buttons: '.gal-buttons',
@ -13331,7 +13331,7 @@
}
})();
$.ready(function() {
var link, _i, _len, _ref;
var catalogLink, link, _i, _len, _ref;
_ref = $$(selector);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
link = _ref[_i];
@ -13342,6 +13342,12 @@
case "/" + g.BOARD + "/catalog":
link.href = CatalogLinks.catalog();
}
if (g.VIEW === 'catalog' && Conf['JSON Navigation'] && Conf['Use 4chan X Catalog']) {
catalogLink = link.parentNode.cloneNode(true);
catalogLink.firstElementChild.textContent = '4chan X Catalog';
catalogLink.firstElementChild.href = CatalogLinks.catalog();
$.after(link.parentNode, [$.tn(' '), catalogLink]);
}
}
});
}
@ -15523,7 +15529,7 @@
});
},
initFeatures: function() {
var err, feature, name, pathname, search, _i, _len, _ref, _ref1;
var err, feature, name, pathname, _i, _len, _ref, _ref1;
switch (location.hostname) {
case 'a.4cdn.org':
return;
@ -15551,11 +15557,6 @@
});
return;
}
if (Conf['JSON Navigation'] && Conf['Use 4chan X Catalog'] && g.VIEW === 'catalog') {
search = location.href.match(/#s=.*/);
location.replace("//boards.4chan.org/" + g.BOARD + "/" + (search ? search[0] : '#catalog'));
return;
}
if (Conf['Normalize URL'] && g.VIEW === 'thread') {
pathname = location.pathname.split('/');
if (pathname[2] !== 'thread' || pathname.length > 4) {

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.9.19.7
// @version 1.9.19.8
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.9.19.7
* 4chan X - Version 1.9.19.8
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
VERSION: '1.9.19.7',
VERSION: '1.9.19.8',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -8917,7 +8917,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></a></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 (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>"
});
_ref = {
buttons: '.gal-buttons',
@ -13332,7 +13332,7 @@
}
})();
$.ready(function() {
var link, _i, _len, _ref;
var catalogLink, link, _i, _len, _ref;
_ref = $$(selector);
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
link = _ref[_i];
@ -13343,6 +13343,12 @@
case "/" + g.BOARD + "/catalog":
link.href = CatalogLinks.catalog();
}
if (g.VIEW === 'catalog' && Conf['JSON Navigation'] && Conf['Use 4chan X Catalog']) {
catalogLink = link.parentNode.cloneNode(true);
catalogLink.firstElementChild.textContent = '4chan X Catalog';
catalogLink.firstElementChild.href = CatalogLinks.catalog();
$.after(link.parentNode, [$.tn(' '), catalogLink]);
}
}
});
}
@ -15524,7 +15530,7 @@
});
},
initFeatures: function() {
var err, feature, name, pathname, search, _i, _len, _ref, _ref1;
var err, feature, name, pathname, _i, _len, _ref, _ref1;
switch (location.hostname) {
case 'a.4cdn.org':
return;
@ -15552,11 +15558,6 @@
});
return;
}
if (Conf['JSON Navigation'] && Conf['Use 4chan X Catalog'] && g.VIEW === 'catalog') {
search = location.href.match(/#s=.*/);
location.replace("//boards.4chan.org/" + g.BOARD + "/" + (search ? search[0] : '#catalog'));
return;
}
if (Conf['Normalize URL'] && g.VIEW === 'thread') {
pathname = location.pathname.split('/');
if (pathname[2] !== 'thread' || pathname.length > 4) {

Binary file not shown.

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

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

View File

@ -3,7 +3,7 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",
"version": "1.9.19.7",
"version": "1.9.19.8",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",