Quoted Title
This commit is contained in:
parent
57f37a3811
commit
722e2ebb5d
@ -209,6 +209,7 @@
|
||||
'Quote Highlighting': [true, 'Highlight the previewed post.'],
|
||||
'Resurrect Quotes': [true, 'Link dead quotes to the archives.'],
|
||||
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.'],
|
||||
'Quoted Title': ['Change the page title to reflect you\'ve been quoted.', false],
|
||||
'Highlight Posts Quoting You': [false, 'Highlights any posts that contain a quote to your post.'],
|
||||
'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.'],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
@ -7748,7 +7749,7 @@
|
||||
|
||||
count = Unread.posts.length;
|
||||
if (Conf['Unread Count']) {
|
||||
d.title = "" + (count || !Conf['Hide Unread Count at (0)'] ? "(" + count + ") " : '') + (g.DEAD ? "/" + g.BOARD + "/ - 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;
|
||||
|
||||
@ -210,6 +210,7 @@
|
||||
'Quote Highlighting': [true, 'Highlight the previewed post.'],
|
||||
'Resurrect Quotes': [true, 'Link dead quotes to the archives.'],
|
||||
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.'],
|
||||
'Quoted Title': ['Change the page title to reflect you\'ve been quoted.', false],
|
||||
'Highlight Posts Quoting You': [false, 'Highlights any posts that contain a quote to your post.'],
|
||||
'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.'],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
@ -7757,7 +7758,7 @@
|
||||
|
||||
count = Unread.posts.length;
|
||||
if (Conf['Unread Count']) {
|
||||
d.title = "" + (count || !Conf['Hide Unread Count at (0)'] ? "(" + count + ") " : '') + (g.DEAD ? "/" + g.BOARD + "/ - 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;
|
||||
|
||||
@ -191,6 +191,7 @@
|
||||
'Quote Highlighting': [true, 'Highlight the previewed post.'],
|
||||
'Resurrect Quotes': [true, 'Link dead quotes to the archives.'],
|
||||
'Mark Quotes of You': [true, 'Add \'(You)\' to quotes linking to your posts.'],
|
||||
'Quoted Title': ['Change the page title to reflect you\'ve been quoted.', false],
|
||||
'Highlight Posts Quoting You': [false, 'Highlights any posts that contain a quote to your post.'],
|
||||
'Highlight Own Posts': [false, 'Highlights own posts if Mark Quotes of You is enabled.'],
|
||||
'Mark OP Quotes': [true, 'Add \'(OP)\' to OP quotes.'],
|
||||
@ -7735,7 +7736,7 @@
|
||||
|
||||
count = Unread.posts.length;
|
||||
if (Conf['Unread Count']) {
|
||||
d.title = "" + (count || !Conf['Hide Unread Count at (0)'] ? "(" + count + ") " : '') + (g.DEAD ? "/" + g.BOARD + "/ - 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 (!dontrepeat) {
|
||||
setTimeout(function() {
|
||||
d.title = '';
|
||||
|
||||
@ -331,6 +331,10 @@ Config =
|
||||
true
|
||||
'Add \'(You)\' to quotes linking to your posts.'
|
||||
]
|
||||
'Quoted Title': [
|
||||
'Change the page title to reflect you\'ve been quoted.'
|
||||
false
|
||||
]
|
||||
'Highlight Posts Quoting You': [
|
||||
false
|
||||
'Highlights any posts that contain a quote to your post.'
|
||||
|
||||
@ -151,7 +151,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 "/#{g.BOARD}/ - 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}"}"
|
||||
<% if (type === 'crx') { %>
|
||||
# XXX Chrome bug where it doesn't always update the tab title.
|
||||
# crbug.com/124381
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user