From 7aed6cf2a8d716f3d97f0938e806e96ec1739932 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 6 Apr 2014 12:31:32 -0700 Subject: [PATCH] restore Quoted Title --- builds/4chan-X.user.js | 2 +- builds/crx/script.js | 2 +- src/Monitoring/Unread.coffee | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 790422594..533e964f9 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -10805,7 +10805,7 @@ var count; count = Unread.posts.length; if (Conf['Unread Count']) { - d.title = "" + (count || !Conf['Hide Unread Count at (0)'] ? "(" + count + ") " : '') + (g.DEAD ? Unread.title.replace('-', '- 404 -') : Unread.title); + d.title = "" + (Conf['Quoted Title'] && Unread.postsQuotingYou.length ? '(!) ' : '') + (count || !Conf['Hide Unread Count at (0)'] ? "(" + count + ") " : '') + (g.DEAD ? "/" + g.BOARD + "/ - 404" : "" + Unread.title); } if (!Conf['Unread Favicon']) { return; diff --git a/builds/crx/script.js b/builds/crx/script.js index c09e4e100..7e5d8ef91 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -10822,7 +10822,7 @@ var count; count = Unread.posts.length; if (Conf['Unread Count']) { - d.title = "" + (count || !Conf['Hide Unread Count at (0)'] ? "(" + count + ") " : '') + (g.DEAD ? Unread.title.replace('-', '- 404 -') : Unread.title); + d.title = "" + (Conf['Quoted Title'] && Unread.postsQuotingYou.length ? '(!) ' : '') + (count || !Conf['Hide Unread Count at (0)'] ? "(" + count + ") " : '') + (g.DEAD ? "/" + g.BOARD + "/ - 404" : "" + Unread.title); } if (!Conf['Unread Favicon']) { return; diff --git a/src/Monitoring/Unread.coffee b/src/Monitoring/Unread.coffee index 4214248df..a22e4e013 100755 --- a/src/Monitoring/Unread.coffee +++ b/src/Monitoring/Unread.coffee @@ -186,7 +186,7 @@ Unread = count = Unread.posts.length if Conf['Unread Count'] - d.title = "#{if count or !Conf['Hide Unread Count at (0)'] then "(#{count}) " else ''}#{if g.DEAD then Unread.title.replace '-', '- 404 -' else Unread.title}" + d.title = "#{if Conf['Quoted Title'] and Unread.postsQuotingYou.length then '(!) ' else ''}#{if count or !Conf['Hide Unread Count at (0)'] then "(#{count}) " else ''}#{if g.DEAD then "/#{g.BOARD}/ - 404" else "#{Unread.title}"}" return unless Conf['Unread Favicon']