Release 4chan X v1.10.11.4.

This commit is contained in:
ccd0 2015-04-26 11:29:13 -07:00
parent 9f148f2514
commit ff9be49d77
13 changed files with 45 additions and 30 deletions

View File

@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
### v1.10.11
**v1.10.11.4** *(2015-04-26)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.11.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.11.4/builds/4chan-X-noupdate.crx "Chromium version")]
- Don't apply filters to the unread post count in the thread watcher, but do apply them to unread posts quoting you.
**v1.10.11.3** *(2015-04-26)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.11.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.11.3/builds/4chan-X-noupdate.crx "Chromium version")]
- Merge v1.10.10.4: Possible fix for bug causing scrolling to the top of the page upon loading image captcha.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.10.11.3
// @version 1.10.11.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
// @version 1.10.11.3
// @version 1.10.11.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -396,7 +396,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.11.3',
VERSION: '1.10.11.4',
NAMESPACE: '4chan X.',
boards: {}
};
@ -12793,7 +12793,7 @@
});
},
parseStatus: function(arg) {
var boardID, data, fetchCount, isDead, k, lastReadPost, len1, match, postObj, quotingYou, ref, ref1, regexp, status, threadID, unread;
var boardID, data, fetchCount, isDead, k, lastReadPost, len1, match, postObj, quotesYou, quotingYou, ref, ref1, regexp, status, threadID, unread;
boardID = arg.boardID, threadID = arg.threadID, data = arg.data;
fetchCount = ThreadWatcher.fetchCount;
fetchCount.fetched++;
@ -12835,13 +12835,11 @@
}) : void 0) {
continue;
}
if (Filter.isHidden(Build.parseJSON(postObj, boardID))) {
continue;
}
unread++;
if (!(QR.db && postObj.com)) {
continue;
}
quotesYou = false;
regexp = /<a [^>]*\bhref="(?:\/([^\/]+)\/thread\/(\d+))?(?:#p(\d+))?"/g;
while (match = regexp.exec(postObj.com)) {
if (QR.db.get({
@ -12849,10 +12847,13 @@
threadID: match[2] || threadID,
postID: match[3] || match[2] || threadID
})) {
quotingYou++;
continue;
quotesYou = true;
break;
}
}
if (quotesYou && !Filter.isHidden(Build.parseJSON(postObj, boardID))) {
quotingYou++;
}
}
if (isDead !== data.isDead || unread !== data.unread || quotingYou !== data.quotingYou) {
data.isDead = isDead;
@ -13422,6 +13423,9 @@
},
read: $.debounce(100, function(e) {
var ID, count, data, height, ref, ref1, root;
if (!Unread.posts.size && Unread.readCount !== Unread.thread.posts.keys.length) {
Unread.saveLastReadPost();
}
if (d.hidden || !Unread.posts.size) {
return;
}

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.10.11.3
// @version 1.10.11.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.11.3',
VERSION: '1.10.11.4',
NAMESPACE: '4chan X.',
boards: {}
};
@ -12792,7 +12792,7 @@
});
},
parseStatus: function(arg) {
var boardID, data, fetchCount, isDead, k, lastReadPost, len1, match, postObj, quotingYou, ref, ref1, regexp, status, threadID, unread;
var boardID, data, fetchCount, isDead, k, lastReadPost, len1, match, postObj, quotesYou, quotingYou, ref, ref1, regexp, status, threadID, unread;
boardID = arg.boardID, threadID = arg.threadID, data = arg.data;
fetchCount = ThreadWatcher.fetchCount;
fetchCount.fetched++;
@ -12834,13 +12834,11 @@
}) : void 0) {
continue;
}
if (Filter.isHidden(Build.parseJSON(postObj, boardID))) {
continue;
}
unread++;
if (!(QR.db && postObj.com)) {
continue;
}
quotesYou = false;
regexp = /<a [^>]*\bhref="(?:\/([^\/]+)\/thread\/(\d+))?(?:#p(\d+))?"/g;
while (match = regexp.exec(postObj.com)) {
if (QR.db.get({
@ -12848,10 +12846,13 @@
threadID: match[2] || threadID,
postID: match[3] || match[2] || threadID
})) {
quotingYou++;
continue;
quotesYou = true;
break;
}
}
if (quotesYou && !Filter.isHidden(Build.parseJSON(postObj, boardID))) {
quotingYou++;
}
}
if (isDead !== data.isDead || unread !== data.unread || quotingYou !== data.quotingYou) {
data.isDead = isDead;
@ -13421,6 +13422,9 @@
},
read: $.debounce(100, function(e) {
var ID, count, data, height, ref, ref1, root;
if (!Unread.posts.size && Unread.readCount !== Unread.thread.posts.keys.length) {
Unread.saveLastReadPost();
}
if (d.hidden || !Unread.posts.size) {
return;
}

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.10.11.3
// @version 1.10.11.4
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -396,7 +396,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.11.3',
VERSION: '1.10.11.4',
NAMESPACE: '4chan X.',
boards: {}
};
@ -12793,7 +12793,7 @@
});
},
parseStatus: function(arg) {
var boardID, data, fetchCount, isDead, k, lastReadPost, len1, match, postObj, quotingYou, ref, ref1, regexp, status, threadID, unread;
var boardID, data, fetchCount, isDead, k, lastReadPost, len1, match, postObj, quotesYou, quotingYou, ref, ref1, regexp, status, threadID, unread;
boardID = arg.boardID, threadID = arg.threadID, data = arg.data;
fetchCount = ThreadWatcher.fetchCount;
fetchCount.fetched++;
@ -12835,13 +12835,11 @@
}) : void 0) {
continue;
}
if (Filter.isHidden(Build.parseJSON(postObj, boardID))) {
continue;
}
unread++;
if (!(QR.db && postObj.com)) {
continue;
}
quotesYou = false;
regexp = /<a [^>]*\bhref="(?:\/([^\/]+)\/thread\/(\d+))?(?:#p(\d+))?"/g;
while (match = regexp.exec(postObj.com)) {
if (QR.db.get({
@ -12849,10 +12847,13 @@
threadID: match[2] || threadID,
postID: match[3] || match[2] || threadID
})) {
quotingYou++;
continue;
quotesYou = true;
break;
}
}
if (quotesYou && !Filter.isHidden(Build.parseJSON(postObj, boardID))) {
quotingYou++;
}
}
if (isDead !== data.isDead || unread !== data.unread || quotingYou !== data.quotingYou) {
data.isDead = isDead;
@ -13422,6 +13423,9 @@
},
read: $.debounce(100, function(e) {
var ID, count, data, height, ref, ref1, root;
if (!Unread.posts.size && Unread.readCount !== Unread.thread.posts.keys.length) {
Unread.saveLastReadPost();
}
if (d.hidden || !Unread.posts.size) {
return;
}

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

View File

@ -3,8 +3,8 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",
"version": "1.10.11.3",
"date": "2015-04-26T10:47:01.655Z",
"version": "1.10.11.4",
"date": "2015-04-26T18:27:45.404Z",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",