Release 4chan X v1.11.16.3.
This commit is contained in:
parent
1a4b7664d8
commit
efc5facbbe
@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
|
|||||||
|
|
||||||
### v1.11.16
|
### v1.11.16
|
||||||
|
|
||||||
|
**v1.11.16.3** *(2015-11-14)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.3/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
|
- Fix bug from v1.11.16.0 causing Quick Reply to stop working after an error.
|
||||||
|
|
||||||
**v1.11.16.2** *(2015-11-10)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.2/builds/4chan-X-noupdate.crx "Chromium version")]
|
**v1.11.16.2** *(2015-11-10)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.16.2/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
- CSS bugfix.
|
- CSS bugfix.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.11.16.2
|
// @version 1.11.16.3
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.11.16.2
|
// @version 1.11.16.3
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -115,7 +115,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
(function() {
|
(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, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, err, 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, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g,
|
||||||
slice = [].slice,
|
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; },
|
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; },
|
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; },
|
||||||
@ -433,7 +433,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.16.2',
|
VERSION: '1.11.16.3',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -960,13 +960,16 @@
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
try {
|
(function() {
|
||||||
localStorage.getItem('x');
|
var err;
|
||||||
$.hasStorage = true;
|
try {
|
||||||
} catch (_error) {
|
localStorage.getItem('x');
|
||||||
err = _error;
|
return $.hasStorage = true;
|
||||||
$.hasStorage = false;
|
} catch (_error) {
|
||||||
}
|
err = _error;
|
||||||
|
return $.hasStorage = false;
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|
||||||
$.item = function(key, val) {
|
$.item = function(key, val) {
|
||||||
var item;
|
var item;
|
||||||
@ -1188,7 +1191,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Callbacks.prototype.execute = function(node, keys) {
|
Callbacks.prototype.execute = function(node, keys) {
|
||||||
var errors, k, len1, name, ref;
|
var err, errors, k, len1, name, ref;
|
||||||
if (keys == null) {
|
if (keys == null) {
|
||||||
keys = this.keys;
|
keys = this.keys;
|
||||||
}
|
}
|
||||||
@ -3803,7 +3806,7 @@
|
|||||||
return $.addClass(Index.button, 'fa-spin');
|
return $.addClass(Index.button, 'fa-spin');
|
||||||
},
|
},
|
||||||
load: function(e, state) {
|
load: function(e, state) {
|
||||||
var nTimeout, notice, ref, req, timeEl;
|
var err, nTimeout, notice, ref, req, timeEl;
|
||||||
$.rmClass(Index.button, 'fa-spin');
|
$.rmClass(Index.button, 'fa-spin');
|
||||||
req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout;
|
req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout;
|
||||||
if (nTimeout) {
|
if (nTimeout) {
|
||||||
@ -3887,7 +3890,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
buildThreads: function() {
|
buildThreads: function() {
|
||||||
var errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads;
|
var err, errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads;
|
||||||
Index.nodes = [];
|
Index.nodes = [];
|
||||||
threads = [];
|
threads = [];
|
||||||
posts = [];
|
posts = [];
|
||||||
@ -3934,7 +3937,7 @@
|
|||||||
return $.event('IndexRefresh');
|
return $.event('IndexRefresh');
|
||||||
},
|
},
|
||||||
buildReplies: function(threadRoots) {
|
buildReplies: function(threadRoots) {
|
||||||
var data, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot;
|
var data, err, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot;
|
||||||
posts = [];
|
posts = [];
|
||||||
for (k = 0, len1 = threadRoots.length; k < len1; k++) {
|
for (k = 0, len1 = threadRoots.length; k < len1; k++) {
|
||||||
threadRoot = threadRoots[k];
|
threadRoot = threadRoots[k];
|
||||||
@ -4728,7 +4731,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Menu.prototype.insertEntry = function(entry, parent, data) {
|
Menu.prototype.insertEntry = function(entry, parent, data) {
|
||||||
var k, len1, ref, subEntry, submenu;
|
var err, k, len1, ref, subEntry, submenu;
|
||||||
if (typeof entry.open === 'function') {
|
if (typeof entry.open === 'function') {
|
||||||
try {
|
try {
|
||||||
if (!entry.open(data)) {
|
if (!entry.open(data)) {
|
||||||
@ -5219,7 +5222,7 @@
|
|||||||
Filter = {
|
Filter = {
|
||||||
filters: {},
|
filters: {},
|
||||||
init: function() {
|
init: function() {
|
||||||
var boards, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top;
|
var boards, err, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top;
|
||||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Filter'])) {
|
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Filter'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -7051,6 +7054,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
open: function() {
|
open: function() {
|
||||||
|
var err;
|
||||||
if (QR.nodes) {
|
if (QR.nodes) {
|
||||||
if (QR.nodes.el.hidden) {
|
if (QR.nodes.el.hidden) {
|
||||||
QR.captcha.setup();
|
QR.captcha.setup();
|
||||||
@ -7641,7 +7645,7 @@
|
|||||||
return $.event('QRDialogCreation', null, dialog);
|
return $.event('QRDialogCreation', null, dialog);
|
||||||
},
|
},
|
||||||
submit: function(e) {
|
submit: function(e) {
|
||||||
var captcha, cb, extra, filetag, formData, options, post, ref, textOnly, thread, threadID;
|
var captcha, cb, err, extra, filetag, formData, options, post, ref, textOnly, thread, threadID;
|
||||||
if (e != null) {
|
if (e != null) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
@ -7775,7 +7779,7 @@
|
|||||||
return QR.status();
|
return QR.status();
|
||||||
},
|
},
|
||||||
response: function() {
|
response: function() {
|
||||||
var URL, _, ban, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID;
|
var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID;
|
||||||
req = QR.req;
|
req = QR.req;
|
||||||
delete QR.req;
|
delete QR.req;
|
||||||
post = QR.posts[0];
|
post = QR.posts[0];
|
||||||
@ -11377,7 +11381,7 @@
|
|||||||
|
|
||||||
Sauce = {
|
Sauce = {
|
||||||
init: function() {
|
init: function() {
|
||||||
var k, len1, link, links, ref, ref1;
|
var err, k, len1, link, links, ref, ref1;
|
||||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Sauce'])) {
|
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Sauce'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -16835,6 +16839,7 @@
|
|||||||
}
|
}
|
||||||
reader = new FileReader();
|
reader = new FileReader();
|
||||||
reader.onload = function(e) {
|
reader.onload = function(e) {
|
||||||
|
var err;
|
||||||
try {
|
try {
|
||||||
return Settings.loadSettings(JSON.parse(e.target.result), function(err) {
|
return Settings.loadSettings(JSON.parse(e.target.result), function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
@ -17458,7 +17463,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
initFeatures: function() {
|
initFeatures: function() {
|
||||||
var feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search;
|
var err, feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search;
|
||||||
hostname = location.hostname, search = location.search;
|
hostname = location.hostname, search = location.search;
|
||||||
pathname = location.pathname.split(/\/+/);
|
pathname = location.pathname.split(/\/+/);
|
||||||
if (hostname !== 'www.4chan.org') {
|
if (hostname !== 'www.4chan.org') {
|
||||||
@ -17636,7 +17641,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
initThread: function() {
|
initThread: function() {
|
||||||
var board, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads;
|
var board, err, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads;
|
||||||
if (board = $('.board')) {
|
if (board = $('.board')) {
|
||||||
threads = [];
|
threads = [];
|
||||||
posts = [];
|
posts = [];
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.16.2
|
// @version 1.11.16.3
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -115,7 +115,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
(function() {
|
(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, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, err, 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, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g,
|
||||||
slice = [].slice,
|
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; },
|
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; },
|
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; },
|
||||||
@ -433,7 +433,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.16.2',
|
VERSION: '1.11.16.3',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -960,13 +960,16 @@
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
try {
|
(function() {
|
||||||
localStorage.getItem('x');
|
var err;
|
||||||
$.hasStorage = true;
|
try {
|
||||||
} catch (_error) {
|
localStorage.getItem('x');
|
||||||
err = _error;
|
return $.hasStorage = true;
|
||||||
$.hasStorage = false;
|
} catch (_error) {
|
||||||
}
|
err = _error;
|
||||||
|
return $.hasStorage = false;
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|
||||||
$.item = function(key, val) {
|
$.item = function(key, val) {
|
||||||
var item;
|
var item;
|
||||||
@ -1188,7 +1191,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Callbacks.prototype.execute = function(node, keys) {
|
Callbacks.prototype.execute = function(node, keys) {
|
||||||
var errors, k, len1, name, ref;
|
var err, errors, k, len1, name, ref;
|
||||||
if (keys == null) {
|
if (keys == null) {
|
||||||
keys = this.keys;
|
keys = this.keys;
|
||||||
}
|
}
|
||||||
@ -3803,7 +3806,7 @@
|
|||||||
return $.addClass(Index.button, 'fa-spin');
|
return $.addClass(Index.button, 'fa-spin');
|
||||||
},
|
},
|
||||||
load: function(e, state) {
|
load: function(e, state) {
|
||||||
var nTimeout, notice, ref, req, timeEl;
|
var err, nTimeout, notice, ref, req, timeEl;
|
||||||
$.rmClass(Index.button, 'fa-spin');
|
$.rmClass(Index.button, 'fa-spin');
|
||||||
req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout;
|
req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout;
|
||||||
if (nTimeout) {
|
if (nTimeout) {
|
||||||
@ -3887,7 +3890,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
buildThreads: function() {
|
buildThreads: function() {
|
||||||
var errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads;
|
var err, errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads;
|
||||||
Index.nodes = [];
|
Index.nodes = [];
|
||||||
threads = [];
|
threads = [];
|
||||||
posts = [];
|
posts = [];
|
||||||
@ -3934,7 +3937,7 @@
|
|||||||
return $.event('IndexRefresh');
|
return $.event('IndexRefresh');
|
||||||
},
|
},
|
||||||
buildReplies: function(threadRoots) {
|
buildReplies: function(threadRoots) {
|
||||||
var data, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot;
|
var data, err, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot;
|
||||||
posts = [];
|
posts = [];
|
||||||
for (k = 0, len1 = threadRoots.length; k < len1; k++) {
|
for (k = 0, len1 = threadRoots.length; k < len1; k++) {
|
||||||
threadRoot = threadRoots[k];
|
threadRoot = threadRoots[k];
|
||||||
@ -4728,7 +4731,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Menu.prototype.insertEntry = function(entry, parent, data) {
|
Menu.prototype.insertEntry = function(entry, parent, data) {
|
||||||
var k, len1, ref, subEntry, submenu;
|
var err, k, len1, ref, subEntry, submenu;
|
||||||
if (typeof entry.open === 'function') {
|
if (typeof entry.open === 'function') {
|
||||||
try {
|
try {
|
||||||
if (!entry.open(data)) {
|
if (!entry.open(data)) {
|
||||||
@ -5219,7 +5222,7 @@
|
|||||||
Filter = {
|
Filter = {
|
||||||
filters: {},
|
filters: {},
|
||||||
init: function() {
|
init: function() {
|
||||||
var boards, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top;
|
var boards, err, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top;
|
||||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Filter'])) {
|
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Filter'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -7051,6 +7054,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
open: function() {
|
open: function() {
|
||||||
|
var err;
|
||||||
if (QR.nodes) {
|
if (QR.nodes) {
|
||||||
if (QR.nodes.el.hidden) {
|
if (QR.nodes.el.hidden) {
|
||||||
QR.captcha.setup();
|
QR.captcha.setup();
|
||||||
@ -7641,7 +7645,7 @@
|
|||||||
return $.event('QRDialogCreation', null, dialog);
|
return $.event('QRDialogCreation', null, dialog);
|
||||||
},
|
},
|
||||||
submit: function(e) {
|
submit: function(e) {
|
||||||
var captcha, cb, extra, filetag, formData, options, post, ref, textOnly, thread, threadID;
|
var captcha, cb, err, extra, filetag, formData, options, post, ref, textOnly, thread, threadID;
|
||||||
if (e != null) {
|
if (e != null) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
@ -7775,7 +7779,7 @@
|
|||||||
return QR.status();
|
return QR.status();
|
||||||
},
|
},
|
||||||
response: function() {
|
response: function() {
|
||||||
var URL, _, ban, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID;
|
var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID;
|
||||||
req = QR.req;
|
req = QR.req;
|
||||||
delete QR.req;
|
delete QR.req;
|
||||||
post = QR.posts[0];
|
post = QR.posts[0];
|
||||||
@ -11377,7 +11381,7 @@
|
|||||||
|
|
||||||
Sauce = {
|
Sauce = {
|
||||||
init: function() {
|
init: function() {
|
||||||
var k, len1, link, links, ref, ref1;
|
var err, k, len1, link, links, ref, ref1;
|
||||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Sauce'])) {
|
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Sauce'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -16835,6 +16839,7 @@
|
|||||||
}
|
}
|
||||||
reader = new FileReader();
|
reader = new FileReader();
|
||||||
reader.onload = function(e) {
|
reader.onload = function(e) {
|
||||||
|
var err;
|
||||||
try {
|
try {
|
||||||
return Settings.loadSettings(JSON.parse(e.target.result), function(err) {
|
return Settings.loadSettings(JSON.parse(e.target.result), function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
@ -17458,7 +17463,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
initFeatures: function() {
|
initFeatures: function() {
|
||||||
var feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search;
|
var err, feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search;
|
||||||
hostname = location.hostname, search = location.search;
|
hostname = location.hostname, search = location.search;
|
||||||
pathname = location.pathname.split(/\/+/);
|
pathname = location.pathname.split(/\/+/);
|
||||||
if (hostname !== 'www.4chan.org') {
|
if (hostname !== 'www.4chan.org') {
|
||||||
@ -17636,7 +17641,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
initThread: function() {
|
initThread: function() {
|
||||||
var board, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads;
|
var board, err, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads;
|
||||||
if (board = $('.board')) {
|
if (board = $('.board')) {
|
||||||
threads = [];
|
threads = [];
|
||||||
posts = [];
|
posts = [];
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.16.2
|
// @version 1.11.16.3
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.16.2
|
// @version 1.11.16.3
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -115,7 +115,7 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
(function() {
|
(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, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, err, 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, NormalizeURL, Notice, PSAHiding, PassLink, Polyfill, Post, PostHiding, PostSuccessful, QR, QuoteBacklink, QuoteCT, QuoteInline, QuoteOP, QuotePreview, QuoteStrikeThrough, QuoteThreading, QuoteYou, Quotify, RandomAccessList, Recursive, Redirect, RelativeDates, RemoveSpoilers, Report, ReportLink, RevealSpoilers, Sauce, Settings, ShimSet, SimpleDict, Thread, ThreadExcerpt, ThreadHiding, ThreadLinks, ThreadStats, ThreadUpdater, ThreadWatcher, Time, UI, Unread, Volume, c, d, doc, g,
|
||||||
slice = [].slice,
|
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; },
|
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; },
|
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; },
|
||||||
@ -433,7 +433,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.16.2',
|
VERSION: '1.11.16.3',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -960,13 +960,16 @@
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
try {
|
(function() {
|
||||||
localStorage.getItem('x');
|
var err;
|
||||||
$.hasStorage = true;
|
try {
|
||||||
} catch (_error) {
|
localStorage.getItem('x');
|
||||||
err = _error;
|
return $.hasStorage = true;
|
||||||
$.hasStorage = false;
|
} catch (_error) {
|
||||||
}
|
err = _error;
|
||||||
|
return $.hasStorage = false;
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|
||||||
$.item = function(key, val) {
|
$.item = function(key, val) {
|
||||||
var item;
|
var item;
|
||||||
@ -1188,7 +1191,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Callbacks.prototype.execute = function(node, keys) {
|
Callbacks.prototype.execute = function(node, keys) {
|
||||||
var errors, k, len1, name, ref;
|
var err, errors, k, len1, name, ref;
|
||||||
if (keys == null) {
|
if (keys == null) {
|
||||||
keys = this.keys;
|
keys = this.keys;
|
||||||
}
|
}
|
||||||
@ -3803,7 +3806,7 @@
|
|||||||
return $.addClass(Index.button, 'fa-spin');
|
return $.addClass(Index.button, 'fa-spin');
|
||||||
},
|
},
|
||||||
load: function(e, state) {
|
load: function(e, state) {
|
||||||
var nTimeout, notice, ref, req, timeEl;
|
var err, nTimeout, notice, ref, req, timeEl;
|
||||||
$.rmClass(Index.button, 'fa-spin');
|
$.rmClass(Index.button, 'fa-spin');
|
||||||
req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout;
|
req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout;
|
||||||
if (nTimeout) {
|
if (nTimeout) {
|
||||||
@ -3887,7 +3890,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
buildThreads: function() {
|
buildThreads: function() {
|
||||||
var errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads;
|
var err, errors, i, k, len1, posts, ref, thread, threadData, threadRoot, threads;
|
||||||
Index.nodes = [];
|
Index.nodes = [];
|
||||||
threads = [];
|
threads = [];
|
||||||
posts = [];
|
posts = [];
|
||||||
@ -3934,7 +3937,7 @@
|
|||||||
return $.event('IndexRefresh');
|
return $.event('IndexRefresh');
|
||||||
},
|
},
|
||||||
buildReplies: function(threadRoots) {
|
buildReplies: function(threadRoots) {
|
||||||
var data, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot;
|
var data, err, errors, i, k, lastReplies, len1, len2, node, nodes, post, posts, q, thread, threadRoot;
|
||||||
posts = [];
|
posts = [];
|
||||||
for (k = 0, len1 = threadRoots.length; k < len1; k++) {
|
for (k = 0, len1 = threadRoots.length; k < len1; k++) {
|
||||||
threadRoot = threadRoots[k];
|
threadRoot = threadRoots[k];
|
||||||
@ -4728,7 +4731,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Menu.prototype.insertEntry = function(entry, parent, data) {
|
Menu.prototype.insertEntry = function(entry, parent, data) {
|
||||||
var k, len1, ref, subEntry, submenu;
|
var err, k, len1, ref, subEntry, submenu;
|
||||||
if (typeof entry.open === 'function') {
|
if (typeof entry.open === 'function') {
|
||||||
try {
|
try {
|
||||||
if (!entry.open(data)) {
|
if (!entry.open(data)) {
|
||||||
@ -5219,7 +5222,7 @@
|
|||||||
Filter = {
|
Filter = {
|
||||||
filters: {},
|
filters: {},
|
||||||
init: function() {
|
init: function() {
|
||||||
var boards, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top;
|
var boards, err, filter, hl, k, key, len1, line, op, ref, ref1, ref2, ref3, ref4, ref5, regexp, stub, top;
|
||||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Filter'])) {
|
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Filter'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -7051,6 +7054,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
open: function() {
|
open: function() {
|
||||||
|
var err;
|
||||||
if (QR.nodes) {
|
if (QR.nodes) {
|
||||||
if (QR.nodes.el.hidden) {
|
if (QR.nodes.el.hidden) {
|
||||||
QR.captcha.setup();
|
QR.captcha.setup();
|
||||||
@ -7641,7 +7645,7 @@
|
|||||||
return $.event('QRDialogCreation', null, dialog);
|
return $.event('QRDialogCreation', null, dialog);
|
||||||
},
|
},
|
||||||
submit: function(e) {
|
submit: function(e) {
|
||||||
var captcha, cb, extra, filetag, formData, options, post, ref, textOnly, thread, threadID;
|
var captcha, cb, err, extra, filetag, formData, options, post, ref, textOnly, thread, threadID;
|
||||||
if (e != null) {
|
if (e != null) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
@ -7775,7 +7779,7 @@
|
|||||||
return QR.status();
|
return QR.status();
|
||||||
},
|
},
|
||||||
response: function() {
|
response: function() {
|
||||||
var URL, _, ban, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID;
|
var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, req, resDoc, seconds, threadID;
|
||||||
req = QR.req;
|
req = QR.req;
|
||||||
delete QR.req;
|
delete QR.req;
|
||||||
post = QR.posts[0];
|
post = QR.posts[0];
|
||||||
@ -11377,7 +11381,7 @@
|
|||||||
|
|
||||||
Sauce = {
|
Sauce = {
|
||||||
init: function() {
|
init: function() {
|
||||||
var k, len1, link, links, ref, ref1;
|
var err, k, len1, link, links, ref, ref1;
|
||||||
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Sauce'])) {
|
if (!(((ref = g.VIEW) === 'index' || ref === 'thread') && Conf['Sauce'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -16835,6 +16839,7 @@
|
|||||||
}
|
}
|
||||||
reader = new FileReader();
|
reader = new FileReader();
|
||||||
reader.onload = function(e) {
|
reader.onload = function(e) {
|
||||||
|
var err;
|
||||||
try {
|
try {
|
||||||
return Settings.loadSettings(JSON.parse(e.target.result), function(err) {
|
return Settings.loadSettings(JSON.parse(e.target.result), function(err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
@ -17458,7 +17463,7 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
initFeatures: function() {
|
initFeatures: function() {
|
||||||
var feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search;
|
var err, feature, hostname, k, len1, match, name, pathname, ref, ref1, ref2, ref3, search;
|
||||||
hostname = location.hostname, search = location.search;
|
hostname = location.hostname, search = location.search;
|
||||||
pathname = location.pathname.split(/\/+/);
|
pathname = location.pathname.split(/\/+/);
|
||||||
if (hostname !== 'www.4chan.org') {
|
if (hostname !== 'www.4chan.org') {
|
||||||
@ -17636,7 +17641,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
initThread: function() {
|
initThread: function() {
|
||||||
var board, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads;
|
var board, err, errors, k, len1, len2, m, postRoot, posts, q, ref, ref1, scriptData, thread, threadRoot, threads;
|
||||||
if (board = $('.board')) {
|
if (board = $('.board')) {
|
||||||
threads = [];
|
threads = [];
|
||||||
posts = [];
|
posts = [];
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.16.2' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.16.3' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.16.2' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.16.3' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.11.16.2",
|
"version": "1.11.16.3",
|
||||||
"date": "2015-11-11T03:03:12.284Z"
|
"date": "2015-11-14T09:01:12.620Z"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user