diff --git a/CHANGELOG.md b/CHANGELOG.md
index b86323394..684aceb56 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
Sometimes the changelog has notes (not comprehensive) acknowledging people's work. This does not mean the changes are their fault, only that their code was used. All changes to the script are chosen by and the fault of the maintainer (ccd0).
+### v1.11.11
+
+**v1.11.11.0** *(2015-09-28)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.11.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.11.0/builds/4chan-X-noupdate.crx "Chromium version")]
+- Based on v1.11.10.6.
+- (Jonathan Gawrych) Add filtering by post number.
+
### v1.11.10
**v1.11.10.6** *(2015-09-24)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.10.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.10.6/builds/4chan-X-noupdate.crx "Chromium version")]
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index f56121e05..36dc7dc22 100644
Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ
diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js
index 7416d1f25..6ecf7f63b 100644
--- a/builds/4chan-X-beta.meta.js
+++ b/builds/4chan-X-beta.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.10.6
+// @version 1.11.11.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js
index fa51795fe..cff8f2808 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.10.6
+// @version 1.11.11.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -296,6 +296,7 @@
'Show Unread Count': [true, 'Show number of unread posts in watched threads.']
},
filter: {
+ postID: "# Highlight dubs on [s4s]:\n#/(\\d)\\1$/;highlight;top:no;boards:s4s",
name: "# Filter any namefags:\n#/^(?!Anonymous$)/",
uniqueID: "# Filter a specific ID:\n#/Txhvk1Tl/",
tripcode: "# Filter any tripfag\n#/^!/",
@@ -412,7 +413,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.10.6',
+ VERSION: '1.11.11.0',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -4235,15 +4236,14 @@
return Build.post(o, suppressThumb);
},
post: function(o, suppressThumb) {
- var boardID, capcode, capcodeDescription, capcodeLC, capcodeLong, capcodePlural, capcodeUC, commentHTML, container, dateText, dateUTC, email, file, fileBlock, fileThumb, fileURL, flag, flagCode, gifIcon, href, k, len1, match, name, postClass, postID, postInfo, postLink, protocol, quote, quoteLink, ref, ref1, shortFilename, staticPath, subject, threadID, tripcode, uniqueID, wholePost;
+ var boardID, capcode, capcodeDescription, capcodeLC, capcodeLong, capcodePlural, commentHTML, container, dateText, dateUTC, email, file, fileBlock, fileThumb, fileURL, flag, flagCode, gifIcon, href, k, len1, match, name, postClass, postID, postInfo, postLink, protocol, quote, quoteLink, ref, ref1, shortFilename, staticPath, subject, threadID, tripcode, uniqueID, wholePost;
postID = o.postID, threadID = o.threadID, boardID = o.boardID, file = o.file;
ref = o.info, subject = ref.subject, email = ref.email, name = ref.name, tripcode = ref.tripcode, capcode = ref.capcode, uniqueID = ref.uniqueID, flagCode = ref.flagCode, flag = ref.flag, dateUTC = ref.dateUTC, dateText = ref.dateText, commentHTML = ref.commentHTML;
staticPath = Build.staticPath, gifIcon = Build.gifIcon;
/* Post Info */
if (capcode) {
- capcodeUC = capcode.split(' ')[0];
- capcodeLC = capcodeUC.toLowerCase();
+ capcodeLC = capcode.toLowerCase();
if (capcode === 'Founder') {
capcodePlural = 'the Founder';
capcodeDescription = "4chan's Founder";
@@ -4259,7 +4259,7 @@
postLink = Build.postURL(boardID, threadID, postID);
quoteLink = Build.sameThread(boardID, threadID) ? "javascript:quote('" + (+postID) + "');" : "/" + boardID + "/thread/" + threadID + "#q" + postID;
postInfo = {
- innerHTML: "
"
+ innerHTML: ""
};
/* File Info */
@@ -5291,6 +5291,10 @@
}
return false;
},
+ postID: function(post) {
+ var ref;
+ return (ref = post.ID) != null ? ref : post.postID;
+ },
name: function(post) {
return post.info.name;
},
@@ -5347,7 +5351,7 @@
},
subEntries: []
};
- ref1 = [['Name', 'name'], ['Unique ID', 'uniqueID'], ['Tripcode', 'tripcode'], ['Capcode', 'capcode'], ['Subject', 'subject'], ['Comment', 'comment'], ['Flag', 'flag'], ['Filename', 'filename'], ['Image dimensions', 'dimensions'], ['Filesize', 'filesize'], ['Image MD5', 'MD5']];
+ ref1 = [['Post number', 'postID'], ['Name', 'name'], ['Unique ID', 'uniqueID'], ['Tripcode', 'tripcode'], ['Capcode', 'capcode'], ['Subject', 'subject'], ['Comment', 'comment'], ['Flag', 'flag'], ['Filename', 'filename'], ['Image dimensions', 'dimensions'], ['Filesize', 'filesize'], ['Image MD5', 'MD5']];
for (k = 0, len1 = ref1.length; k < len1; k++) {
type = ref1[k];
entry.subEntries.push(Filter.menu.createSubEntry(type[0], type[1]));
@@ -16837,7 +16841,7 @@
filter: function(section) {
var select;
$.extend(section, {
- innerHTML: ""
+ innerHTML: ""
});
select = $('select', section);
$.on(select, 'change', Settings.selectFilter);
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 035b81908..93177dcd3 100644
Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ
diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js
index 557d3d1a5..6e01c784e 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.10.6
+// @version 1.11.11.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -296,6 +296,7 @@
'Show Unread Count': [true, 'Show number of unread posts in watched threads.']
},
filter: {
+ postID: "# Highlight dubs on [s4s]:\n#/(\\d)\\1$/;highlight;top:no;boards:s4s",
name: "# Filter any namefags:\n#/^(?!Anonymous$)/",
uniqueID: "# Filter a specific ID:\n#/Txhvk1Tl/",
tripcode: "# Filter any tripfag\n#/^!/",
@@ -412,7 +413,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.10.6',
+ VERSION: '1.11.11.0',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -4235,15 +4236,14 @@
return Build.post(o, suppressThumb);
},
post: function(o, suppressThumb) {
- var boardID, capcode, capcodeDescription, capcodeLC, capcodeLong, capcodePlural, capcodeUC, commentHTML, container, dateText, dateUTC, email, file, fileBlock, fileThumb, fileURL, flag, flagCode, gifIcon, href, k, len1, match, name, postClass, postID, postInfo, postLink, protocol, quote, quoteLink, ref, ref1, shortFilename, staticPath, subject, threadID, tripcode, uniqueID, wholePost;
+ var boardID, capcode, capcodeDescription, capcodeLC, capcodeLong, capcodePlural, commentHTML, container, dateText, dateUTC, email, file, fileBlock, fileThumb, fileURL, flag, flagCode, gifIcon, href, k, len1, match, name, postClass, postID, postInfo, postLink, protocol, quote, quoteLink, ref, ref1, shortFilename, staticPath, subject, threadID, tripcode, uniqueID, wholePost;
postID = o.postID, threadID = o.threadID, boardID = o.boardID, file = o.file;
ref = o.info, subject = ref.subject, email = ref.email, name = ref.name, tripcode = ref.tripcode, capcode = ref.capcode, uniqueID = ref.uniqueID, flagCode = ref.flagCode, flag = ref.flag, dateUTC = ref.dateUTC, dateText = ref.dateText, commentHTML = ref.commentHTML;
staticPath = Build.staticPath, gifIcon = Build.gifIcon;
/* Post Info */
if (capcode) {
- capcodeUC = capcode.split(' ')[0];
- capcodeLC = capcodeUC.toLowerCase();
+ capcodeLC = capcode.toLowerCase();
if (capcode === 'Founder') {
capcodePlural = 'the Founder';
capcodeDescription = "4chan's Founder";
@@ -4259,7 +4259,7 @@
postLink = Build.postURL(boardID, threadID, postID);
quoteLink = Build.sameThread(boardID, threadID) ? "javascript:quote('" + (+postID) + "');" : "/" + boardID + "/thread/" + threadID + "#q" + postID;
postInfo = {
- innerHTML: ""
+ innerHTML: ""
};
/* File Info */
@@ -5291,6 +5291,10 @@
}
return false;
},
+ postID: function(post) {
+ var ref;
+ return (ref = post.ID) != null ? ref : post.postID;
+ },
name: function(post) {
return post.info.name;
},
@@ -5347,7 +5351,7 @@
},
subEntries: []
};
- ref1 = [['Name', 'name'], ['Unique ID', 'uniqueID'], ['Tripcode', 'tripcode'], ['Capcode', 'capcode'], ['Subject', 'subject'], ['Comment', 'comment'], ['Flag', 'flag'], ['Filename', 'filename'], ['Image dimensions', 'dimensions'], ['Filesize', 'filesize'], ['Image MD5', 'MD5']];
+ ref1 = [['Post number', 'postID'], ['Name', 'name'], ['Unique ID', 'uniqueID'], ['Tripcode', 'tripcode'], ['Capcode', 'capcode'], ['Subject', 'subject'], ['Comment', 'comment'], ['Flag', 'flag'], ['Filename', 'filename'], ['Image dimensions', 'dimensions'], ['Filesize', 'filesize'], ['Image MD5', 'MD5']];
for (k = 0, len1 = ref1.length; k < len1; k++) {
type = ref1[k];
entry.subEntries.push(Filter.menu.createSubEntry(type[0], type[1]));
@@ -16837,7 +16841,7 @@
filter: function(section) {
var select;
$.extend(section, {
- innerHTML: ""
+ innerHTML: ""
});
select = $('select', section);
$.on(select, 'change', Settings.selectFilter);
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index cf969142d..11f41e3a0 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index 1061e4f5a..9a16ff07e 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.11.10.6
+// @version 1.11.11.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 857a77b29..3a01154d8 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.10.6
+// @version 1.11.11.0
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -296,6 +296,7 @@
'Show Unread Count': [true, 'Show number of unread posts in watched threads.']
},
filter: {
+ postID: "# Highlight dubs on [s4s]:\n#/(\\d)\\1$/;highlight;top:no;boards:s4s",
name: "# Filter any namefags:\n#/^(?!Anonymous$)/",
uniqueID: "# Filter a specific ID:\n#/Txhvk1Tl/",
tripcode: "# Filter any tripfag\n#/^!/",
@@ -412,7 +413,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.10.6',
+ VERSION: '1.11.11.0',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -4235,15 +4236,14 @@
return Build.post(o, suppressThumb);
},
post: function(o, suppressThumb) {
- var boardID, capcode, capcodeDescription, capcodeLC, capcodeLong, capcodePlural, capcodeUC, commentHTML, container, dateText, dateUTC, email, file, fileBlock, fileThumb, fileURL, flag, flagCode, gifIcon, href, k, len1, match, name, postClass, postID, postInfo, postLink, protocol, quote, quoteLink, ref, ref1, shortFilename, staticPath, subject, threadID, tripcode, uniqueID, wholePost;
+ var boardID, capcode, capcodeDescription, capcodeLC, capcodeLong, capcodePlural, commentHTML, container, dateText, dateUTC, email, file, fileBlock, fileThumb, fileURL, flag, flagCode, gifIcon, href, k, len1, match, name, postClass, postID, postInfo, postLink, protocol, quote, quoteLink, ref, ref1, shortFilename, staticPath, subject, threadID, tripcode, uniqueID, wholePost;
postID = o.postID, threadID = o.threadID, boardID = o.boardID, file = o.file;
ref = o.info, subject = ref.subject, email = ref.email, name = ref.name, tripcode = ref.tripcode, capcode = ref.capcode, uniqueID = ref.uniqueID, flagCode = ref.flagCode, flag = ref.flag, dateUTC = ref.dateUTC, dateText = ref.dateText, commentHTML = ref.commentHTML;
staticPath = Build.staticPath, gifIcon = Build.gifIcon;
/* Post Info */
if (capcode) {
- capcodeUC = capcode.split(' ')[0];
- capcodeLC = capcodeUC.toLowerCase();
+ capcodeLC = capcode.toLowerCase();
if (capcode === 'Founder') {
capcodePlural = 'the Founder';
capcodeDescription = "4chan's Founder";
@@ -4259,7 +4259,7 @@
postLink = Build.postURL(boardID, threadID, postID);
quoteLink = Build.sameThread(boardID, threadID) ? "javascript:quote('" + (+postID) + "');" : "/" + boardID + "/thread/" + threadID + "#q" + postID;
postInfo = {
- innerHTML: ""
+ innerHTML: ""
};
/* File Info */
@@ -5291,6 +5291,10 @@
}
return false;
},
+ postID: function(post) {
+ var ref;
+ return (ref = post.ID) != null ? ref : post.postID;
+ },
name: function(post) {
return post.info.name;
},
@@ -5347,7 +5351,7 @@
},
subEntries: []
};
- ref1 = [['Name', 'name'], ['Unique ID', 'uniqueID'], ['Tripcode', 'tripcode'], ['Capcode', 'capcode'], ['Subject', 'subject'], ['Comment', 'comment'], ['Flag', 'flag'], ['Filename', 'filename'], ['Image dimensions', 'dimensions'], ['Filesize', 'filesize'], ['Image MD5', 'MD5']];
+ ref1 = [['Post number', 'postID'], ['Name', 'name'], ['Unique ID', 'uniqueID'], ['Tripcode', 'tripcode'], ['Capcode', 'capcode'], ['Subject', 'subject'], ['Comment', 'comment'], ['Flag', 'flag'], ['Filename', 'filename'], ['Image dimensions', 'dimensions'], ['Filesize', 'filesize'], ['Image MD5', 'MD5']];
for (k = 0, len1 = ref1.length; k < len1; k++) {
type = ref1[k];
entry.subEntries.push(Filter.menu.createSubEntry(type[0], type[1]));
@@ -16837,7 +16841,7 @@
filter: function(section) {
var select;
$.extend(section, {
- innerHTML: ""
+ innerHTML: ""
});
select = $('select', section);
$.on(select, 'change', Settings.selectFilter);
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 5e1ff1fef..2cbc69ae1 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index bfe0952c4..bef5898e8 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.xml b/builds/updates.xml
index dd833bd63..24d2c2b57 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/package.json b/package.json
index 1be99de9b..29127094d 100644
--- a/package.json
+++ b/package.json
@@ -4,8 +4,8 @@
"meta": {
"name": "4chan X",
"fork": "ccd0",
- "version": "1.11.10.6",
- "date": "2015-09-24T22:21:09.746Z",
+ "version": "1.11.11.0",
+ "date": "2015-09-28T07:15:38.646Z",
"page": "https://www.4chan-x.net/",
"downloads": "https://www.4chan-x.net/builds/",
"oldVersions": "https://raw.githubusercontent.com/ccd0/4chan-x/",