Release 4chan X v1.9.1.2.
This commit is contained in:
parent
3f34a3b6aa
commit
1e7b759b4e
@ -1,3 +1,9 @@
|
||||
### v1.9.1.2
|
||||
*2014-09-01*
|
||||
|
||||
**ccd0**
|
||||
- Confirm thread death in catalog, as in v1.9.0.7.
|
||||
|
||||
### v1.9.1.1
|
||||
*2014-09-01*
|
||||
|
||||
|
||||
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 4chan X - Version 1.9.1.1
|
||||
* 4chan X - Version 1.9.1.2
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.9.1.1
|
||||
// @version 1.9.1.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.9.1.1
|
||||
// @version 1.9.1.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -24,7 +24,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.9.1.1
|
||||
* 4chan X - Version 1.9.1.2
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -374,7 +374,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.9.1.1',
|
||||
VERSION: '1.9.1.2',
|
||||
NAMESPACE: '4chan X.',
|
||||
NAME: '4chan X',
|
||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||
@ -10166,7 +10166,7 @@
|
||||
return $.cb.value.call(this);
|
||||
},
|
||||
load: function(e) {
|
||||
var klass, req, text, _ref;
|
||||
var req;
|
||||
req = ThreadUpdater.req;
|
||||
switch (req.status) {
|
||||
case 200:
|
||||
@ -10180,15 +10180,38 @@
|
||||
}
|
||||
break;
|
||||
case 404:
|
||||
g.DEAD = true;
|
||||
ThreadUpdater.set('status', '404', 'warning');
|
||||
ThreadUpdater.kill();
|
||||
$.ajax("//a.4cdn.org/" + ThreadUpdater.thread.board + "/catalog.json", {
|
||||
onloadend: function() {
|
||||
var confirmed, page, thread, _i, _j, _len, _len1, _ref, _ref1;
|
||||
if (this.status === 200) {
|
||||
confirmed = true;
|
||||
_ref = this.response;
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
page = _ref[_i];
|
||||
_ref1 = page.threads;
|
||||
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
|
||||
thread = _ref1[_j];
|
||||
if (thread.no === ThreadUpdater.thread.ID) {
|
||||
confirmed = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
confirmed = false;
|
||||
}
|
||||
if (confirmed) {
|
||||
g.DEAD = true;
|
||||
ThreadUpdater.set('status', '404', 'warning');
|
||||
return ThreadUpdater.kill();
|
||||
} else {
|
||||
return ThreadUpdater.error(req);
|
||||
}
|
||||
}
|
||||
});
|
||||
break;
|
||||
default:
|
||||
ThreadUpdater.outdateCount++;
|
||||
ThreadUpdater.setInterval();
|
||||
_ref = req.status === 304 ? [null, null] : ["" + req.statusText + " (" + req.status + ")", 'warning'], text = _ref[0], klass = _ref[1];
|
||||
ThreadUpdater.set('status', text, klass);
|
||||
ThreadUpdater.error(req);
|
||||
}
|
||||
if (ThreadUpdater.postID) {
|
||||
return ThreadUpdater.cb.checkpost();
|
||||
@ -10204,6 +10227,13 @@
|
||||
threadID: ThreadUpdater.thread.fullID
|
||||
});
|
||||
},
|
||||
error: function(req) {
|
||||
var klass, text, _ref;
|
||||
ThreadUpdater.outdateCount++;
|
||||
ThreadUpdater.setInterval();
|
||||
_ref = req.status === 304 ? [null, null] : ["" + req.statusText + " (" + req.status + ")", 'warning'], text = _ref[0], klass = _ref[1];
|
||||
return ThreadUpdater.set('status', text, klass);
|
||||
},
|
||||
setInterval: function() {
|
||||
var cur, i, j, limit;
|
||||
i = ThreadUpdater.interval + 1;
|
||||
@ -12811,7 +12841,7 @@
|
||||
className: 'dialog'
|
||||
});
|
||||
$.extend(dialog, {
|
||||
innerHTML: "<nav><div class=sections-list></div><p class='imp-exp-result warning'></p><div class=credits><a class=export>Export</a> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href='https://github.com/ccd0/4chan-x' target=_blank>4chan X</a> | <a href='https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md' target=_blank>1.9.1.1</a> | <a href='https://github.com/ccd0/4chan-x/issues' target=_blank>Issues</a> | <a href=javascript:; class='close fa fa-times' title=Close></a></div></nav><div class=section-container><section></section></div>"
|
||||
innerHTML: "<nav><div class=sections-list></div><p class='imp-exp-result warning'></p><div class=credits><a class=export>Export</a> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href='https://github.com/ccd0/4chan-x' target=_blank>4chan X</a> | <a href='https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md' target=_blank>1.9.1.2</a> | <a href='https://github.com/ccd0/4chan-x/issues' target=_blank>Issues</a> | <a href=javascript:; class='close fa fa-times' title=Close></a></div></nav><div class=section-container><section></section></div>"
|
||||
});
|
||||
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
|
||||
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.9.1.1
|
||||
// @version 1.9.1.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -23,7 +23,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.9.1.1
|
||||
* 4chan X - Version 1.9.1.2
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -373,7 +373,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.9.1.1',
|
||||
VERSION: '1.9.1.2',
|
||||
NAMESPACE: '4chan X.',
|
||||
NAME: '4chan X',
|
||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||
@ -10165,7 +10165,7 @@
|
||||
return $.cb.value.call(this);
|
||||
},
|
||||
load: function(e) {
|
||||
var klass, req, text, _ref;
|
||||
var req;
|
||||
req = ThreadUpdater.req;
|
||||
switch (req.status) {
|
||||
case 200:
|
||||
@ -10179,15 +10179,38 @@
|
||||
}
|
||||
break;
|
||||
case 404:
|
||||
g.DEAD = true;
|
||||
ThreadUpdater.set('status', '404', 'warning');
|
||||
ThreadUpdater.kill();
|
||||
$.ajax("//a.4cdn.org/" + ThreadUpdater.thread.board + "/catalog.json", {
|
||||
onloadend: function() {
|
||||
var confirmed, page, thread, _i, _j, _len, _len1, _ref, _ref1;
|
||||
if (this.status === 200) {
|
||||
confirmed = true;
|
||||
_ref = this.response;
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
page = _ref[_i];
|
||||
_ref1 = page.threads;
|
||||
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
|
||||
thread = _ref1[_j];
|
||||
if (thread.no === ThreadUpdater.thread.ID) {
|
||||
confirmed = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
confirmed = false;
|
||||
}
|
||||
if (confirmed) {
|
||||
g.DEAD = true;
|
||||
ThreadUpdater.set('status', '404', 'warning');
|
||||
return ThreadUpdater.kill();
|
||||
} else {
|
||||
return ThreadUpdater.error(req);
|
||||
}
|
||||
}
|
||||
});
|
||||
break;
|
||||
default:
|
||||
ThreadUpdater.outdateCount++;
|
||||
ThreadUpdater.setInterval();
|
||||
_ref = req.status === 304 ? [null, null] : ["" + req.statusText + " (" + req.status + ")", 'warning'], text = _ref[0], klass = _ref[1];
|
||||
ThreadUpdater.set('status', text, klass);
|
||||
ThreadUpdater.error(req);
|
||||
}
|
||||
if (ThreadUpdater.postID) {
|
||||
return ThreadUpdater.cb.checkpost();
|
||||
@ -10203,6 +10226,13 @@
|
||||
threadID: ThreadUpdater.thread.fullID
|
||||
});
|
||||
},
|
||||
error: function(req) {
|
||||
var klass, text, _ref;
|
||||
ThreadUpdater.outdateCount++;
|
||||
ThreadUpdater.setInterval();
|
||||
_ref = req.status === 304 ? [null, null] : ["" + req.statusText + " (" + req.status + ")", 'warning'], text = _ref[0], klass = _ref[1];
|
||||
return ThreadUpdater.set('status', text, klass);
|
||||
},
|
||||
setInterval: function() {
|
||||
var cur, i, j, limit;
|
||||
i = ThreadUpdater.interval + 1;
|
||||
@ -12810,7 +12840,7 @@
|
||||
className: 'dialog'
|
||||
});
|
||||
$.extend(dialog, {
|
||||
innerHTML: "<nav><div class=sections-list></div><p class='imp-exp-result warning'></p><div class=credits><a class=export>Export</a> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href='https://github.com/ccd0/4chan-x' target=_blank>4chan X</a> | <a href='https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md' target=_blank>1.9.1.1</a> | <a href='https://github.com/ccd0/4chan-x/issues' target=_blank>Issues</a> | <a href=javascript:; class='close fa fa-times' title=Close></a></div></nav><div class=section-container><section></section></div>"
|
||||
innerHTML: "<nav><div class=sections-list></div><p class='imp-exp-result warning'></p><div class=credits><a class=export>Export</a> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href='https://github.com/ccd0/4chan-x' target=_blank>4chan X</a> | <a href='https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md' target=_blank>1.9.1.2</a> | <a href='https://github.com/ccd0/4chan-x/issues' target=_blank>Issues</a> | <a href=javascript:; class='close fa fa-times' title=Close></a></div></nav><div class=section-container><section></section></div>"
|
||||
});
|
||||
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
|
||||
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.9.1.1
|
||||
// @version 1.9.1.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.9.1.1
|
||||
// @version 1.9.1.2
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -24,7 +24,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.9.1.1
|
||||
* 4chan X - Version 1.9.1.2
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||
@ -374,7 +374,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.9.1.1',
|
||||
VERSION: '1.9.1.2',
|
||||
NAMESPACE: '4chan X.',
|
||||
NAME: '4chan X',
|
||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||
@ -10166,7 +10166,7 @@
|
||||
return $.cb.value.call(this);
|
||||
},
|
||||
load: function(e) {
|
||||
var klass, req, text, _ref;
|
||||
var req;
|
||||
req = ThreadUpdater.req;
|
||||
switch (req.status) {
|
||||
case 200:
|
||||
@ -10180,15 +10180,38 @@
|
||||
}
|
||||
break;
|
||||
case 404:
|
||||
g.DEAD = true;
|
||||
ThreadUpdater.set('status', '404', 'warning');
|
||||
ThreadUpdater.kill();
|
||||
$.ajax("//a.4cdn.org/" + ThreadUpdater.thread.board + "/catalog.json", {
|
||||
onloadend: function() {
|
||||
var confirmed, page, thread, _i, _j, _len, _len1, _ref, _ref1;
|
||||
if (this.status === 200) {
|
||||
confirmed = true;
|
||||
_ref = this.response;
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
page = _ref[_i];
|
||||
_ref1 = page.threads;
|
||||
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
|
||||
thread = _ref1[_j];
|
||||
if (thread.no === ThreadUpdater.thread.ID) {
|
||||
confirmed = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
confirmed = false;
|
||||
}
|
||||
if (confirmed) {
|
||||
g.DEAD = true;
|
||||
ThreadUpdater.set('status', '404', 'warning');
|
||||
return ThreadUpdater.kill();
|
||||
} else {
|
||||
return ThreadUpdater.error(req);
|
||||
}
|
||||
}
|
||||
});
|
||||
break;
|
||||
default:
|
||||
ThreadUpdater.outdateCount++;
|
||||
ThreadUpdater.setInterval();
|
||||
_ref = req.status === 304 ? [null, null] : ["" + req.statusText + " (" + req.status + ")", 'warning'], text = _ref[0], klass = _ref[1];
|
||||
ThreadUpdater.set('status', text, klass);
|
||||
ThreadUpdater.error(req);
|
||||
}
|
||||
if (ThreadUpdater.postID) {
|
||||
return ThreadUpdater.cb.checkpost();
|
||||
@ -10204,6 +10227,13 @@
|
||||
threadID: ThreadUpdater.thread.fullID
|
||||
});
|
||||
},
|
||||
error: function(req) {
|
||||
var klass, text, _ref;
|
||||
ThreadUpdater.outdateCount++;
|
||||
ThreadUpdater.setInterval();
|
||||
_ref = req.status === 304 ? [null, null] : ["" + req.statusText + " (" + req.status + ")", 'warning'], text = _ref[0], klass = _ref[1];
|
||||
return ThreadUpdater.set('status', text, klass);
|
||||
},
|
||||
setInterval: function() {
|
||||
var cur, i, j, limit;
|
||||
i = ThreadUpdater.interval + 1;
|
||||
@ -12811,7 +12841,7 @@
|
||||
className: 'dialog'
|
||||
});
|
||||
$.extend(dialog, {
|
||||
innerHTML: "<nav><div class=sections-list></div><p class='imp-exp-result warning'></p><div class=credits><a class=export>Export</a> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href='https://github.com/ccd0/4chan-x' target=_blank>4chan X</a> | <a href='https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md' target=_blank>1.9.1.1</a> | <a href='https://github.com/ccd0/4chan-x/issues' target=_blank>Issues</a> | <a href=javascript:; class='close fa fa-times' title=Close></a></div></nav><div class=section-container><section></section></div>"
|
||||
innerHTML: "<nav><div class=sections-list></div><p class='imp-exp-result warning'></p><div class=credits><a class=export>Export</a> | <a class=import>Import</a> | <a class=reset>Reset Settings</a> | <input type=file hidden><a href='https://github.com/ccd0/4chan-x' target=_blank>4chan X</a> | <a href='https://github.com/ccd0/4chan-x/blob/master/CHANGELOG.md' target=_blank>1.9.1.2</a> | <a href='https://github.com/ccd0/4chan-x/issues' target=_blank>Issues</a> | <a href=javascript:; class='close fa fa-times' title=Close></a></div></nav><div class=section-container><section></section></div>"
|
||||
});
|
||||
$.on($('.export', Settings.dialog), 'click', Settings["export"]);
|
||||
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
|
||||
|
||||
Binary file not shown.
@ -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.1.1' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.9.1.2' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -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.1.1' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.9.1.2' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"meta": {
|
||||
"name": "4chan X",
|
||||
"version": "1.9.1.1",
|
||||
"version": "1.9.1.2",
|
||||
"repo": "https://github.com/ccd0/4chan-x/",
|
||||
"page": "https://github.com/ccd0/4chan-x",
|
||||
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user