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**
|
||||
- Some keybind bugfixes.
|
||||
- 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.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.7.7
|
||||
// @version 1.7.8
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.7.7
|
||||
// @version 1.7.8
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -24,7 +24,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.7.7 - 2014-04-10
|
||||
* 4chan X - Version 1.7.8 - 2014-04-12
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -371,7 +371,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.7.7',
|
||||
VERSION: '1.7.8',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -11640,7 +11640,7 @@
|
||||
return Conf[hotkey] = key;
|
||||
},
|
||||
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))) {
|
||||
return;
|
||||
}
|
||||
@ -11728,7 +11728,9 @@
|
||||
ThreadUpdater.update();
|
||||
break;
|
||||
case 'index':
|
||||
Index.update();
|
||||
if (Conf['JSON Navigation']) {
|
||||
Index.update();
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Conf['Watch']:
|
||||
@ -11754,7 +11756,7 @@
|
||||
});
|
||||
break;
|
||||
case Conf['Front page']:
|
||||
if (g.VIEW === 'index') {
|
||||
if (Conf['JSON Navigation'] && g.VIEW === 'index') {
|
||||
Index.userPageNav(0);
|
||||
} else {
|
||||
window.location = "/" + g.BOARD + "/";
|
||||
@ -11764,19 +11766,39 @@
|
||||
$.open("/" + g.BOARD + "/");
|
||||
break;
|
||||
case Conf['Next page']:
|
||||
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
|
||||
if (g.VIEW !== 'index') {
|
||||
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;
|
||||
case Conf['Previous page']:
|
||||
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
|
||||
if (g.VIEW !== 'index') {
|
||||
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;
|
||||
case Conf['Search form']:
|
||||
Index.searchInput.focus();
|
||||
if (Conf['JSON Navigation']) {
|
||||
Index.searchInput.focus();
|
||||
} else {
|
||||
$.id('search-btn').click();
|
||||
}
|
||||
break;
|
||||
case Conf['Open catalog']:
|
||||
if (Conf['External Catalog']) {
|
||||
@ -13289,6 +13311,7 @@
|
||||
g.VIEW = (function() {
|
||||
switch (pathname[2]) {
|
||||
case 'res':
|
||||
case 'thread':
|
||||
return 'thread';
|
||||
case 'catalog':
|
||||
return 'catalog';
|
||||
|
||||
BIN
builds/crx.crx
BIN
builds/crx.crx
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "4chan X",
|
||||
"version": "1.7.7",
|
||||
"version": "1.7.8",
|
||||
"manifest_version": 2,
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"icons": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// 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.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -347,7 +347,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.7.7',
|
||||
VERSION: '1.7.8',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -11643,7 +11643,7 @@
|
||||
return Conf[hotkey] = key;
|
||||
},
|
||||
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))) {
|
||||
return;
|
||||
}
|
||||
@ -11731,7 +11731,9 @@
|
||||
ThreadUpdater.update();
|
||||
break;
|
||||
case 'index':
|
||||
Index.update();
|
||||
if (Conf['JSON Navigation']) {
|
||||
Index.update();
|
||||
}
|
||||
}
|
||||
break;
|
||||
case Conf['Watch']:
|
||||
@ -11757,7 +11759,7 @@
|
||||
});
|
||||
break;
|
||||
case Conf['Front page']:
|
||||
if (g.VIEW === 'index') {
|
||||
if (Conf['JSON Navigation'] && g.VIEW === 'index') {
|
||||
Index.userPageNav(0);
|
||||
} else {
|
||||
window.location = "/" + g.BOARD + "/";
|
||||
@ -11767,19 +11769,39 @@
|
||||
$.open("/" + g.BOARD + "/");
|
||||
break;
|
||||
case Conf['Next page']:
|
||||
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
|
||||
if (g.VIEW !== 'index') {
|
||||
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;
|
||||
case Conf['Previous page']:
|
||||
if (!(g.VIEW === 'index' && Conf['Index Mode'] !== 'all pages')) {
|
||||
if (g.VIEW !== 'index') {
|
||||
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;
|
||||
case Conf['Search form']:
|
||||
Index.searchInput.focus();
|
||||
if (Conf['JSON Navigation']) {
|
||||
Index.searchInput.focus();
|
||||
} else {
|
||||
$.id('search-btn').click();
|
||||
}
|
||||
break;
|
||||
case Conf['Open catalog']:
|
||||
if (Conf['External Catalog']) {
|
||||
@ -13289,6 +13311,7 @@
|
||||
g.VIEW = (function() {
|
||||
switch (pathname[2]) {
|
||||
case 'res':
|
||||
case 'thread':
|
||||
return 'thread';
|
||||
case 'catalog':
|
||||
return 'catalog';
|
||||
|
||||
@ -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/crx.crx' version='1.7.7' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/crx.crx' version='1.7.8' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "4chan-X",
|
||||
"version": "1.7.7",
|
||||
"version": "1.7.8",
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"meta": {
|
||||
"name": "4chan X",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user