Release 4chan X v1.11.34.1.

This commit is contained in:
ccd0 2016-05-16 23:05:31 -07:00
parent 0ed0aed6a2
commit c0215dd810
13 changed files with 96 additions and 48 deletions

View File

@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.34
**v1.11.34.1** *(2016-05-17)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.1/builds/4chan-X-noupdate.crx "Chromium version")]
- Fix some download button / menu item bugs.
**v1.11.34.0** *(2016-05-16)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.34.0/builds/4chan-X-noupdate.crx "Chromium version")]
- Based on v1.11.33.3.
- The archive list will now auto-update separately from the script. Archive updating settings are in the `Advanced` settings tab in the `Archives` section.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.11.34.0
// @version 1.11.34.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.11.34.0
// @version 1.11.34.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -134,7 +134,7 @@ docSet = function() {
};
g = {
VERSION: '1.11.34.0',
VERSION: '1.11.34.1',
NAMESPACE: '4chan X.',
boards: {}
};
@ -11836,20 +11836,27 @@ ImageCommon = (function() {
return (Conf['Show Controls'] && Conf['Click Passthrough'] && e.target.nodeName === 'VIDEO') || (e.target.controls && e.target.getBoundingClientRect().bottom - e.clientY < 35);
},
download: function(e) {
var download, href;
if (this.protocol === 'blob:') {
return true;
}
e.preventDefault();
return CrossOrigin.file(this.href, (function(_this) {
return function(blob) {
if (blob) {
_this.href = URL.createObjectURL(blob);
return _this.click();
} else {
return new Notice('warning', "Could not download " + _this.href, 20);
}
};
})(this));
href = this.href, download = this.download;
return CrossOrigin.file(href, function(blob) {
var a;
if (blob) {
a = $.el('a', {
href: URL.createObjectURL(blob),
download: download,
hidden: true
});
$.add(d.body, a);
a.click();
return $.rm(a);
} else {
return new Notice('warning', "Could not download " + href, 20);
}
});
}
};
@ -14934,8 +14941,16 @@ FileInfo = (function() {
});
},
node: function() {
var info, oldInfo;
if (!this.file || this.isClone) {
var a, i, info, len, oldInfo, ref;
if (!this.file) {
return;
}
if (this.isClone) {
ref = $$('.file-info .download-button', this.file.text);
for (i = 0, len = ref.length; i < len; i++) {
a = ref[i];
$.on(a, 'click', ImageCommon.download);
}
return;
}
oldInfo = $.el('span', {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.11.34.0
// @version 1.11.34.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -134,7 +134,7 @@ docSet = function() {
};
g = {
VERSION: '1.11.34.0',
VERSION: '1.11.34.1',
NAMESPACE: '4chan X.',
boards: {}
};
@ -11836,20 +11836,27 @@ ImageCommon = (function() {
return (Conf['Show Controls'] && Conf['Click Passthrough'] && e.target.nodeName === 'VIDEO') || (e.target.controls && e.target.getBoundingClientRect().bottom - e.clientY < 35);
},
download: function(e) {
var download, href;
if (this.protocol === 'blob:') {
return true;
}
e.preventDefault();
return CrossOrigin.file(this.href, (function(_this) {
return function(blob) {
if (blob) {
_this.href = URL.createObjectURL(blob);
return _this.click();
} else {
return new Notice('warning', "Could not download " + _this.href, 20);
}
};
})(this));
href = this.href, download = this.download;
return CrossOrigin.file(href, function(blob) {
var a;
if (blob) {
a = $.el('a', {
href: URL.createObjectURL(blob),
download: download,
hidden: true
});
$.add(d.body, a);
a.click();
return $.rm(a);
} else {
return new Notice('warning', "Could not download " + href, 20);
}
});
}
};
@ -14934,8 +14941,16 @@ FileInfo = (function() {
});
},
node: function() {
var info, oldInfo;
if (!this.file || this.isClone) {
var a, i, info, len, oldInfo, ref;
if (!this.file) {
return;
}
if (this.isClone) {
ref = $$('.file-info .download-button', this.file.text);
for (i = 0, len = ref.length; i < len; i++) {
a = ref[i];
$.on(a, 'click', ImageCommon.download);
}
return;
}
oldInfo = $.el('span', {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.11.34.0
// @version 1.11.34.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.11.34.0
// @version 1.11.34.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -134,7 +134,7 @@ docSet = function() {
};
g = {
VERSION: '1.11.34.0',
VERSION: '1.11.34.1',
NAMESPACE: '4chan X.',
boards: {}
};
@ -11836,20 +11836,27 @@ ImageCommon = (function() {
return (Conf['Show Controls'] && Conf['Click Passthrough'] && e.target.nodeName === 'VIDEO') || (e.target.controls && e.target.getBoundingClientRect().bottom - e.clientY < 35);
},
download: function(e) {
var download, href;
if (this.protocol === 'blob:') {
return true;
}
e.preventDefault();
return CrossOrigin.file(this.href, (function(_this) {
return function(blob) {
if (blob) {
_this.href = URL.createObjectURL(blob);
return _this.click();
} else {
return new Notice('warning', "Could not download " + _this.href, 20);
}
};
})(this));
href = this.href, download = this.download;
return CrossOrigin.file(href, function(blob) {
var a;
if (blob) {
a = $.el('a', {
href: URL.createObjectURL(blob),
download: download,
hidden: true
});
$.add(d.body, a);
a.click();
return $.rm(a);
} else {
return new Notice('warning', "Could not download " + href, 20);
}
});
}
};
@ -14934,8 +14941,16 @@ FileInfo = (function() {
});
},
node: function() {
var info, oldInfo;
if (!this.file || this.isClone) {
var a, i, info, len, oldInfo, ref;
if (!this.file) {
return;
}
if (this.isClone) {
ref = $$('.file-info .download-button', this.file.text);
for (i = 0, len = ref.length; i < len; i++) {
a = ref[i];
$.on(a, 'click', ImageCommon.download);
}
return;
}
oldInfo = $.el('span', {

Binary file not shown.

View File

@ -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.34.0' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.34.1' />
</app>
</gupdate>

View File

@ -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.34.0' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.34.1' />
</app>
</gupdate>

View File

@ -1,4 +1,4 @@
{
"version": "1.11.34.0",
"date": "2016-05-16T02:00:15.864Z"
"version": "1.11.34.1",
"date": "2016-05-17T06:04:25.221Z"
}