diff --git a/CHANGELOG.md b/CHANGELOG.md
index bed10235c..545d41e41 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
### v1.10.6
+**v1.10.6.5** *(2015-03-24)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.6.5/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.6.5/builds/4chan-X-noupdate.crx "Chromium version")]
+- Fix updater beeping on filtered posts / your own posts.
+
**v1.10.6.4** *(2015-03-24)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.6.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.6.4/builds/4chan-X-noupdate.crx "Chromium version")]
- Merge v1.10.5.6: Fix QR file/submit button focus indication in Firefox.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 8b0f08c17..a85a5814b 100644
Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ
diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js
index 5bd13e403..1686cd753 100644
--- a/builds/4chan-X-beta.meta.js
+++ b/builds/4chan-X-beta.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.10.6.4
+// @version 1.10.6.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js
index 474cfdc48..fb5d49bbd 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
-// @version 1.10.6.4
+// @version 1.10.6.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.10.6.4',
+ VERSION: '1.10.6.5',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@@ -12315,7 +12315,7 @@
return new Notice('info', "The thread is " + change + ".", 30);
},
parse: function(req) {
- var ID, OP, board, deletedFiles, deletedPosts, files, firstPost, index, ipCountEl, k, lastPost, len1, len2, len3, len4, newPosts, node, post, postObject, postObjects, posts, q, ref, ref1, ref2, ref3, scroll, thread, u, w;
+ var ID, OP, board, deletedFiles, deletedPosts, files, firstPost, index, ipCountEl, k, lastPost, len1, len2, len3, len4, newPosts, node, post, postObject, postObjects, posts, q, ref, ref1, ref2, ref3, ref4, ref5, scroll, thread, u, unreadCount, w;
postObjects = req.response.posts;
OP = postObjects[0];
thread = ThreadUpdater.thread;
@@ -12385,7 +12385,9 @@
} else {
ThreadUpdater.set('status', "+" + posts.length, 'new');
ThreadUpdater.outdateCount = 0;
- if (Conf['Beep'] && d.hidden && Unread.posts && !Unread.posts.size) {
+ unreadCount = (ref4 = Unread.posts) != null ? ref4.size : void 0;
+ Main.callbackNodes(Post, posts);
+ if (Conf['Beep'] && d.hidden && unreadCount === 0 && ((ref5 = Unread.posts) != null ? ref5.size : void 0)) {
if (!ThreadUpdater.audio) {
ThreadUpdater.audio = $.el('audio', {
src: ThreadUpdater.beep
@@ -12393,7 +12395,6 @@
}
ThreadUpdater.audio.play();
}
- Main.callbackNodes(Post, posts);
scroll = Conf['Auto Scroll'] && ThreadUpdater.scrollBG() && ThreadUpdater.root.getBoundingClientRect().bottom - doc.clientHeight < 25;
firstPost = null;
for (w = 0, len4 = posts.length; w < len4; w++) {
@@ -13416,7 +13417,7 @@
return Unread.hr.hidden = Unread.linePosition === Unread.order.last;
},
update: function() {
- var count, countQuotingYou, titleCount, titleDead, titleQuotingYou;
+ var count, countQuotingYou, isDead, titleCount, titleDead, titleQuotingYou;
count = Unread.posts.size;
countQuotingYou = Unread.postsQuotingYou.size;
if (Conf['Unread Count']) {
@@ -13432,11 +13433,13 @@
quotingYou: countQuotingYou
});
}
- if (!Conf['Unread Favicon']) {
- return;
+ if (Conf['Unread Favicon']) {
+ isDead = Unread.thread.isDead;
+ Favicon.el.href = countQuotingYou ? Favicon[isDead ? 'unreadDeadY' : 'unreadY'] : count ? Favicon[isDead ? 'unreadDead' : 'unread'] : Favicon[isDead ? 'dead' : 'default'];
+ if (typeof chrome === "undefined" || chrome === null) {
+ return $.add(d.head, Favicon.el);
+ }
}
- Favicon.el.href = Unread.thread.isDead ? countQuotingYou ? Favicon.unreadDeadY : count ? Favicon.unreadDead : Favicon.dead : count ? countQuotingYou ? Favicon.unreadY : Favicon.unread : Favicon["default"];
- return $.add(d.head, Favicon.el);
}
};
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index e89bea7cc..a714cafe1 100644
Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ
diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js
index 607d961a6..b32b25e46 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.10.6.4
+// @version 1.10.6.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -394,7 +394,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.10.6.4',
+ VERSION: '1.10.6.5',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@@ -12314,7 +12314,7 @@
return new Notice('info', "The thread is " + change + ".", 30);
},
parse: function(req) {
- var ID, OP, board, deletedFiles, deletedPosts, files, firstPost, index, ipCountEl, k, lastPost, len1, len2, len3, len4, newPosts, node, post, postObject, postObjects, posts, q, ref, ref1, ref2, ref3, scroll, thread, u, w;
+ var ID, OP, board, deletedFiles, deletedPosts, files, firstPost, index, ipCountEl, k, lastPost, len1, len2, len3, len4, newPosts, node, post, postObject, postObjects, posts, q, ref, ref1, ref2, ref3, ref4, ref5, scroll, thread, u, unreadCount, w;
postObjects = req.response.posts;
OP = postObjects[0];
thread = ThreadUpdater.thread;
@@ -12384,7 +12384,9 @@
} else {
ThreadUpdater.set('status', "+" + posts.length, 'new');
ThreadUpdater.outdateCount = 0;
- if (Conf['Beep'] && d.hidden && Unread.posts && !Unread.posts.size) {
+ unreadCount = (ref4 = Unread.posts) != null ? ref4.size : void 0;
+ Main.callbackNodes(Post, posts);
+ if (Conf['Beep'] && d.hidden && unreadCount === 0 && ((ref5 = Unread.posts) != null ? ref5.size : void 0)) {
if (!ThreadUpdater.audio) {
ThreadUpdater.audio = $.el('audio', {
src: ThreadUpdater.beep
@@ -12392,7 +12394,6 @@
}
ThreadUpdater.audio.play();
}
- Main.callbackNodes(Post, posts);
scroll = Conf['Auto Scroll'] && ThreadUpdater.scrollBG() && ThreadUpdater.root.getBoundingClientRect().bottom - doc.clientHeight < 25;
firstPost = null;
for (w = 0, len4 = posts.length; w < len4; w++) {
@@ -13415,7 +13416,7 @@
return Unread.hr.hidden = Unread.linePosition === Unread.order.last;
},
update: function() {
- var count, countQuotingYou, titleCount, titleDead, titleQuotingYou;
+ var count, countQuotingYou, isDead, titleCount, titleDead, titleQuotingYou;
count = Unread.posts.size;
countQuotingYou = Unread.postsQuotingYou.size;
if (Conf['Unread Count']) {
@@ -13431,11 +13432,13 @@
quotingYou: countQuotingYou
});
}
- if (!Conf['Unread Favicon']) {
- return;
+ if (Conf['Unread Favicon']) {
+ isDead = Unread.thread.isDead;
+ Favicon.el.href = countQuotingYou ? Favicon[isDead ? 'unreadDeadY' : 'unreadY'] : count ? Favicon[isDead ? 'unreadDead' : 'unread'] : Favicon[isDead ? 'dead' : 'default'];
+ if (typeof chrome === "undefined" || chrome === null) {
+ return $.add(d.head, Favicon.el);
+ }
}
- Favicon.el.href = Unread.thread.isDead ? countQuotingYou ? Favicon.unreadDeadY : count ? Favicon.unreadDead : Favicon.dead : count ? countQuotingYou ? Favicon.unreadY : Favicon.unread : Favicon["default"];
- return $.add(d.head, Favicon.el);
}
};
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index e043de47b..53455eb00 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index 9bb4f112e..ea760472e 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.10.6.4
+// @version 1.10.6.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 1c9b28005..5b4907eff 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.10.6.4
+// @version 1.10.6.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.10.6.4',
+ VERSION: '1.10.6.5',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@@ -12315,7 +12315,7 @@
return new Notice('info', "The thread is " + change + ".", 30);
},
parse: function(req) {
- var ID, OP, board, deletedFiles, deletedPosts, files, firstPost, index, ipCountEl, k, lastPost, len1, len2, len3, len4, newPosts, node, post, postObject, postObjects, posts, q, ref, ref1, ref2, ref3, scroll, thread, u, w;
+ var ID, OP, board, deletedFiles, deletedPosts, files, firstPost, index, ipCountEl, k, lastPost, len1, len2, len3, len4, newPosts, node, post, postObject, postObjects, posts, q, ref, ref1, ref2, ref3, ref4, ref5, scroll, thread, u, unreadCount, w;
postObjects = req.response.posts;
OP = postObjects[0];
thread = ThreadUpdater.thread;
@@ -12385,7 +12385,9 @@
} else {
ThreadUpdater.set('status', "+" + posts.length, 'new');
ThreadUpdater.outdateCount = 0;
- if (Conf['Beep'] && d.hidden && Unread.posts && !Unread.posts.size) {
+ unreadCount = (ref4 = Unread.posts) != null ? ref4.size : void 0;
+ Main.callbackNodes(Post, posts);
+ if (Conf['Beep'] && d.hidden && unreadCount === 0 && ((ref5 = Unread.posts) != null ? ref5.size : void 0)) {
if (!ThreadUpdater.audio) {
ThreadUpdater.audio = $.el('audio', {
src: ThreadUpdater.beep
@@ -12393,7 +12395,6 @@
}
ThreadUpdater.audio.play();
}
- Main.callbackNodes(Post, posts);
scroll = Conf['Auto Scroll'] && ThreadUpdater.scrollBG() && ThreadUpdater.root.getBoundingClientRect().bottom - doc.clientHeight < 25;
firstPost = null;
for (w = 0, len4 = posts.length; w < len4; w++) {
@@ -13416,7 +13417,7 @@
return Unread.hr.hidden = Unread.linePosition === Unread.order.last;
},
update: function() {
- var count, countQuotingYou, titleCount, titleDead, titleQuotingYou;
+ var count, countQuotingYou, isDead, titleCount, titleDead, titleQuotingYou;
count = Unread.posts.size;
countQuotingYou = Unread.postsQuotingYou.size;
if (Conf['Unread Count']) {
@@ -13432,11 +13433,13 @@
quotingYou: countQuotingYou
});
}
- if (!Conf['Unread Favicon']) {
- return;
+ if (Conf['Unread Favicon']) {
+ isDead = Unread.thread.isDead;
+ Favicon.el.href = countQuotingYou ? Favicon[isDead ? 'unreadDeadY' : 'unreadY'] : count ? Favicon[isDead ? 'unreadDead' : 'unread'] : Favicon[isDead ? 'dead' : 'default'];
+ if (typeof chrome === "undefined" || chrome === null) {
+ return $.add(d.head, Favicon.el);
+ }
}
- Favicon.el.href = Unread.thread.isDead ? countQuotingYou ? Favicon.unreadDeadY : count ? Favicon.unreadDead : Favicon.dead : count ? countQuotingYou ? Favicon.unreadY : Favicon.unread : Favicon["default"];
- return $.add(d.head, Favicon.el);
}
};
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 9e39f13b8..3344f1161 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index af3945f9f..d936907bc 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.xml b/builds/updates.xml
index 8b0f4fb6f..5f0b3a755 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/package.json b/package.json
index c0c10822b..726737fb7 100755
--- a/package.json
+++ b/package.json
@@ -3,8 +3,8 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",
- "version": "1.10.6.4",
- "date": "2015-03-24T17:20:04.895Z",
+ "version": "1.10.6.5",
+ "date": "2015-03-25T04:33:38.095Z",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",