Release 4chan X v1.9.2.7.
This commit is contained in:
parent
9cdac0c9f4
commit
ac84b666ec
@ -1,3 +1,9 @@
|
|||||||
|
### v1.9.2.7
|
||||||
|
*2014-09-10*
|
||||||
|
|
||||||
|
**ccd0**
|
||||||
|
- Quote fetching bugfix.
|
||||||
|
|
||||||
### v1.9.2.6
|
### v1.9.2.6
|
||||||
*2014-09-09*
|
*2014-09-09*
|
||||||
|
|
||||||
|
|||||||
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.9.2.6
|
* 4chan X - Version 1.9.2.7
|
||||||
*
|
*
|
||||||
* 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
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.9.2.6
|
// @version 1.9.2.7
|
||||||
// @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.9.2.6
|
// @version 1.9.2.7
|
||||||
// @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.9.2.6
|
* 4chan X - Version 1.9.2.7
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -376,7 +376,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.9.2.6',
|
VERSION: '1.9.2.7',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
NAME: '4chan X',
|
NAME: '4chan X',
|
||||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||||
@ -530,6 +530,7 @@
|
|||||||
cb.call(this, e);
|
cb.call(this, e);
|
||||||
}
|
}
|
||||||
this.evt = e;
|
this.evt = e;
|
||||||
|
this.cached = true;
|
||||||
return delete this.callbacks;
|
return delete this.callbacks;
|
||||||
});
|
});
|
||||||
$.on(req, 'abort error', rm);
|
$.on(req, 'abort error', rm);
|
||||||
@ -3463,7 +3464,7 @@
|
|||||||
return $.event('PostsInserted');
|
return $.event('PostsInserted');
|
||||||
},
|
},
|
||||||
fetchedPost: function(req, boardID, threadID, postID, root, context) {
|
fetchedPost: function(req, boardID, threadID, postID, root, context) {
|
||||||
var board, post, posts, status, thread, _i, _len;
|
var api, board, post, posts, status, thread, _i, _len;
|
||||||
if (post = g.posts["" + boardID + "." + postID]) {
|
if (post = g.posts["" + boardID + "." + postID]) {
|
||||||
Get.insert(post, root, context);
|
Get.insert(post, root, context);
|
||||||
return;
|
return;
|
||||||
@ -3485,6 +3486,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (post.no !== postID) {
|
if (post.no !== postID) {
|
||||||
|
if (req.cached) {
|
||||||
|
api = "//a.4cdn.org/" + boardID + "/thread/" + threadID + ".json";
|
||||||
|
$.cleanCache(function(url) {
|
||||||
|
return url === api;
|
||||||
|
});
|
||||||
|
$.cache(api, function() {
|
||||||
|
return Get.fetchedPost(this, boardID, threadID, postID, root, context);
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!Get.archivedPost(boardID, postID, root, context)) {
|
if (!Get.archivedPost(boardID, postID, root, context)) {
|
||||||
$.addClass(root, 'warning');
|
$.addClass(root, 'warning');
|
||||||
root.textContent = "Post No." + postID + " was not found.";
|
root.textContent = "Post No." + postID + " was not found.";
|
||||||
@ -12950,7 +12961,7 @@
|
|||||||
className: 'dialog'
|
className: 'dialog'
|
||||||
});
|
});
|
||||||
$.extend(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.2.6</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.2.7</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($('.export', Settings.dialog), 'click', Settings["export"]);
|
||||||
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
|
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.9.2.6
|
// @version 1.9.2.7
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -23,7 +23,7 @@
|
|||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.9.2.6
|
* 4chan X - Version 1.9.2.7
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -375,7 +375,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.9.2.6',
|
VERSION: '1.9.2.7',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
NAME: '4chan X',
|
NAME: '4chan X',
|
||||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||||
@ -529,6 +529,7 @@
|
|||||||
cb.call(this, e);
|
cb.call(this, e);
|
||||||
}
|
}
|
||||||
this.evt = e;
|
this.evt = e;
|
||||||
|
this.cached = true;
|
||||||
return delete this.callbacks;
|
return delete this.callbacks;
|
||||||
});
|
});
|
||||||
$.on(req, 'abort error', rm);
|
$.on(req, 'abort error', rm);
|
||||||
@ -3462,7 +3463,7 @@
|
|||||||
return $.event('PostsInserted');
|
return $.event('PostsInserted');
|
||||||
},
|
},
|
||||||
fetchedPost: function(req, boardID, threadID, postID, root, context) {
|
fetchedPost: function(req, boardID, threadID, postID, root, context) {
|
||||||
var board, post, posts, status, thread, _i, _len;
|
var api, board, post, posts, status, thread, _i, _len;
|
||||||
if (post = g.posts["" + boardID + "." + postID]) {
|
if (post = g.posts["" + boardID + "." + postID]) {
|
||||||
Get.insert(post, root, context);
|
Get.insert(post, root, context);
|
||||||
return;
|
return;
|
||||||
@ -3484,6 +3485,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (post.no !== postID) {
|
if (post.no !== postID) {
|
||||||
|
if (req.cached) {
|
||||||
|
api = "//a.4cdn.org/" + boardID + "/thread/" + threadID + ".json";
|
||||||
|
$.cleanCache(function(url) {
|
||||||
|
return url === api;
|
||||||
|
});
|
||||||
|
$.cache(api, function() {
|
||||||
|
return Get.fetchedPost(this, boardID, threadID, postID, root, context);
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!Get.archivedPost(boardID, postID, root, context)) {
|
if (!Get.archivedPost(boardID, postID, root, context)) {
|
||||||
$.addClass(root, 'warning');
|
$.addClass(root, 'warning');
|
||||||
root.textContent = "Post No." + postID + " was not found.";
|
root.textContent = "Post No." + postID + " was not found.";
|
||||||
@ -12949,7 +12960,7 @@
|
|||||||
className: 'dialog'
|
className: 'dialog'
|
||||||
});
|
});
|
||||||
$.extend(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.2.6</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.2.7</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($('.export', Settings.dialog), 'click', Settings["export"]);
|
||||||
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
|
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.9.2.6
|
// @version 1.9.2.7
|
||||||
// @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.9.2.6
|
// @version 1.9.2.7
|
||||||
// @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.9.2.6
|
* 4chan X - Version 1.9.2.7
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -376,7 +376,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.9.2.6',
|
VERSION: '1.9.2.7',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
NAME: '4chan X',
|
NAME: '4chan X',
|
||||||
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
|
||||||
@ -530,6 +530,7 @@
|
|||||||
cb.call(this, e);
|
cb.call(this, e);
|
||||||
}
|
}
|
||||||
this.evt = e;
|
this.evt = e;
|
||||||
|
this.cached = true;
|
||||||
return delete this.callbacks;
|
return delete this.callbacks;
|
||||||
});
|
});
|
||||||
$.on(req, 'abort error', rm);
|
$.on(req, 'abort error', rm);
|
||||||
@ -3463,7 +3464,7 @@
|
|||||||
return $.event('PostsInserted');
|
return $.event('PostsInserted');
|
||||||
},
|
},
|
||||||
fetchedPost: function(req, boardID, threadID, postID, root, context) {
|
fetchedPost: function(req, boardID, threadID, postID, root, context) {
|
||||||
var board, post, posts, status, thread, _i, _len;
|
var api, board, post, posts, status, thread, _i, _len;
|
||||||
if (post = g.posts["" + boardID + "." + postID]) {
|
if (post = g.posts["" + boardID + "." + postID]) {
|
||||||
Get.insert(post, root, context);
|
Get.insert(post, root, context);
|
||||||
return;
|
return;
|
||||||
@ -3485,6 +3486,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (post.no !== postID) {
|
if (post.no !== postID) {
|
||||||
|
if (req.cached) {
|
||||||
|
api = "//a.4cdn.org/" + boardID + "/thread/" + threadID + ".json";
|
||||||
|
$.cleanCache(function(url) {
|
||||||
|
return url === api;
|
||||||
|
});
|
||||||
|
$.cache(api, function() {
|
||||||
|
return Get.fetchedPost(this, boardID, threadID, postID, root, context);
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!Get.archivedPost(boardID, postID, root, context)) {
|
if (!Get.archivedPost(boardID, postID, root, context)) {
|
||||||
$.addClass(root, 'warning');
|
$.addClass(root, 'warning');
|
||||||
root.textContent = "Post No." + postID + " was not found.";
|
root.textContent = "Post No." + postID + " was not found.";
|
||||||
@ -12950,7 +12961,7 @@
|
|||||||
className: 'dialog'
|
className: 'dialog'
|
||||||
});
|
});
|
||||||
$.extend(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.2.6</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.2.7</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($('.export', Settings.dialog), 'click', Settings["export"]);
|
||||||
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
|
$.on($('.import', Settings.dialog), 'click', Settings["import"]);
|
||||||
|
|||||||
Binary file not shown.
@ -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/4chan-X-beta.crx' version='1.9.2.6' />
|
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.9.2.7' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -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/4chan-X.crx' version='1.9.2.6' />
|
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.9.2.7' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"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",
|
||||||
"version": "1.9.2.6",
|
"version": "1.9.2.7",
|
||||||
"repo": "https://github.com/ccd0/4chan-x/",
|
"repo": "https://github.com/ccd0/4chan-x/",
|
||||||
"page": "https://github.com/ccd0/4chan-x",
|
"page": "https://github.com/ccd0/4chan-x",
|
||||||
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user