Release 4chan X v1.7.8.
This commit is contained in:
parent
a0e86e9396
commit
8a5cd7a610
@ -1,3 +1,6 @@
|
|||||||
|
### v1.7.8
|
||||||
|
*2014-04-12*
|
||||||
|
|
||||||
**ccd0**
|
**ccd0**
|
||||||
- Some keybind bugfixes.
|
- Some keybind bugfixes.
|
||||||
- Begin work toward compatibility with new URLs.
|
- Begin work toward compatibility with new URLs.
|
||||||
|
|||||||
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.7.7 - 2014-04-10
|
* 4chan X - Version 1.7.8 - 2014-04-12
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.7.7
|
// @version 1.7.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.7.7
|
// @version 1.7.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -24,7 +24,7 @@
|
|||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.7.7 - 2014-04-10
|
* 4chan X - Version 1.7.8 - 2014-04-12
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||||
@ -371,7 +371,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.7.7',
|
VERSION: '1.7.8',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -11640,7 +11640,7 @@
|
|||||||
return Conf[hotkey] = key;
|
return Conf[hotkey] = key;
|
||||||
},
|
},
|
||||||
keydown: function(e) {
|
keydown: function(e) {
|
||||||
var key, notification, notifications, op, target, thread, threadRoot, _i, _len, _ref;
|
var form, key, notification, notifications, op, target, thread, threadRoot, _i, _len, _ref;
|
||||||
if (!(key = Keybinds.keyCode(e))) {
|
if (!(key = Keybinds.keyCode(e))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -11728,7 +11728,9 @@
|
|||||||
ThreadUpdater.update();
|
ThreadUpdater.update();
|
||||||
break;
|
break;
|
||||||
case 'index':
|
case 'index':
|
||||||
Index.update();
|
if (Conf['JSON Navigation']) {
|
||||||
|
Index.update();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Conf['Watch']:
|
case Conf['Watch']:
|
||||||
@ -11754,7 +11756,7 @@
|
|||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case Conf['Front page']:
|
case Conf['Front page']:
|
||||||
if (g.VIEW === 'index') {
|
if (Conf['JSON Navigation'] && g.VIEW === 'index') {
|
||||||
Index.userPageNav(0);
|
Index.userPageNav(0);
|
||||||
} else {
|
} else {
|
||||||
window.location = "/" + g.BOARD + "/";
|
window.location = "/" + g.BOARD + "/";
|
||||||
@ -11764,19 +11766,39 @@
|
|||||||
$.open("/" + g.BOARD + "/");
|
$.open("/" + g.BOARD + "/");
|
||||||
break;
|
break;
|
||||||
case Conf['Next page']:
|
case Conf['Next page']:
|
||||||
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
|
if (g.VIEW !== 'index') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$('.next button', Index.pagelist).click();
|
if (Conf['JSON Navigation']) {
|
||||||
|
if (Conf['Index Mode'] !== 'all pages') {
|
||||||
|
$('.next button', Index.pagelist).click();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (form = $('.next form')) {
|
||||||
|
window.location = form.action;
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Conf['Previous page']:
|
case Conf['Previous page']:
|
||||||
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
|
if (g.VIEW !== 'index') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$('.prev button', Index.pagelist).click();
|
if (Conf['JSON Navigation']) {
|
||||||
|
if (Conf['Index Mode'] !== 'all pages') {
|
||||||
|
$('.prev button', Index.pagelist).click();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (form = $('.prev form')) {
|
||||||
|
window.location = form.action;
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Conf['Search form']:
|
case Conf['Search form']:
|
||||||
Index.searchInput.focus();
|
if (Conf['JSON Navigation']) {
|
||||||
|
Index.searchInput.focus();
|
||||||
|
} else {
|
||||||
|
$.id('search-btn').click();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Conf['Open catalog']:
|
case Conf['Open catalog']:
|
||||||
if (Conf['External Catalog']) {
|
if (Conf['External Catalog']) {
|
||||||
@ -13289,6 +13311,7 @@
|
|||||||
g.VIEW = (function() {
|
g.VIEW = (function() {
|
||||||
switch (pathname[2]) {
|
switch (pathname[2]) {
|
||||||
case 'res':
|
case 'res':
|
||||||
|
case 'thread':
|
||||||
return 'thread';
|
return 'thread';
|
||||||
case 'catalog':
|
case 'catalog':
|
||||||
return 'catalog';
|
return 'catalog';
|
||||||
|
|||||||
BIN
builds/crx.crx
BIN
builds/crx.crx
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "4chan X",
|
"name": "4chan X",
|
||||||
"version": "1.7.7",
|
"version": "1.7.8",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||||
"icons": {
|
"icons": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.7.7 - 2014-04-10
|
* 4chan X - Version 1.7.8 - 2014-04-12
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||||
@ -347,7 +347,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.7.7',
|
VERSION: '1.7.8',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -11643,7 +11643,7 @@
|
|||||||
return Conf[hotkey] = key;
|
return Conf[hotkey] = key;
|
||||||
},
|
},
|
||||||
keydown: function(e) {
|
keydown: function(e) {
|
||||||
var key, notification, notifications, op, target, thread, threadRoot, _i, _len, _ref;
|
var form, key, notification, notifications, op, target, thread, threadRoot, _i, _len, _ref;
|
||||||
if (!(key = Keybinds.keyCode(e))) {
|
if (!(key = Keybinds.keyCode(e))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -11731,7 +11731,9 @@
|
|||||||
ThreadUpdater.update();
|
ThreadUpdater.update();
|
||||||
break;
|
break;
|
||||||
case 'index':
|
case 'index':
|
||||||
Index.update();
|
if (Conf['JSON Navigation']) {
|
||||||
|
Index.update();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Conf['Watch']:
|
case Conf['Watch']:
|
||||||
@ -11757,7 +11759,7 @@
|
|||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case Conf['Front page']:
|
case Conf['Front page']:
|
||||||
if (g.VIEW === 'index') {
|
if (Conf['JSON Navigation'] && g.VIEW === 'index') {
|
||||||
Index.userPageNav(0);
|
Index.userPageNav(0);
|
||||||
} else {
|
} else {
|
||||||
window.location = "/" + g.BOARD + "/";
|
window.location = "/" + g.BOARD + "/";
|
||||||
@ -11767,19 +11769,39 @@
|
|||||||
$.open("/" + g.BOARD + "/");
|
$.open("/" + g.BOARD + "/");
|
||||||
break;
|
break;
|
||||||
case Conf['Next page']:
|
case Conf['Next page']:
|
||||||
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
|
if (g.VIEW !== 'index') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$('.next button', Index.pagelist).click();
|
if (Conf['JSON Navigation']) {
|
||||||
|
if (Conf['Index Mode'] !== 'all pages') {
|
||||||
|
$('.next button', Index.pagelist).click();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (form = $('.next form')) {
|
||||||
|
window.location = form.action;
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Conf['Previous page']:
|
case Conf['Previous page']:
|
||||||
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
|
if (g.VIEW !== 'index') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$('.prev button', Index.pagelist).click();
|
if (Conf['JSON Navigation']) {
|
||||||
|
if (Conf['Index Mode'] !== 'all pages') {
|
||||||
|
$('.prev button', Index.pagelist).click();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (form = $('.prev form')) {
|
||||||
|
window.location = form.action;
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Conf['Search form']:
|
case Conf['Search form']:
|
||||||
Index.searchInput.focus();
|
if (Conf['JSON Navigation']) {
|
||||||
|
Index.searchInput.focus();
|
||||||
|
} else {
|
||||||
|
$.id('search-btn').click();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Conf['Open catalog']:
|
case Conf['Open catalog']:
|
||||||
if (Conf['External Catalog']) {
|
if (Conf['External Catalog']) {
|
||||||
@ -13289,6 +13311,7 @@
|
|||||||
g.VIEW = (function() {
|
g.VIEW = (function() {
|
||||||
switch (pathname[2]) {
|
switch (pathname[2]) {
|
||||||
case 'res':
|
case 'res':
|
||||||
|
case 'thread':
|
||||||
return 'thread';
|
return 'thread';
|
||||||
case 'catalog':
|
case 'catalog':
|
||||||
return 'catalog';
|
return 'catalog';
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/crx.crx' version='1.7.7' />
|
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/crx.crx' version='1.7.8' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "4chan-X",
|
"name": "4chan-X",
|
||||||
"version": "1.7.7",
|
"version": "1.7.8",
|
||||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "4chan X",
|
"name": "4chan X",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user