Release 4chan X v1.9.19.10.

This commit is contained in:
ccd0 2015-01-11 13:41:12 -08:00
parent ca65e5ac76
commit 2b758d16de
14 changed files with 91 additions and 46 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.10
*2015-01-11* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.19.10/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.19.10/builds/4chan-X-noupdate.crx "Chromium version")]
**ccd0**
- Fix bottom board list after 4chan change.
### v1.9.19.9
*2015-01-10* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.19.9/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.19.9/builds/4chan-X-noupdate.crx "Chromium version")]

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.9.19.9
* 4chan X - Version 1.9.19.10
*
* 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.9
// @version 1.9.19.10
// @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.9
// @version 1.9.19.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.9.19.9
* 4chan X - Version 1.9.19.10
*
* 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.9',
VERSION: '1.9.19.10',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -2129,7 +2129,26 @@
}
$.asap((function() {
return $.id('boardNavMobile') || d.readyState !== 'loading';
}), Header.setBoardList);
}), function() {
var a, footer;
Header.footer = footer = $.id('boardNavDesktop').cloneNode(true);
footer.id = 'boardNavDesktopFoot';
$.rm($('#navtopright', footer));
if (a = $("a[href*='/" + g.BOARD + "/']", footer)) {
a.className = 'current';
}
Header.setFooterVisibility(Conf['Bottom Board List']);
$.sync('Bottom Board List', Header.setFooterVisibility);
Main.ready(function() {
var oldFooter;
if (oldFooter = $.id('boardNavDesktopFoot')) {
$.rm(oldFooter);
}
$.globalEval('window.cloneTopNav = function() {};');
return $.before($.id('absbot'), footer);
});
return Header.setBoardList();
});
$.prepend(d.body, _this.bar);
$.add(d.body, Header.hover);
_this.setBarPosition(Conf['Bottom Header']);
@ -2138,11 +2157,7 @@
})(this));
Main.ready((function(_this) {
return function() {
var a, cs, footer;
_this.footer = footer = $.id('boardNavDesktopFoot');
if (a = $("a[href*='/" + g.BOARD + "/']", footer)) {
a.className = 'current';
}
var cs;
if (g.VIEW === 'catalog' || !Conf['Disable Native Extension']) {
cs = $.el('a', {
href: 'javascript:;'
@ -2157,10 +2172,8 @@
$.on(cs, 'click', function() {
return $.id('settingsWindowLink').click();
});
_this.addShortcut(cs);
return _this.addShortcut(cs);
}
Header.setFooterVisibility(Conf['Bottom Board List']);
return $.sync('Bottom Board List', Header.setFooterVisibility);
};
})(this));
return this.enableDesktopNotifications();
@ -13402,7 +13415,7 @@
},
set: function(useCatalog) {
var a, board, _i, _len, _ref, _ref1;
_ref = $$("#board-list a:not([data-only]), #boardNavDesktopFoot a");
_ref = $$('a:not([data-only])', Header.boardList).concat($$('a', Header.footer));
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
a = _ref[_i];
if (((_ref1 = a.hostname) !== 'boards.4chan.org' && _ref1 !== 'catalog.neet.tv' && _ref1 !== '4index.gropes.us') || !(board = a.pathname.split('/')[1]) || (board === 'f' || board === 'status' || board === '4chan') || a.pathname.split('/')[2] === 'archive' || $.hasClass(a, 'external')) {

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.9.19.9
// @version 1.9.19.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -24,7 +24,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.9.19.9
* 4chan X - Version 1.9.19.10
*
* 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.9',
VERSION: '1.9.19.10',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -2128,7 +2128,26 @@
}
$.asap((function() {
return $.id('boardNavMobile') || d.readyState !== 'loading';
}), Header.setBoardList);
}), function() {
var a, footer;
Header.footer = footer = $.id('boardNavDesktop').cloneNode(true);
footer.id = 'boardNavDesktopFoot';
$.rm($('#navtopright', footer));
if (a = $("a[href*='/" + g.BOARD + "/']", footer)) {
a.className = 'current';
}
Header.setFooterVisibility(Conf['Bottom Board List']);
$.sync('Bottom Board List', Header.setFooterVisibility);
Main.ready(function() {
var oldFooter;
if (oldFooter = $.id('boardNavDesktopFoot')) {
$.rm(oldFooter);
}
$.globalEval('window.cloneTopNav = function() {};');
return $.before($.id('absbot'), footer);
});
return Header.setBoardList();
});
$.prepend(d.body, _this.bar);
$.add(d.body, Header.hover);
_this.setBarPosition(Conf['Bottom Header']);
@ -2137,11 +2156,7 @@
})(this));
Main.ready((function(_this) {
return function() {
var a, cs, footer;
_this.footer = footer = $.id('boardNavDesktopFoot');
if (a = $("a[href*='/" + g.BOARD + "/']", footer)) {
a.className = 'current';
}
var cs;
if (g.VIEW === 'catalog' || !Conf['Disable Native Extension']) {
cs = $.el('a', {
href: 'javascript:;'
@ -2156,10 +2171,8 @@
$.on(cs, 'click', function() {
return $.id('settingsWindowLink').click();
});
_this.addShortcut(cs);
return _this.addShortcut(cs);
}
Header.setFooterVisibility(Conf['Bottom Board List']);
return $.sync('Bottom Board List', Header.setFooterVisibility);
};
})(this));
return this.enableDesktopNotifications();
@ -13401,7 +13414,7 @@
},
set: function(useCatalog) {
var a, board, _i, _len, _ref, _ref1;
_ref = $$("#board-list a:not([data-only]), #boardNavDesktopFoot a");
_ref = $$('a:not([data-only])', Header.boardList).concat($$('a', Header.footer));
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
a = _ref[_i];
if (((_ref1 = a.hostname) !== 'boards.4chan.org' && _ref1 !== 'catalog.neet.tv' && _ref1 !== '4index.gropes.us') || !(board = a.pathname.split('/')[1]) || (board === 'f' || board === 'status' || board === '4chan') || a.pathname.split('/')[2] === 'archive' || $.hasClass(a, 'external')) {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.9.19.9
// @version 1.9.19.10
// @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.9
// @version 1.9.19.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.9.19.9
* 4chan X - Version 1.9.19.10
*
* 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.9',
VERSION: '1.9.19.10',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -2129,7 +2129,26 @@
}
$.asap((function() {
return $.id('boardNavMobile') || d.readyState !== 'loading';
}), Header.setBoardList);
}), function() {
var a, footer;
Header.footer = footer = $.id('boardNavDesktop').cloneNode(true);
footer.id = 'boardNavDesktopFoot';
$.rm($('#navtopright', footer));
if (a = $("a[href*='/" + g.BOARD + "/']", footer)) {
a.className = 'current';
}
Header.setFooterVisibility(Conf['Bottom Board List']);
$.sync('Bottom Board List', Header.setFooterVisibility);
Main.ready(function() {
var oldFooter;
if (oldFooter = $.id('boardNavDesktopFoot')) {
$.rm(oldFooter);
}
$.globalEval('window.cloneTopNav = function() {};');
return $.before($.id('absbot'), footer);
});
return Header.setBoardList();
});
$.prepend(d.body, _this.bar);
$.add(d.body, Header.hover);
_this.setBarPosition(Conf['Bottom Header']);
@ -2138,11 +2157,7 @@
})(this));
Main.ready((function(_this) {
return function() {
var a, cs, footer;
_this.footer = footer = $.id('boardNavDesktopFoot');
if (a = $("a[href*='/" + g.BOARD + "/']", footer)) {
a.className = 'current';
}
var cs;
if (g.VIEW === 'catalog' || !Conf['Disable Native Extension']) {
cs = $.el('a', {
href: 'javascript:;'
@ -2157,10 +2172,8 @@
$.on(cs, 'click', function() {
return $.id('settingsWindowLink').click();
});
_this.addShortcut(cs);
return _this.addShortcut(cs);
}
Header.setFooterVisibility(Conf['Bottom Board List']);
return $.sync('Bottom Board List', Header.setFooterVisibility);
};
})(this));
return this.enableDesktopNotifications();
@ -13402,7 +13415,7 @@
},
set: function(useCatalog) {
var a, board, _i, _len, _ref, _ref1;
_ref = $$("#board-list a:not([data-only]), #boardNavDesktopFoot a");
_ref = $$('a:not([data-only])', Header.boardList).concat($$('a', Header.footer));
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
a = _ref[_i];
if (((_ref1 = a.hostname) !== 'boards.4chan.org' && _ref1 !== 'catalog.neet.tv' && _ref1 !== '4index.gropes.us') || !(board = a.pathname.split('/')[1]) || (board === 'f' || board === 'status' || board === '4chan') || a.pathname.split('/')[2] === 'archive' || $.hasClass(a, 'external')) {

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.9' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.9.19.10' />
</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.9' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.9.19.10' />
</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.9",
"version": "1.9.19.10",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",
@ -70,4 +70,4 @@
"engines": {
"node": ">=0.10"
}
}
}