diff --git a/4chan_x.user.js b/4chan_x.user.js index 04aa557c2..6f7528878 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -138,6 +138,7 @@ }, filter: { name: ['# Filter any namefags:', '#/^(?!Anonymous$)/'].join('\n'), + uniqueid: ['# Filter a specific ID:', '#/Txhvk1Tl/'].join('\n'), tripcode: ['# Filter any tripfags', '#/^!/'].join('\n'), mod: ['# Set a custom class for mods:', '#/Mod$/;highlight:mod;op:yes', '# Set a custom class for moot:', '#/Admin$/;highlight:moot;op:yes'].join('\n'), email: ['# Filter any e-mails that are not `sage` on /a/ and /jp/:', '#/^(?!sage$)/;boards:a,jp'].join('\n'), @@ -630,6 +631,11 @@ name = post.isOP ? $('.postername', post.el) : $('.commentpostername', post.el); return name.textContent; }, + uniqueid: function(post) { + var uniqueid; + if (uniqueid = $('.posteruid', post.el)) return uniqueid.textContent; + return false; + }, tripcode: function(post) { var trip; if (trip = $('.postertrip', post.el)) return trip.textContent; @@ -2158,6 +2164,7 @@
top:yes or top:no.Name:
Unique ID:
Tripcode:
Admin/Mod:
E-mail:
top:yes or top:no.Name:
Unique ID:
Tripcode:
Admin/Mod:
E-mail: