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.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")]
|
||||
- CSS bugfix.
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.16.2
|
||||
// @version 1.11.16.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.16.2
|
||||
// @version 1.11.16.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -115,7 +115,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, 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,
|
||||
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; },
|
||||
@ -433,7 +433,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.16.2',
|
||||
VERSION: '1.11.16.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -960,13 +960,16 @@
|
||||
}
|
||||
})();
|
||||
|
||||
try {
|
||||
localStorage.getItem('x');
|
||||
$.hasStorage = true;
|
||||
} catch (_error) {
|
||||
err = _error;
|
||||
$.hasStorage = false;
|
||||
}
|
||||
(function() {
|
||||
var err;
|
||||
try {
|
||||
localStorage.getItem('x');
|
||||
return $.hasStorage = true;
|
||||
} catch (_error) {
|
||||
err = _error;
|
||||
return $.hasStorage = false;
|
||||
}
|
||||
})();
|
||||
|
||||
$.item = function(key, val) {
|
||||
var item;
|
||||
@ -1188,7 +1191,7 @@
|
||||
};
|
||||
|
||||
Callbacks.prototype.execute = function(node, keys) {
|
||||
var errors, k, len1, name, ref;
|
||||
var err, errors, k, len1, name, ref;
|
||||
if (keys == null) {
|
||||
keys = this.keys;
|
||||
}
|
||||
@ -3803,7 +3806,7 @@
|
||||
return $.addClass(Index.button, 'fa-spin');
|
||||
},
|
||||
load: function(e, state) {
|
||||
var nTimeout, notice, ref, req, timeEl;
|
||||
var err, nTimeout, notice, ref, req, timeEl;
|
||||
$.rmClass(Index.button, 'fa-spin');
|
||||
req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout;
|
||||
if (nTimeout) {
|
||||
@ -3887,7 +3890,7 @@
|
||||
});
|
||||
},
|
||||
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 = [];
|
||||
threads = [];
|
||||
posts = [];
|
||||
@ -3934,7 +3937,7 @@
|
||||
return $.event('IndexRefresh');
|
||||
},
|
||||
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 = [];
|
||||
for (k = 0, len1 = threadRoots.length; k < len1; k++) {
|
||||
threadRoot = threadRoots[k];
|
||||
@ -4728,7 +4731,7 @@
|
||||
};
|
||||
|
||||
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') {
|
||||
try {
|
||||
if (!entry.open(data)) {
|
||||
@ -5219,7 +5222,7 @@
|
||||
Filter = {
|
||||
filters: {},
|
||||
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'])) {
|
||||
return;
|
||||
}
|
||||
@ -7051,6 +7054,7 @@
|
||||
}
|
||||
},
|
||||
open: function() {
|
||||
var err;
|
||||
if (QR.nodes) {
|
||||
if (QR.nodes.el.hidden) {
|
||||
QR.captcha.setup();
|
||||
@ -7641,7 +7645,7 @@
|
||||
return $.event('QRDialogCreation', null, dialog);
|
||||
},
|
||||
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) {
|
||||
e.preventDefault();
|
||||
}
|
||||
@ -7775,7 +7779,7 @@
|
||||
return QR.status();
|
||||
},
|
||||
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;
|
||||
delete QR.req;
|
||||
post = QR.posts[0];
|
||||
@ -11377,7 +11381,7 @@
|
||||
|
||||
Sauce = {
|
||||
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'])) {
|
||||
return;
|
||||
}
|
||||
@ -16835,6 +16839,7 @@
|
||||
}
|
||||
reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
var err;
|
||||
try {
|
||||
return Settings.loadSettings(JSON.parse(e.target.result), function(err) {
|
||||
if (err) {
|
||||
@ -17458,7 +17463,7 @@
|
||||
});
|
||||
},
|
||||
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;
|
||||
pathname = location.pathname.split(/\/+/);
|
||||
if (hostname !== 'www.4chan.org') {
|
||||
@ -17636,7 +17641,7 @@
|
||||
}
|
||||
},
|
||||
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')) {
|
||||
threads = [];
|
||||
posts = [];
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.16.2
|
||||
// @version 1.11.16.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -115,7 +115,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, 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,
|
||||
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; },
|
||||
@ -433,7 +433,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.16.2',
|
||||
VERSION: '1.11.16.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -960,13 +960,16 @@
|
||||
}
|
||||
})();
|
||||
|
||||
try {
|
||||
localStorage.getItem('x');
|
||||
$.hasStorage = true;
|
||||
} catch (_error) {
|
||||
err = _error;
|
||||
$.hasStorage = false;
|
||||
}
|
||||
(function() {
|
||||
var err;
|
||||
try {
|
||||
localStorage.getItem('x');
|
||||
return $.hasStorage = true;
|
||||
} catch (_error) {
|
||||
err = _error;
|
||||
return $.hasStorage = false;
|
||||
}
|
||||
})();
|
||||
|
||||
$.item = function(key, val) {
|
||||
var item;
|
||||
@ -1188,7 +1191,7 @@
|
||||
};
|
||||
|
||||
Callbacks.prototype.execute = function(node, keys) {
|
||||
var errors, k, len1, name, ref;
|
||||
var err, errors, k, len1, name, ref;
|
||||
if (keys == null) {
|
||||
keys = this.keys;
|
||||
}
|
||||
@ -3803,7 +3806,7 @@
|
||||
return $.addClass(Index.button, 'fa-spin');
|
||||
},
|
||||
load: function(e, state) {
|
||||
var nTimeout, notice, ref, req, timeEl;
|
||||
var err, nTimeout, notice, ref, req, timeEl;
|
||||
$.rmClass(Index.button, 'fa-spin');
|
||||
req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout;
|
||||
if (nTimeout) {
|
||||
@ -3887,7 +3890,7 @@
|
||||
});
|
||||
},
|
||||
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 = [];
|
||||
threads = [];
|
||||
posts = [];
|
||||
@ -3934,7 +3937,7 @@
|
||||
return $.event('IndexRefresh');
|
||||
},
|
||||
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 = [];
|
||||
for (k = 0, len1 = threadRoots.length; k < len1; k++) {
|
||||
threadRoot = threadRoots[k];
|
||||
@ -4728,7 +4731,7 @@
|
||||
};
|
||||
|
||||
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') {
|
||||
try {
|
||||
if (!entry.open(data)) {
|
||||
@ -5219,7 +5222,7 @@
|
||||
Filter = {
|
||||
filters: {},
|
||||
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'])) {
|
||||
return;
|
||||
}
|
||||
@ -7051,6 +7054,7 @@
|
||||
}
|
||||
},
|
||||
open: function() {
|
||||
var err;
|
||||
if (QR.nodes) {
|
||||
if (QR.nodes.el.hidden) {
|
||||
QR.captcha.setup();
|
||||
@ -7641,7 +7645,7 @@
|
||||
return $.event('QRDialogCreation', null, dialog);
|
||||
},
|
||||
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) {
|
||||
e.preventDefault();
|
||||
}
|
||||
@ -7775,7 +7779,7 @@
|
||||
return QR.status();
|
||||
},
|
||||
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;
|
||||
delete QR.req;
|
||||
post = QR.posts[0];
|
||||
@ -11377,7 +11381,7 @@
|
||||
|
||||
Sauce = {
|
||||
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'])) {
|
||||
return;
|
||||
}
|
||||
@ -16835,6 +16839,7 @@
|
||||
}
|
||||
reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
var err;
|
||||
try {
|
||||
return Settings.loadSettings(JSON.parse(e.target.result), function(err) {
|
||||
if (err) {
|
||||
@ -17458,7 +17463,7 @@
|
||||
});
|
||||
},
|
||||
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;
|
||||
pathname = location.pathname.split(/\/+/);
|
||||
if (hostname !== 'www.4chan.org') {
|
||||
@ -17636,7 +17641,7 @@
|
||||
}
|
||||
},
|
||||
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')) {
|
||||
threads = [];
|
||||
posts = [];
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.16.2
|
||||
// @version 1.11.16.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.16.2
|
||||
// @version 1.11.16.3
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -115,7 +115,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, 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,
|
||||
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; },
|
||||
@ -433,7 +433,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.16.2',
|
||||
VERSION: '1.11.16.3',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -960,13 +960,16 @@
|
||||
}
|
||||
})();
|
||||
|
||||
try {
|
||||
localStorage.getItem('x');
|
||||
$.hasStorage = true;
|
||||
} catch (_error) {
|
||||
err = _error;
|
||||
$.hasStorage = false;
|
||||
}
|
||||
(function() {
|
||||
var err;
|
||||
try {
|
||||
localStorage.getItem('x');
|
||||
return $.hasStorage = true;
|
||||
} catch (_error) {
|
||||
err = _error;
|
||||
return $.hasStorage = false;
|
||||
}
|
||||
})();
|
||||
|
||||
$.item = function(key, val) {
|
||||
var item;
|
||||
@ -1188,7 +1191,7 @@
|
||||
};
|
||||
|
||||
Callbacks.prototype.execute = function(node, keys) {
|
||||
var errors, k, len1, name, ref;
|
||||
var err, errors, k, len1, name, ref;
|
||||
if (keys == null) {
|
||||
keys = this.keys;
|
||||
}
|
||||
@ -3803,7 +3806,7 @@
|
||||
return $.addClass(Index.button, 'fa-spin');
|
||||
},
|
||||
load: function(e, state) {
|
||||
var nTimeout, notice, ref, req, timeEl;
|
||||
var err, nTimeout, notice, ref, req, timeEl;
|
||||
$.rmClass(Index.button, 'fa-spin');
|
||||
req = Index.req, notice = Index.notice, nTimeout = Index.nTimeout;
|
||||
if (nTimeout) {
|
||||
@ -3887,7 +3890,7 @@
|
||||
});
|
||||
},
|
||||
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 = [];
|
||||
threads = [];
|
||||
posts = [];
|
||||
@ -3934,7 +3937,7 @@
|
||||
return $.event('IndexRefresh');
|
||||
},
|
||||
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 = [];
|
||||
for (k = 0, len1 = threadRoots.length; k < len1; k++) {
|
||||
threadRoot = threadRoots[k];
|
||||
@ -4728,7 +4731,7 @@
|
||||
};
|
||||
|
||||
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') {
|
||||
try {
|
||||
if (!entry.open(data)) {
|
||||
@ -5219,7 +5222,7 @@
|
||||
Filter = {
|
||||
filters: {},
|
||||
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'])) {
|
||||
return;
|
||||
}
|
||||
@ -7051,6 +7054,7 @@
|
||||
}
|
||||
},
|
||||
open: function() {
|
||||
var err;
|
||||
if (QR.nodes) {
|
||||
if (QR.nodes.el.hidden) {
|
||||
QR.captcha.setup();
|
||||
@ -7641,7 +7645,7 @@
|
||||
return $.event('QRDialogCreation', null, dialog);
|
||||
},
|
||||
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) {
|
||||
e.preventDefault();
|
||||
}
|
||||
@ -7775,7 +7779,7 @@
|
||||
return QR.status();
|
||||
},
|
||||
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;
|
||||
delete QR.req;
|
||||
post = QR.posts[0];
|
||||
@ -11377,7 +11381,7 @@
|
||||
|
||||
Sauce = {
|
||||
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'])) {
|
||||
return;
|
||||
}
|
||||
@ -16835,6 +16839,7 @@
|
||||
}
|
||||
reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
var err;
|
||||
try {
|
||||
return Settings.loadSettings(JSON.parse(e.target.result), function(err) {
|
||||
if (err) {
|
||||
@ -17458,7 +17463,7 @@
|
||||
});
|
||||
},
|
||||
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;
|
||||
pathname = location.pathname.split(/\/+/);
|
||||
if (hostname !== 'www.4chan.org') {
|
||||
@ -17636,7 +17641,7 @@
|
||||
}
|
||||
},
|
||||
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')) {
|
||||
threads = [];
|
||||
posts = [];
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||
<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>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||
<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>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"version": "1.11.16.2",
|
||||
"date": "2015-11-11T03:03:12.284Z"
|
||||
"version": "1.11.16.3",
|
||||
"date": "2015-11-14T09:01:12.620Z"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user