Release 4chan X v1.11.32.2.
This commit is contained in:
parent
4977c80bf8
commit
7fba20d113
@ -4,6 +4,10 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
|
|||||||
|
|
||||||
### v1.11.32
|
### v1.11.32
|
||||||
|
|
||||||
|
**v1.11.32.2** *(2016-05-04)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.32.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.32.2/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
|
- Support /s4s/ fortune text and new /qst/ BBCode tags in posts fetched from archive.
|
||||||
|
- Improve crash reports.
|
||||||
|
|
||||||
**v1.11.32.1** *(2016-05-01)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.32.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.32.1/builds/4chan-X-noupdate.crx "Chromium version")]
|
**v1.11.32.1** *(2016-05-01)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.32.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.32.1/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
- Support embedding of .ogg files as either video or audio, as appropriate, and add embedding for .oga files.
|
- Support embedding of .ogg files as either video or audio, as appropriate, and add embedding for .oga files.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.11.32.1
|
// @version 1.11.32.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.11.32.1
|
// @version 1.11.32.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -134,7 +134,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.32.1',
|
VERSION: '1.11.32.2',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -4787,7 +4787,7 @@ Callbacks = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Callbacks.prototype.execute = function(node, keys) {
|
Callbacks.prototype.execute = function(node, keys) {
|
||||||
var err, errors, i, len, name, ref;
|
var err, errors, i, len, name, ref, ref1, ref2;
|
||||||
if (keys == null) {
|
if (keys == null) {
|
||||||
keys = this.keys;
|
keys = this.keys;
|
||||||
}
|
}
|
||||||
@ -4804,7 +4804,8 @@ Callbacks = (function() {
|
|||||||
}
|
}
|
||||||
errors.push({
|
errors.push({
|
||||||
message: ['"', name, '" crashed on node ', this.type, ' No.', node.ID, ' (', node.board, ').'].join(''),
|
message: ['"', name, '" crashed on node ', this.type, ' No.', node.ID, ' (', node.board, ').'].join(''),
|
||||||
error: err
|
error: err,
|
||||||
|
html: (ref1 = node.nodes) != null ? (ref2 = ref1.root) != null ? ref2.outerHTML : void 0 : void 0
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -5250,7 +5251,7 @@ Fetcher = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Fetcher.prototype.parseArchivedPost = function(data, url, archive) {
|
Fetcher.prototype.parseArchivedPost = function(data, url, archive) {
|
||||||
var board, comment, greentext, i, j, key, o, post, ref, ref1, text, text2, thread, val;
|
var board, comment, greentext, i, j, key, o, post, ref, ref1, tag, text, text2, thread, val;
|
||||||
if (post = g.posts[this.boardID + "." + this.postID]) {
|
if (post = g.posts[this.boardID + "." + this.postID]) {
|
||||||
this.insert(post);
|
this.insert(post);
|
||||||
return;
|
return;
|
||||||
@ -5265,14 +5266,19 @@ Fetcher = (function() {
|
|||||||
this.root.textContent = data.error;
|
this.root.textContent = data.error;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
comment = (data.comment || '').split(/(\n|\[\/?(?:b|spoiler|code|moot|banned)\])/);
|
comment = (data.comment || '').split(/(\n|\[\/?(?:b|spoiler|code|moot|banned|fortune(?: color="#\w+")?|i|red|green|blue)\])/);
|
||||||
comment = (function() {
|
comment = (function() {
|
||||||
var k, len, results;
|
var k, len, results;
|
||||||
results = [];
|
results = [];
|
||||||
for (i = k = 0, len = comment.length; k < len; i = ++k) {
|
for (i = k = 0, len = comment.length; k < len; i = ++k) {
|
||||||
text = comment[i];
|
text = comment[i];
|
||||||
if (i % 2 === 1) {
|
if (i % 2 === 1) {
|
||||||
results.push(this.archiveTags[text]);
|
tag = this.archiveTags[text.replace(/\ .*\]/, ']')];
|
||||||
|
if (typeof tag === 'function') {
|
||||||
|
results.push(tag(text));
|
||||||
|
} else {
|
||||||
|
results.push(tag);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
greentext = text[0] === '>';
|
greentext = text[0] === '>';
|
||||||
text = text.replace(/(\[\/?[a-z]+):lit(\])/g, '$1$2');
|
text = text.replace(/(\[\/?[a-z]+):lit(\])/g, '$1$2');
|
||||||
@ -5403,6 +5409,38 @@ Fetcher = (function() {
|
|||||||
},
|
},
|
||||||
'[/banned]': {
|
'[/banned]': {
|
||||||
innerHTML: "</strong>"
|
innerHTML: "</strong>"
|
||||||
|
},
|
||||||
|
'[fortune]': function(text) {
|
||||||
|
return {
|
||||||
|
innerHTML: "<span class=\"fortune\" style=\"color:" + E(text.match(/#\w+|$/)[0]) + "\"><b>"
|
||||||
|
};
|
||||||
|
},
|
||||||
|
'[/fortune]': {
|
||||||
|
innerHTML: "</b></span>"
|
||||||
|
},
|
||||||
|
'[i]': {
|
||||||
|
innerHTML: "<span class=\"mu-i\">"
|
||||||
|
},
|
||||||
|
'[/i]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
|
},
|
||||||
|
'[red]': {
|
||||||
|
innerHTML: "<span class=\"mu-r\">"
|
||||||
|
},
|
||||||
|
'[/red]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
|
},
|
||||||
|
'[green]': {
|
||||||
|
innerHTML: "<span class=\"mu-g\">"
|
||||||
|
},
|
||||||
|
'[/green]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
|
},
|
||||||
|
'[blue]': {
|
||||||
|
innerHTML: "<span class=\"mu-b\">"
|
||||||
|
},
|
||||||
|
'[/blue]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -22657,8 +22695,13 @@ Main = (function() {
|
|||||||
title += " (+" + (errors.length - 1) + " other errors)";
|
title += " (+" + (errors.length - 1) + " other errors)";
|
||||||
}
|
}
|
||||||
details = "[Please describe the steps needed to reproduce this error.]\n\nScript: 4chan X ccd0 v" + g.VERSION + " " + $.platform + "\nUser agent: " + navigator.userAgent + "\nURL: " + location.href + "\n\n" + data.error + "\n" + (((ref = data.error.stack) != null ? ref.replace(data.error.toString(), '').trim() : void 0) || '');
|
details = "[Please describe the steps needed to reproduce this error.]\n\nScript: 4chan X ccd0 v" + g.VERSION + " " + $.platform + "\nUser agent: " + navigator.userAgent + "\nURL: " + location.href + "\n\n" + data.error + "\n" + (((ref = data.error.stack) != null ? ref.replace(data.error.toString(), '').trim() : void 0) || '');
|
||||||
|
if (data.html) {
|
||||||
|
details += "\n\n" + data.html;
|
||||||
|
}
|
||||||
details = details.replace(/file:\/{3}.+\//g, '');
|
details = details.replace(/file:\/{3}.+\//g, '');
|
||||||
|
details = details.trim();
|
||||||
url = "https://gitreports.com/issue/ccd0/4chan-x?issue_title=" + (encodeURIComponent(title)) + "&details=" + (encodeURIComponent(details));
|
url = "https://gitreports.com/issue/ccd0/4chan-x?issue_title=" + (encodeURIComponent(title)) + "&details=" + (encodeURIComponent(details));
|
||||||
|
url = url.slice(0, 8200);
|
||||||
return {
|
return {
|
||||||
innerHTML: "<span class=\"report-error\"> [<a href=\"" + E(url) + "\" target=\"_blank\">report</a>]</span>"
|
innerHTML: "<span class=\"report-error\"> [<a href=\"" + E(url) + "\" target=\"_blank\">report</a>]</span>"
|
||||||
};
|
};
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.32.1
|
// @version 1.11.32.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -134,7 +134,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.32.1',
|
VERSION: '1.11.32.2',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -4787,7 +4787,7 @@ Callbacks = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Callbacks.prototype.execute = function(node, keys) {
|
Callbacks.prototype.execute = function(node, keys) {
|
||||||
var err, errors, i, len, name, ref;
|
var err, errors, i, len, name, ref, ref1, ref2;
|
||||||
if (keys == null) {
|
if (keys == null) {
|
||||||
keys = this.keys;
|
keys = this.keys;
|
||||||
}
|
}
|
||||||
@ -4804,7 +4804,8 @@ Callbacks = (function() {
|
|||||||
}
|
}
|
||||||
errors.push({
|
errors.push({
|
||||||
message: ['"', name, '" crashed on node ', this.type, ' No.', node.ID, ' (', node.board, ').'].join(''),
|
message: ['"', name, '" crashed on node ', this.type, ' No.', node.ID, ' (', node.board, ').'].join(''),
|
||||||
error: err
|
error: err,
|
||||||
|
html: (ref1 = node.nodes) != null ? (ref2 = ref1.root) != null ? ref2.outerHTML : void 0 : void 0
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -5250,7 +5251,7 @@ Fetcher = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Fetcher.prototype.parseArchivedPost = function(data, url, archive) {
|
Fetcher.prototype.parseArchivedPost = function(data, url, archive) {
|
||||||
var board, comment, greentext, i, j, key, o, post, ref, ref1, text, text2, thread, val;
|
var board, comment, greentext, i, j, key, o, post, ref, ref1, tag, text, text2, thread, val;
|
||||||
if (post = g.posts[this.boardID + "." + this.postID]) {
|
if (post = g.posts[this.boardID + "." + this.postID]) {
|
||||||
this.insert(post);
|
this.insert(post);
|
||||||
return;
|
return;
|
||||||
@ -5265,14 +5266,19 @@ Fetcher = (function() {
|
|||||||
this.root.textContent = data.error;
|
this.root.textContent = data.error;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
comment = (data.comment || '').split(/(\n|\[\/?(?:b|spoiler|code|moot|banned)\])/);
|
comment = (data.comment || '').split(/(\n|\[\/?(?:b|spoiler|code|moot|banned|fortune(?: color="#\w+")?|i|red|green|blue)\])/);
|
||||||
comment = (function() {
|
comment = (function() {
|
||||||
var k, len, results;
|
var k, len, results;
|
||||||
results = [];
|
results = [];
|
||||||
for (i = k = 0, len = comment.length; k < len; i = ++k) {
|
for (i = k = 0, len = comment.length; k < len; i = ++k) {
|
||||||
text = comment[i];
|
text = comment[i];
|
||||||
if (i % 2 === 1) {
|
if (i % 2 === 1) {
|
||||||
results.push(this.archiveTags[text]);
|
tag = this.archiveTags[text.replace(/\ .*\]/, ']')];
|
||||||
|
if (typeof tag === 'function') {
|
||||||
|
results.push(tag(text));
|
||||||
|
} else {
|
||||||
|
results.push(tag);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
greentext = text[0] === '>';
|
greentext = text[0] === '>';
|
||||||
text = text.replace(/(\[\/?[a-z]+):lit(\])/g, '$1$2');
|
text = text.replace(/(\[\/?[a-z]+):lit(\])/g, '$1$2');
|
||||||
@ -5403,6 +5409,38 @@ Fetcher = (function() {
|
|||||||
},
|
},
|
||||||
'[/banned]': {
|
'[/banned]': {
|
||||||
innerHTML: "</strong>"
|
innerHTML: "</strong>"
|
||||||
|
},
|
||||||
|
'[fortune]': function(text) {
|
||||||
|
return {
|
||||||
|
innerHTML: "<span class=\"fortune\" style=\"color:" + E(text.match(/#\w+|$/)[0]) + "\"><b>"
|
||||||
|
};
|
||||||
|
},
|
||||||
|
'[/fortune]': {
|
||||||
|
innerHTML: "</b></span>"
|
||||||
|
},
|
||||||
|
'[i]': {
|
||||||
|
innerHTML: "<span class=\"mu-i\">"
|
||||||
|
},
|
||||||
|
'[/i]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
|
},
|
||||||
|
'[red]': {
|
||||||
|
innerHTML: "<span class=\"mu-r\">"
|
||||||
|
},
|
||||||
|
'[/red]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
|
},
|
||||||
|
'[green]': {
|
||||||
|
innerHTML: "<span class=\"mu-g\">"
|
||||||
|
},
|
||||||
|
'[/green]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
|
},
|
||||||
|
'[blue]': {
|
||||||
|
innerHTML: "<span class=\"mu-b\">"
|
||||||
|
},
|
||||||
|
'[/blue]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -22657,8 +22695,13 @@ Main = (function() {
|
|||||||
title += " (+" + (errors.length - 1) + " other errors)";
|
title += " (+" + (errors.length - 1) + " other errors)";
|
||||||
}
|
}
|
||||||
details = "[Please describe the steps needed to reproduce this error.]\n\nScript: 4chan X ccd0 v" + g.VERSION + " " + $.platform + "\nUser agent: " + navigator.userAgent + "\nURL: " + location.href + "\n\n" + data.error + "\n" + (((ref = data.error.stack) != null ? ref.replace(data.error.toString(), '').trim() : void 0) || '');
|
details = "[Please describe the steps needed to reproduce this error.]\n\nScript: 4chan X ccd0 v" + g.VERSION + " " + $.platform + "\nUser agent: " + navigator.userAgent + "\nURL: " + location.href + "\n\n" + data.error + "\n" + (((ref = data.error.stack) != null ? ref.replace(data.error.toString(), '').trim() : void 0) || '');
|
||||||
|
if (data.html) {
|
||||||
|
details += "\n\n" + data.html;
|
||||||
|
}
|
||||||
details = details.replace(/file:\/{3}.+\//g, '');
|
details = details.replace(/file:\/{3}.+\//g, '');
|
||||||
|
details = details.trim();
|
||||||
url = "https://gitreports.com/issue/ccd0/4chan-x?issue_title=" + (encodeURIComponent(title)) + "&details=" + (encodeURIComponent(details));
|
url = "https://gitreports.com/issue/ccd0/4chan-x?issue_title=" + (encodeURIComponent(title)) + "&details=" + (encodeURIComponent(details));
|
||||||
|
url = url.slice(0, 8200);
|
||||||
return {
|
return {
|
||||||
innerHTML: "<span class=\"report-error\"> [<a href=\"" + E(url) + "\" target=\"_blank\">report</a>]</span>"
|
innerHTML: "<span class=\"report-error\"> [<a href=\"" + E(url) + "\" target=\"_blank\">report</a>]</span>"
|
||||||
};
|
};
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.32.1
|
// @version 1.11.32.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.32.1
|
// @version 1.11.32.2
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -134,7 +134,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.32.1',
|
VERSION: '1.11.32.2',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -4787,7 +4787,7 @@ Callbacks = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Callbacks.prototype.execute = function(node, keys) {
|
Callbacks.prototype.execute = function(node, keys) {
|
||||||
var err, errors, i, len, name, ref;
|
var err, errors, i, len, name, ref, ref1, ref2;
|
||||||
if (keys == null) {
|
if (keys == null) {
|
||||||
keys = this.keys;
|
keys = this.keys;
|
||||||
}
|
}
|
||||||
@ -4804,7 +4804,8 @@ Callbacks = (function() {
|
|||||||
}
|
}
|
||||||
errors.push({
|
errors.push({
|
||||||
message: ['"', name, '" crashed on node ', this.type, ' No.', node.ID, ' (', node.board, ').'].join(''),
|
message: ['"', name, '" crashed on node ', this.type, ' No.', node.ID, ' (', node.board, ').'].join(''),
|
||||||
error: err
|
error: err,
|
||||||
|
html: (ref1 = node.nodes) != null ? (ref2 = ref1.root) != null ? ref2.outerHTML : void 0 : void 0
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -5250,7 +5251,7 @@ Fetcher = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Fetcher.prototype.parseArchivedPost = function(data, url, archive) {
|
Fetcher.prototype.parseArchivedPost = function(data, url, archive) {
|
||||||
var board, comment, greentext, i, j, key, o, post, ref, ref1, text, text2, thread, val;
|
var board, comment, greentext, i, j, key, o, post, ref, ref1, tag, text, text2, thread, val;
|
||||||
if (post = g.posts[this.boardID + "." + this.postID]) {
|
if (post = g.posts[this.boardID + "." + this.postID]) {
|
||||||
this.insert(post);
|
this.insert(post);
|
||||||
return;
|
return;
|
||||||
@ -5265,14 +5266,19 @@ Fetcher = (function() {
|
|||||||
this.root.textContent = data.error;
|
this.root.textContent = data.error;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
comment = (data.comment || '').split(/(\n|\[\/?(?:b|spoiler|code|moot|banned)\])/);
|
comment = (data.comment || '').split(/(\n|\[\/?(?:b|spoiler|code|moot|banned|fortune(?: color="#\w+")?|i|red|green|blue)\])/);
|
||||||
comment = (function() {
|
comment = (function() {
|
||||||
var k, len, results;
|
var k, len, results;
|
||||||
results = [];
|
results = [];
|
||||||
for (i = k = 0, len = comment.length; k < len; i = ++k) {
|
for (i = k = 0, len = comment.length; k < len; i = ++k) {
|
||||||
text = comment[i];
|
text = comment[i];
|
||||||
if (i % 2 === 1) {
|
if (i % 2 === 1) {
|
||||||
results.push(this.archiveTags[text]);
|
tag = this.archiveTags[text.replace(/\ .*\]/, ']')];
|
||||||
|
if (typeof tag === 'function') {
|
||||||
|
results.push(tag(text));
|
||||||
|
} else {
|
||||||
|
results.push(tag);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
greentext = text[0] === '>';
|
greentext = text[0] === '>';
|
||||||
text = text.replace(/(\[\/?[a-z]+):lit(\])/g, '$1$2');
|
text = text.replace(/(\[\/?[a-z]+):lit(\])/g, '$1$2');
|
||||||
@ -5403,6 +5409,38 @@ Fetcher = (function() {
|
|||||||
},
|
},
|
||||||
'[/banned]': {
|
'[/banned]': {
|
||||||
innerHTML: "</strong>"
|
innerHTML: "</strong>"
|
||||||
|
},
|
||||||
|
'[fortune]': function(text) {
|
||||||
|
return {
|
||||||
|
innerHTML: "<span class=\"fortune\" style=\"color:" + E(text.match(/#\w+|$/)[0]) + "\"><b>"
|
||||||
|
};
|
||||||
|
},
|
||||||
|
'[/fortune]': {
|
||||||
|
innerHTML: "</b></span>"
|
||||||
|
},
|
||||||
|
'[i]': {
|
||||||
|
innerHTML: "<span class=\"mu-i\">"
|
||||||
|
},
|
||||||
|
'[/i]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
|
},
|
||||||
|
'[red]': {
|
||||||
|
innerHTML: "<span class=\"mu-r\">"
|
||||||
|
},
|
||||||
|
'[/red]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
|
},
|
||||||
|
'[green]': {
|
||||||
|
innerHTML: "<span class=\"mu-g\">"
|
||||||
|
},
|
||||||
|
'[/green]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
|
},
|
||||||
|
'[blue]': {
|
||||||
|
innerHTML: "<span class=\"mu-b\">"
|
||||||
|
},
|
||||||
|
'[/blue]': {
|
||||||
|
innerHTML: "</span>"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -22657,8 +22695,13 @@ Main = (function() {
|
|||||||
title += " (+" + (errors.length - 1) + " other errors)";
|
title += " (+" + (errors.length - 1) + " other errors)";
|
||||||
}
|
}
|
||||||
details = "[Please describe the steps needed to reproduce this error.]\n\nScript: 4chan X ccd0 v" + g.VERSION + " " + $.platform + "\nUser agent: " + navigator.userAgent + "\nURL: " + location.href + "\n\n" + data.error + "\n" + (((ref = data.error.stack) != null ? ref.replace(data.error.toString(), '').trim() : void 0) || '');
|
details = "[Please describe the steps needed to reproduce this error.]\n\nScript: 4chan X ccd0 v" + g.VERSION + " " + $.platform + "\nUser agent: " + navigator.userAgent + "\nURL: " + location.href + "\n\n" + data.error + "\n" + (((ref = data.error.stack) != null ? ref.replace(data.error.toString(), '').trim() : void 0) || '');
|
||||||
|
if (data.html) {
|
||||||
|
details += "\n\n" + data.html;
|
||||||
|
}
|
||||||
details = details.replace(/file:\/{3}.+\//g, '');
|
details = details.replace(/file:\/{3}.+\//g, '');
|
||||||
|
details = details.trim();
|
||||||
url = "https://gitreports.com/issue/ccd0/4chan-x?issue_title=" + (encodeURIComponent(title)) + "&details=" + (encodeURIComponent(details));
|
url = "https://gitreports.com/issue/ccd0/4chan-x?issue_title=" + (encodeURIComponent(title)) + "&details=" + (encodeURIComponent(details));
|
||||||
|
url = url.slice(0, 8200);
|
||||||
return {
|
return {
|
||||||
innerHTML: "<span class=\"report-error\"> [<a href=\"" + E(url) + "\" target=\"_blank\">report</a>]</span>"
|
innerHTML: "<span class=\"report-error\"> [<a href=\"" + E(url) + "\" target=\"_blank\">report</a>]</span>"
|
||||||
};
|
};
|
||||||
|
|||||||
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.32.1' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.32.2' />
|
||||||
</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.32.1' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.32.2' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.11.32.1",
|
"version": "1.11.32.2",
|
||||||
"date": "2016-05-01T00:18:29.034Z"
|
"date": "2016-05-04T21:26:47.510Z"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user