Don't backlink OP on board.
This commit is contained in:
parent
e35a574829
commit
b11d534313
@ -2,7 +2,7 @@
|
|||||||
// @name 4chan x
|
// @name 4chan x
|
||||||
// @namespace aeosynth
|
// @namespace aeosynth
|
||||||
// @description Adds various features.
|
// @description Adds various features.
|
||||||
// @version 2.6.0
|
// @version 2.7.0
|
||||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
||||||
// @include http://boards.4chan.org/*
|
// @include http://boards.4chan.org/*
|
||||||
@ -1681,7 +1681,7 @@
|
|||||||
var el, id, link, qid, quote, quotes, tid, _i, _len, _ref, _results;
|
var el, id, link, qid, quote, quotes, tid, _i, _len, _ref, _results;
|
||||||
id = root.id || $('td[id]', root).id;
|
id = root.id || $('td[id]', root).id;
|
||||||
quotes = {};
|
quotes = {};
|
||||||
tid = g.THREAD_ID;
|
tid = g.THREAD_ID || root.parentNode.firstChild.id;
|
||||||
_ref = $$('a.quotelink', root);
|
_ref = $$('a.quotelink', root);
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
quote = _ref[_i];
|
quote = _ref[_i];
|
||||||
|
|||||||
@ -1352,7 +1352,7 @@ quoteBacklink =
|
|||||||
#better coffee-script way of doing this?
|
#better coffee-script way of doing this?
|
||||||
id = root.id or $('td[id]', root).id
|
id = root.id or $('td[id]', root).id
|
||||||
quotes = {}
|
quotes = {}
|
||||||
tid = g.THREAD_ID
|
tid = g.THREAD_ID or root.parentNode.firstChild.id
|
||||||
for quote in $$ 'a.quotelink', root
|
for quote in $$ 'a.quotelink', root
|
||||||
continue unless qid = quote.textContent.match /\d+/
|
continue unless qid = quote.textContent.match /\d+/
|
||||||
[qid] = qid
|
[qid] = qid
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user