Do not indicate duckrolls on >>>/v/ links.
This commit is contained in:
parent
0a03e393e7
commit
76e9c82a22
@ -121,7 +121,7 @@
|
|||||||
'Quote Inline': [true, 'Show quoted post inline on quote click'],
|
'Quote Inline': [true, 'Show quoted post inline on quote click'],
|
||||||
'Quote Preview': [true, 'Show quote content on hover'],
|
'Quote Preview': [true, 'Show quote content on hover'],
|
||||||
'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'],
|
'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes'],
|
||||||
'Indicate Duckrolls': [false, 'Add \'(Duckroll)\' to cross threads quotes']
|
'Indicate Duckrolls': [true, 'Add \'(Duckroll)\' to cross threads quotes']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
filter: {
|
filter: {
|
||||||
@ -2592,7 +2592,7 @@
|
|||||||
_results = [];
|
_results = [];
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
quote = _ref[_i];
|
quote = _ref[_i];
|
||||||
if (quote.pathname.indexOf("res/" + tid) === -1) {
|
if (quote.hash && quote.pathname.indexOf(tid) === -1) {
|
||||||
_results.push(quote.innerHTML += ' (Duckroll)');
|
_results.push(quote.innerHTML += ' (Duckroll)');
|
||||||
} else {
|
} else {
|
||||||
_results.push(void 0);
|
_results.push(void 0);
|
||||||
|
|||||||
@ -45,7 +45,7 @@ config =
|
|||||||
'Quote Inline': [true, 'Show quoted post inline on quote click']
|
'Quote Inline': [true, 'Show quoted post inline on quote click']
|
||||||
'Quote Preview': [true, 'Show quote content on hover']
|
'Quote Preview': [true, 'Show quote content on hover']
|
||||||
'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes']
|
'Indicate OP quote': [true, 'Add \'(OP)\' to OP quotes']
|
||||||
'Indicate Duckrolls': [false, 'Add \'(Duckroll)\' to cross threads quotes']
|
'Indicate Duckrolls': [true, 'Add \'(Duckroll)\' to cross threads quotes']
|
||||||
filter:
|
filter:
|
||||||
name: ''
|
name: ''
|
||||||
tripcode: ''
|
tripcode: ''
|
||||||
@ -2002,7 +2002,7 @@ quoteDR =
|
|||||||
return if root.className is 'inline'
|
return if root.className is 'inline'
|
||||||
tid = g.THREAD_ID or $.x('ancestor::div[contains(@class,"thread")]/div', root).id
|
tid = g.THREAD_ID or $.x('ancestor::div[contains(@class,"thread")]/div', root).id
|
||||||
for quote in $$ '.quotelink', root
|
for quote in $$ '.quotelink', root
|
||||||
if quote.pathname.indexOf("res/#{tid}") is -1
|
if quote.hash and quote.pathname.indexOf(tid) is -1
|
||||||
quote.innerHTML += ' (Duckroll)'
|
quote.innerHTML += ' (Duckroll)'
|
||||||
|
|
||||||
reportButton =
|
reportButton =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user