Release 4chan X v1.9.22.2.

This commit is contained in:
ccd0 2015-02-01 00:54:59 -08:00
parent b47809d047
commit f45a7d11bc
14 changed files with 53 additions and 21 deletions

View File

@ -3,6 +3,11 @@ 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.22.x -->
### v1.9.22.2
*2015-02-01* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.22.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.22.2/builds/4chan-X-noupdate.crx "Chromium version")]
- 4chan X will now remember your last index mode regardless of how it was chosen (previously only index modes chosen with the drop-down menu were considered permanent choices).
### v1.9.22.1
*2015-02-01* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.22.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.22.1/builds/4chan-X-noupdate.crx "Chromium version")]

View File

@ -1,5 +1,5 @@
/*
* 4chan X - Version 1.9.22.1
* 4chan X - Version 1.9.22.2
*
* 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.22.1
// @version 1.9.22.2
// @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.22.1
// @version 1.9.22.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.9.22.1
* 4chan X - Version 1.9.22.2
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -400,7 +400,7 @@
doc = d.documentElement;
g = {
VERSION: '1.9.22.1',
VERSION: '1.9.22.2',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -2956,7 +2956,8 @@
state.search = Index.search = search;
}
if (Conf['Index Mode'] !== mode) {
state.mode = Conf['Index Mode'] = mode;
state.mode = mode;
Index.saveMode(mode);
}
if (Index.currentPage !== page) {
state.page = Index.currentPage = page;
@ -3063,7 +3064,7 @@
if (mode === Conf['Index Mode']) {
delete state.mode;
}
Conf['Index Mode'] = mode;
Index.saveMode(mode);
if (mode === 'all pages' || mode === 'catalog') {
state.page = 1;
}
@ -3085,6 +3086,14 @@
}, '', pathname + hash);
return state;
},
saveMode: function(mode) {
Conf['Index Mode'] = mode;
$.set('Index Mode', mode);
if (mode !== 'catalog') {
Conf['Previous Index Mode'] = mode;
return $.set('Previous Index Mode', mode);
}
},
pageLoad: function(_arg) {
var mode, scroll, search, sort;
sort = _arg.sort, search = _arg.search, mode = _arg.mode, scroll = _arg.scroll;

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.9.22.1
// @version 1.9.22.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -24,7 +24,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.9.22.1
* 4chan X - Version 1.9.22.2
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -399,7 +399,7 @@
doc = d.documentElement;
g = {
VERSION: '1.9.22.1',
VERSION: '1.9.22.2',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -2955,7 +2955,8 @@
state.search = Index.search = search;
}
if (Conf['Index Mode'] !== mode) {
state.mode = Conf['Index Mode'] = mode;
state.mode = mode;
Index.saveMode(mode);
}
if (Index.currentPage !== page) {
state.page = Index.currentPage = page;
@ -3062,7 +3063,7 @@
if (mode === Conf['Index Mode']) {
delete state.mode;
}
Conf['Index Mode'] = mode;
Index.saveMode(mode);
if (mode === 'all pages' || mode === 'catalog') {
state.page = 1;
}
@ -3084,6 +3085,14 @@
}, '', pathname + hash);
return state;
},
saveMode: function(mode) {
Conf['Index Mode'] = mode;
$.set('Index Mode', mode);
if (mode !== 'catalog') {
Conf['Previous Index Mode'] = mode;
return $.set('Previous Index Mode', mode);
}
},
pageLoad: function(_arg) {
var mode, scroll, search, sort;
sort = _arg.sort, search = _arg.search, mode = _arg.mode, scroll = _arg.scroll;

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.9.22.1
// @version 1.9.22.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.9.22.1
* 4chan X - Version 1.9.22.2
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -400,7 +400,7 @@
doc = d.documentElement;
g = {
VERSION: '1.9.22.1',
VERSION: '1.9.22.2',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -2956,7 +2956,8 @@
state.search = Index.search = search;
}
if (Conf['Index Mode'] !== mode) {
state.mode = Conf['Index Mode'] = mode;
state.mode = mode;
Index.saveMode(mode);
}
if (Index.currentPage !== page) {
state.page = Index.currentPage = page;
@ -3063,7 +3064,7 @@
if (mode === Conf['Index Mode']) {
delete state.mode;
}
Conf['Index Mode'] = mode;
Index.saveMode(mode);
if (mode === 'all pages' || mode === 'catalog') {
state.page = 1;
}
@ -3085,6 +3086,14 @@
}, '', pathname + hash);
return state;
},
saveMode: function(mode) {
Conf['Index Mode'] = mode;
$.set('Index Mode', mode);
if (mode !== 'catalog') {
Conf['Previous Index Mode'] = mode;
return $.set('Previous Index Mode', mode);
}
},
pageLoad: function(_arg) {
var mode, scroll, search, sort;
sort = _arg.sort, search = _arg.search, mode = _arg.mode, scroll = _arg.scroll;

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

View File

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