diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5981854f7..9fcfb199e 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
### v1.10.7
+**v1.10.7.2** *(2015-04-01)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.7.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.7.2/builds/4chan-X-noupdate.crx "Chromium version")]
+- Fix posts from original post form not being marked as yours.
+
**v1.10.7.1** *(2015-03-31)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.7.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.7.1/builds/4chan-X-noupdate.crx "Chromium version")]
- Merge refresh button in navigation links with the time since last refresh, and make it navigate to the front page.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 4e673bf55..bf2e17479 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 bba8a34d3..5a28b5741 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.10.7.1
+// @version 1.10.7.2
// @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 fc900399e..b447e1980 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.10.7.1
+// @version 1.10.7.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -109,7 +109,7 @@
'use strict';
(function() {
- var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, Notice, PSAHiding, Polyfill, Post, PostHiding, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g,
+ var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, Notice, PSAHiding, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g,
slice = [].slice,
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
@@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.10.7.1',
+ VERSION: '1.10.7.2',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -8177,6 +8177,28 @@
}
};
+ PostSuccessful = {
+ init: function() {
+ return $.ready(this.ready);
+ },
+ ready: function() {
+ var _, db, postID, ref, threadID;
+ if (d.title !== 'Post successful!') {
+ return;
+ }
+ ref = $('h1').nextSibling.textContent.match(/thread:(\d+),no:(\d+)/), _ = ref[0], threadID = ref[1], postID = ref[2];
+ postID = +postID;
+ threadID = +threadID || postID;
+ db = new DataBoard('yourPosts');
+ return db.set({
+ boardID: g.BOARD.ID,
+ threadID: threadID,
+ postID: postID,
+ val: true
+ });
+ }
+ };
+
QR.cooldown = {
seconds: 0,
init: function() {
@@ -15995,9 +16017,9 @@
case 'thread':
return 'thread';
case 'catalog':
- return 'catalog';
case 'archive':
- return 'archive';
+ case 'post':
+ return pathname[2];
default:
return 'index';
}
@@ -16051,6 +16073,9 @@
case 'a.4cdn.org':
return;
case 'sys.4chan.org':
+ if (g.VIEW === 'post') {
+ PostSuccessful.init();
+ }
return;
case 'i.4cdn.org':
$.asap((function() {
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 9f55bfa4a..507b22115 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 c88a6c1a7..914b41200 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.10.7.1
+// @version 1.10.7.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -108,7 +108,7 @@
'use strict';
(function() {
- var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, Notice, PSAHiding, Polyfill, Post, PostHiding, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g,
+ var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, Notice, PSAHiding, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g,
slice = [].slice,
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
@@ -394,7 +394,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.10.7.1',
+ VERSION: '1.10.7.2',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -8176,6 +8176,28 @@
}
};
+ PostSuccessful = {
+ init: function() {
+ return $.ready(this.ready);
+ },
+ ready: function() {
+ var _, db, postID, ref, threadID;
+ if (d.title !== 'Post successful!') {
+ return;
+ }
+ ref = $('h1').nextSibling.textContent.match(/thread:(\d+),no:(\d+)/), _ = ref[0], threadID = ref[1], postID = ref[2];
+ postID = +postID;
+ threadID = +threadID || postID;
+ db = new DataBoard('yourPosts');
+ return db.set({
+ boardID: g.BOARD.ID,
+ threadID: threadID,
+ postID: postID,
+ val: true
+ });
+ }
+ };
+
QR.cooldown = {
seconds: 0,
init: function() {
@@ -15994,9 +16016,9 @@
case 'thread':
return 'thread';
case 'catalog':
- return 'catalog';
case 'archive':
- return 'archive';
+ case 'post':
+ return pathname[2];
default:
return 'index';
}
@@ -16050,6 +16072,9 @@
case 'a.4cdn.org':
return;
case 'sys.4chan.org':
+ if (g.VIEW === 'post') {
+ PostSuccessful.init();
+ }
return;
case 'i.4cdn.org':
$.asap((function() {
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 8039eaa89..35da3d627 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 94afd22ed..84be0b1be 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.10.7.1
+// @version 1.10.7.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 8373f495e..8b711167f 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.10.7.1
+// @version 1.10.7.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -109,7 +109,7 @@
'use strict';
(function() {
- var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, Notice, PSAHiding, Polyfill, Post, PostHiding, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g,
+ var $, $$, Anonymize, AntiAutoplay, ArchiveLink, Banner, Board, Build, Callbacks, Captcha, CatalogLinks, CatalogThread, Clone, Conf, Config, Connection, CrossOrigin, CustomCSS, DataBoard, DeleteLink, DownloadLink, E, Embedding, ExpandComment, ExpandThread, FappeTyme, Favicon, Fetcher, FileInfo, Filter, Flash, Fourchan, Gallery, Get, Header, IDColor, IDHighlight, ImageCommon, ImageExpand, ImageHover, ImageLoader, Index, Keybinds, Linkify, Main, MarkNewIPs, Menu, Metadata, Nav, Notice, PSAHiding, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g,
slice = [].slice,
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
@@ -395,7 +395,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.10.7.1',
+ VERSION: '1.10.7.2',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -8177,6 +8177,28 @@
}
};
+ PostSuccessful = {
+ init: function() {
+ return $.ready(this.ready);
+ },
+ ready: function() {
+ var _, db, postID, ref, threadID;
+ if (d.title !== 'Post successful!') {
+ return;
+ }
+ ref = $('h1').nextSibling.textContent.match(/thread:(\d+),no:(\d+)/), _ = ref[0], threadID = ref[1], postID = ref[2];
+ postID = +postID;
+ threadID = +threadID || postID;
+ db = new DataBoard('yourPosts');
+ return db.set({
+ boardID: g.BOARD.ID,
+ threadID: threadID,
+ postID: postID,
+ val: true
+ });
+ }
+ };
+
QR.cooldown = {
seconds: 0,
init: function() {
@@ -15995,9 +16017,9 @@
case 'thread':
return 'thread';
case 'catalog':
- return 'catalog';
case 'archive':
- return 'archive';
+ case 'post':
+ return pathname[2];
default:
return 'index';
}
@@ -16051,6 +16073,9 @@
case 'a.4cdn.org':
return;
case 'sys.4chan.org':
+ if (g.VIEW === 'post') {
+ PostSuccessful.init();
+ }
return;
case 'i.4cdn.org':
$.asap((function() {
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index a83f05f76..7c46ec496 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 b471a32c3..1ce7b5e42 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 c0154902b..e2ff09ad9 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/package.json b/package.json
index afdd187a5..876d43685 100755
--- a/package.json
+++ b/package.json
@@ -3,8 +3,8 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",
- "version": "1.10.7.1",
- "date": "2015-03-31T09:55:54.743Z",
+ "version": "1.10.7.2",
+ "date": "2015-04-02T00:07:59.536Z",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",