Release 4chan X v1.11.5.0.
This commit is contained in:
parent
3256eed138
commit
996bf724a4
@ -2,6 +2,12 @@
|
||||
|
||||
Sometimes the changelog has notes (not comprehensive) acknowledging people's work. This does not mean the changes are their fault, only that their code was used. All changes to the script are chosen by and the fault of the maintainer (ccd0).
|
||||
|
||||
### v1.11.5
|
||||
|
||||
**v1.11.5.0** *(2015-07-14)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.5.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.5.0/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Based on v1.11.4.1.
|
||||
- When posting a reply with a file on /f/, add a link to it in the comment.
|
||||
|
||||
### v1.11.4
|
||||
|
||||
**v1.11.4.1** *(2015-07-13)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.4.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.4.1/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.4.1
|
||||
// @version 1.11.5.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.4.1
|
||||
// @version 1.11.5.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -411,7 +411,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.4.1',
|
||||
VERSION: '1.11.5.0',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -9360,11 +9360,9 @@
|
||||
if (!this.file) {
|
||||
return;
|
||||
}
|
||||
this.file.newName = this.filename.replace(/[\/\\]/g, '-');
|
||||
if (!/\.(jpe?g|png|gif|pdf|swf|webm)$/i.test(this.filename)) {
|
||||
this.file.newName += '.jpg';
|
||||
}
|
||||
return this.updateFilename();
|
||||
this.saveFilename();
|
||||
this.updateFilename();
|
||||
return this.updateFlashURL();
|
||||
case 'name':
|
||||
return QR.persona.set(this);
|
||||
}
|
||||
@ -9466,11 +9464,13 @@
|
||||
}
|
||||
QR.captcha.onPostChange();
|
||||
URL.revokeObjectURL(this.URL);
|
||||
this.saveFilename();
|
||||
if (this === QR.selected) {
|
||||
this.showFileData();
|
||||
} else {
|
||||
this.updateFilename();
|
||||
}
|
||||
this.updateFlashURL();
|
||||
this.nodes.el.style.backgroundImage = null;
|
||||
if (ref = this.file.type, indexOf.call(QR.mimeTypes, ref) < 0) {
|
||||
return this.fileError('Unsupported file type.');
|
||||
@ -9602,12 +9602,20 @@
|
||||
this.nodes.label.hidden = true;
|
||||
}
|
||||
this.showFileData();
|
||||
this.updateFlashURL();
|
||||
URL.revokeObjectURL(this.URL);
|
||||
return this.dismissErrors(function(error) {
|
||||
return $.hasClass(error, 'file-error');
|
||||
});
|
||||
};
|
||||
|
||||
_Class.prototype.saveFilename = function() {
|
||||
this.file.newName = (this.filename || '').replace(/[\/\\]/g, '-');
|
||||
if (!/\.(jpe?g|png|gif|pdf|swf|webm)$/i.test(this.filename)) {
|
||||
return this.file.newName += '.jpg';
|
||||
}
|
||||
};
|
||||
|
||||
_Class.prototype.updateFilename = function() {
|
||||
var long;
|
||||
long = this.filename + " (" + this.filesize + ")";
|
||||
@ -9629,6 +9637,36 @@
|
||||
}
|
||||
};
|
||||
|
||||
_Class.prototype.updateFlashURL = function() {
|
||||
var oldURL, ref, url;
|
||||
if (g.BOARD.ID !== 'f') {
|
||||
return;
|
||||
}
|
||||
if (this.thread === 'new' || !this.file) {
|
||||
url = '';
|
||||
} else {
|
||||
url = this.file.newName;
|
||||
if ((ref = $.engine) === 'blink' || ref === 'webkit') {
|
||||
url = url.replace(/"/g, '%22');
|
||||
}
|
||||
url = url.replace(/[\t\n\f\r \xa0\u200B\u2029\u3000]+/g, ' ').replace(/(^ | $)/g, '').replace(/\.[0-9A-Za-z]+$/, '');
|
||||
url = "https://i.4cdn.org/f/" + (encodeURIComponent(E(url))) + ".swf\n";
|
||||
}
|
||||
oldURL = this.flashURL || '';
|
||||
if (url !== oldURL) {
|
||||
this.com || (this.com = '');
|
||||
if (this.com.slice(0, oldURL.length) === oldURL) {
|
||||
this.com = this.com.slice(oldURL.length);
|
||||
}
|
||||
this.com = (url + this.com) || null;
|
||||
if (this === QR.selected) {
|
||||
QR.nodes.com.value = this.com;
|
||||
QR.characterCount();
|
||||
}
|
||||
return this.flashURL = url;
|
||||
}
|
||||
};
|
||||
|
||||
_Class.prototype.pasteText = function(file) {
|
||||
var reader;
|
||||
this.pasting = true;
|
||||
@ -11809,7 +11847,7 @@
|
||||
}
|
||||
}, {
|
||||
key: 'TwitchTV',
|
||||
regExp: /^\w+:\/\/(?:www\.)?twitch\.tv\/([^#\&\?]*)/,
|
||||
regExp: /^\w+:\/\/(?:www\.)?twitch\.tv\/(\w[^#\&\?]*)/,
|
||||
httpOnly: true,
|
||||
style: "border: none; width: 640px; height: 360px;",
|
||||
el: function(a) {
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.4.1
|
||||
// @version 1.11.5.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -410,7 +410,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.4.1',
|
||||
VERSION: '1.11.5.0',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -9359,11 +9359,9 @@
|
||||
if (!this.file) {
|
||||
return;
|
||||
}
|
||||
this.file.newName = this.filename.replace(/[\/\\]/g, '-');
|
||||
if (!/\.(jpe?g|png|gif|pdf|swf|webm)$/i.test(this.filename)) {
|
||||
this.file.newName += '.jpg';
|
||||
}
|
||||
return this.updateFilename();
|
||||
this.saveFilename();
|
||||
this.updateFilename();
|
||||
return this.updateFlashURL();
|
||||
case 'name':
|
||||
return QR.persona.set(this);
|
||||
}
|
||||
@ -9465,11 +9463,13 @@
|
||||
}
|
||||
QR.captcha.onPostChange();
|
||||
URL.revokeObjectURL(this.URL);
|
||||
this.saveFilename();
|
||||
if (this === QR.selected) {
|
||||
this.showFileData();
|
||||
} else {
|
||||
this.updateFilename();
|
||||
}
|
||||
this.updateFlashURL();
|
||||
this.nodes.el.style.backgroundImage = null;
|
||||
if (ref = this.file.type, indexOf.call(QR.mimeTypes, ref) < 0) {
|
||||
return this.fileError('Unsupported file type.');
|
||||
@ -9601,12 +9601,20 @@
|
||||
this.nodes.label.hidden = true;
|
||||
}
|
||||
this.showFileData();
|
||||
this.updateFlashURL();
|
||||
URL.revokeObjectURL(this.URL);
|
||||
return this.dismissErrors(function(error) {
|
||||
return $.hasClass(error, 'file-error');
|
||||
});
|
||||
};
|
||||
|
||||
_Class.prototype.saveFilename = function() {
|
||||
this.file.newName = (this.filename || '').replace(/[\/\\]/g, '-');
|
||||
if (!/\.(jpe?g|png|gif|pdf|swf|webm)$/i.test(this.filename)) {
|
||||
return this.file.newName += '.jpg';
|
||||
}
|
||||
};
|
||||
|
||||
_Class.prototype.updateFilename = function() {
|
||||
var long;
|
||||
long = this.filename + " (" + this.filesize + ")";
|
||||
@ -9628,6 +9636,36 @@
|
||||
}
|
||||
};
|
||||
|
||||
_Class.prototype.updateFlashURL = function() {
|
||||
var oldURL, ref, url;
|
||||
if (g.BOARD.ID !== 'f') {
|
||||
return;
|
||||
}
|
||||
if (this.thread === 'new' || !this.file) {
|
||||
url = '';
|
||||
} else {
|
||||
url = this.file.newName;
|
||||
if ((ref = $.engine) === 'blink' || ref === 'webkit') {
|
||||
url = url.replace(/"/g, '%22');
|
||||
}
|
||||
url = url.replace(/[\t\n\f\r \xa0\u200B\u2029\u3000]+/g, ' ').replace(/(^ | $)/g, '').replace(/\.[0-9A-Za-z]+$/, '');
|
||||
url = "https://i.4cdn.org/f/" + (encodeURIComponent(E(url))) + ".swf\n";
|
||||
}
|
||||
oldURL = this.flashURL || '';
|
||||
if (url !== oldURL) {
|
||||
this.com || (this.com = '');
|
||||
if (this.com.slice(0, oldURL.length) === oldURL) {
|
||||
this.com = this.com.slice(oldURL.length);
|
||||
}
|
||||
this.com = (url + this.com) || null;
|
||||
if (this === QR.selected) {
|
||||
QR.nodes.com.value = this.com;
|
||||
QR.characterCount();
|
||||
}
|
||||
return this.flashURL = url;
|
||||
}
|
||||
};
|
||||
|
||||
_Class.prototype.pasteText = function(file) {
|
||||
var reader;
|
||||
this.pasting = true;
|
||||
@ -11808,7 +11846,7 @@
|
||||
}
|
||||
}, {
|
||||
key: 'TwitchTV',
|
||||
regExp: /^\w+:\/\/(?:www\.)?twitch\.tv\/([^#\&\?]*)/,
|
||||
regExp: /^\w+:\/\/(?:www\.)?twitch\.tv\/(\w[^#\&\?]*)/,
|
||||
httpOnly: true,
|
||||
style: "border: none; width: 640px; height: 360px;",
|
||||
el: function(a) {
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.4.1
|
||||
// @version 1.11.5.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.4.1
|
||||
// @version 1.11.5.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -411,7 +411,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.4.1',
|
||||
VERSION: '1.11.5.0',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -9360,11 +9360,9 @@
|
||||
if (!this.file) {
|
||||
return;
|
||||
}
|
||||
this.file.newName = this.filename.replace(/[\/\\]/g, '-');
|
||||
if (!/\.(jpe?g|png|gif|pdf|swf|webm)$/i.test(this.filename)) {
|
||||
this.file.newName += '.jpg';
|
||||
}
|
||||
return this.updateFilename();
|
||||
this.saveFilename();
|
||||
this.updateFilename();
|
||||
return this.updateFlashURL();
|
||||
case 'name':
|
||||
return QR.persona.set(this);
|
||||
}
|
||||
@ -9466,11 +9464,13 @@
|
||||
}
|
||||
QR.captcha.onPostChange();
|
||||
URL.revokeObjectURL(this.URL);
|
||||
this.saveFilename();
|
||||
if (this === QR.selected) {
|
||||
this.showFileData();
|
||||
} else {
|
||||
this.updateFilename();
|
||||
}
|
||||
this.updateFlashURL();
|
||||
this.nodes.el.style.backgroundImage = null;
|
||||
if (ref = this.file.type, indexOf.call(QR.mimeTypes, ref) < 0) {
|
||||
return this.fileError('Unsupported file type.');
|
||||
@ -9602,12 +9602,20 @@
|
||||
this.nodes.label.hidden = true;
|
||||
}
|
||||
this.showFileData();
|
||||
this.updateFlashURL();
|
||||
URL.revokeObjectURL(this.URL);
|
||||
return this.dismissErrors(function(error) {
|
||||
return $.hasClass(error, 'file-error');
|
||||
});
|
||||
};
|
||||
|
||||
_Class.prototype.saveFilename = function() {
|
||||
this.file.newName = (this.filename || '').replace(/[\/\\]/g, '-');
|
||||
if (!/\.(jpe?g|png|gif|pdf|swf|webm)$/i.test(this.filename)) {
|
||||
return this.file.newName += '.jpg';
|
||||
}
|
||||
};
|
||||
|
||||
_Class.prototype.updateFilename = function() {
|
||||
var long;
|
||||
long = this.filename + " (" + this.filesize + ")";
|
||||
@ -9629,6 +9637,36 @@
|
||||
}
|
||||
};
|
||||
|
||||
_Class.prototype.updateFlashURL = function() {
|
||||
var oldURL, ref, url;
|
||||
if (g.BOARD.ID !== 'f') {
|
||||
return;
|
||||
}
|
||||
if (this.thread === 'new' || !this.file) {
|
||||
url = '';
|
||||
} else {
|
||||
url = this.file.newName;
|
||||
if ((ref = $.engine) === 'blink' || ref === 'webkit') {
|
||||
url = url.replace(/"/g, '%22');
|
||||
}
|
||||
url = url.replace(/[\t\n\f\r \xa0\u200B\u2029\u3000]+/g, ' ').replace(/(^ | $)/g, '').replace(/\.[0-9A-Za-z]+$/, '');
|
||||
url = "https://i.4cdn.org/f/" + (encodeURIComponent(E(url))) + ".swf\n";
|
||||
}
|
||||
oldURL = this.flashURL || '';
|
||||
if (url !== oldURL) {
|
||||
this.com || (this.com = '');
|
||||
if (this.com.slice(0, oldURL.length) === oldURL) {
|
||||
this.com = this.com.slice(oldURL.length);
|
||||
}
|
||||
this.com = (url + this.com) || null;
|
||||
if (this === QR.selected) {
|
||||
QR.nodes.com.value = this.com;
|
||||
QR.characterCount();
|
||||
}
|
||||
return this.flashURL = url;
|
||||
}
|
||||
};
|
||||
|
||||
_Class.prototype.pasteText = function(file) {
|
||||
var reader;
|
||||
this.pasting = true;
|
||||
@ -11809,7 +11847,7 @@
|
||||
}
|
||||
}, {
|
||||
key: 'TwitchTV',
|
||||
regExp: /^\w+:\/\/(?:www\.)?twitch\.tv\/([^#\&\?]*)/,
|
||||
regExp: /^\w+:\/\/(?:www\.)?twitch\.tv\/(\w[^#\&\?]*)/,
|
||||
httpOnly: true,
|
||||
style: "border: none; width: 640px; height: 360px;",
|
||||
el: function(a) {
|
||||
|
||||
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://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.11.4.1' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.11.5.0' />
|
||||
</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://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.11.4.1' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.11.5.0' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"meta": {
|
||||
"name": "4chan X",
|
||||
"version": "1.11.4.1",
|
||||
"date": "2015-07-13T07:14:35.225Z",
|
||||
"version": "1.11.5.0",
|
||||
"date": "2015-07-15T04:28:57.955Z",
|
||||
"repo": "https://github.com/ccd0/4chan-x/",
|
||||
"page": "https://github.com/ccd0/4chan-x",
|
||||
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user