Release 4chan X v1.10.1.7.

This commit is contained in:
ccd0 2015-02-17 15:58:50 -08:00
parent 3497b983d3
commit 3ba1bd247d
14 changed files with 63 additions and 54 deletions

View File

@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
### v1.10.1 ### v1.10.1
**v1.10.1.7** *(2015-02-17)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.7/builds/4chan-X-noupdate.crx "Chromium version")]
- Fix `Mouse Wheel Volume` in cross-board quotes (broken in v1.10.1.1).
**v1.10.1.6** *(2015-02-17)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.6/builds/4chan-X-noupdate.crx "Chromium version")] **v1.10.1.6** *(2015-02-17)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.1.6/builds/4chan-X-noupdate.crx "Chromium version")]
- Reduce writes to storage a bit more. - Reduce writes to storage a bit more.

View File

@ -1,5 +1,5 @@
/* /*
* 4chan X - Version 1.10.1.6 * 4chan X - Version 1.10.1.7
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE * https://github.com/ccd0/4chan-x/blob/master/LICENSE

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.10.1.6 // @version 1.10.1.7
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.10.1.6 * 4chan X - Version 1.10.1.7
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE * https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -405,7 +405,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.10.1.6', VERSION: '1.10.1.7',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
NAME: '4chan X', NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -10471,9 +10471,21 @@
Conf['Default Volume'] = x; Conf['Default Volume'] = x;
return (_ref1 = Volume.inputs) != null ? _ref1.volume.value = x : void 0; return (_ref1 = Volume.inputs) != null ? _ref1.volume.value = x : void 0;
}); });
if (Conf['Mouse Wheel Volume']) {
Post.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.node
});
}
if ((_ref1 = g.BOARD.ID) !== 'gif' && _ref1 !== 'wsg') { if ((_ref1 = g.BOARD.ID) !== 'gif' && _ref1 !== 'wsg') {
return; return;
} }
if (Conf['Mouse Wheel Volume']) {
CatalogThread.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.catalogNode
});
}
unmuteEntry = UI.checkbox('Allow Sound', 'Allow Sound'); unmuteEntry = UI.checkbox('Allow Sound', 'Allow Sound');
unmuteEntry.title = Config.main['Images and Videos']['Allow Sound'][1]; unmuteEntry.title = Config.main['Images and Videos']['Allow Sound'][1];
volumeEntry = $.el('label', { volumeEntry = $.el('label', {
@ -10492,20 +10504,10 @@
el: unmuteEntry, el: unmuteEntry,
order: 200 order: 200
}); });
Header.menu.addEntry({ return Header.menu.addEntry({
el: volumeEntry, el: volumeEntry,
order: 201 order: 201
}); });
if (Conf['Mouse Wheel Volume']) {
Post.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.node
});
return CatalogThread.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.catalogNode
});
}
}, },
setup: function(video) { setup: function(video) {
video.muted = !Conf['Allow Sound']; video.muted = !Conf['Allow Sound'];
@ -10533,8 +10535,8 @@
} }
}, },
node: function() { node: function() {
var _ref; var _ref, _ref1;
if (!((_ref = this.file) != null ? _ref.isVideo : void 0)) { if (!(((_ref = this.board.ID) === 'gif' || _ref === 'wsg') && ((_ref1 = this.file) != null ? _ref1.isVideo : void 0))) {
return; return;
} }
$.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover)); $.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover));

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.10.1.6 // @version 1.10.1.7
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -24,7 +24,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.10.1.6 * 4chan X - Version 1.10.1.7
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE * https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -404,7 +404,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.10.1.6', VERSION: '1.10.1.7',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
NAME: '4chan X', NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -10470,9 +10470,21 @@
Conf['Default Volume'] = x; Conf['Default Volume'] = x;
return (_ref1 = Volume.inputs) != null ? _ref1.volume.value = x : void 0; return (_ref1 = Volume.inputs) != null ? _ref1.volume.value = x : void 0;
}); });
if (Conf['Mouse Wheel Volume']) {
Post.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.node
});
}
if ((_ref1 = g.BOARD.ID) !== 'gif' && _ref1 !== 'wsg') { if ((_ref1 = g.BOARD.ID) !== 'gif' && _ref1 !== 'wsg') {
return; return;
} }
if (Conf['Mouse Wheel Volume']) {
CatalogThread.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.catalogNode
});
}
unmuteEntry = UI.checkbox('Allow Sound', 'Allow Sound'); unmuteEntry = UI.checkbox('Allow Sound', 'Allow Sound');
unmuteEntry.title = Config.main['Images and Videos']['Allow Sound'][1]; unmuteEntry.title = Config.main['Images and Videos']['Allow Sound'][1];
volumeEntry = $.el('label', { volumeEntry = $.el('label', {
@ -10491,20 +10503,10 @@
el: unmuteEntry, el: unmuteEntry,
order: 200 order: 200
}); });
Header.menu.addEntry({ return Header.menu.addEntry({
el: volumeEntry, el: volumeEntry,
order: 201 order: 201
}); });
if (Conf['Mouse Wheel Volume']) {
Post.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.node
});
return CatalogThread.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.catalogNode
});
}
}, },
setup: function(video) { setup: function(video) {
video.muted = !Conf['Allow Sound']; video.muted = !Conf['Allow Sound'];
@ -10532,8 +10534,8 @@
} }
}, },
node: function() { node: function() {
var _ref; var _ref, _ref1;
if (!((_ref = this.file) != null ? _ref.isVideo : void 0)) { if (!(((_ref = this.board.ID) === 'gif' || _ref === 'wsg') && ((_ref1 = this.file) != null ? _ref1.isVideo : void 0))) {
return; return;
} }
$.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover)); $.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover));

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.10.1.6 // @version 1.10.1.7
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.10.1.6 * 4chan X - Version 1.10.1.7
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE * https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -405,7 +405,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.10.1.6', VERSION: '1.10.1.7',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
NAME: '4chan X', NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -10471,9 +10471,21 @@
Conf['Default Volume'] = x; Conf['Default Volume'] = x;
return (_ref1 = Volume.inputs) != null ? _ref1.volume.value = x : void 0; return (_ref1 = Volume.inputs) != null ? _ref1.volume.value = x : void 0;
}); });
if (Conf['Mouse Wheel Volume']) {
Post.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.node
});
}
if ((_ref1 = g.BOARD.ID) !== 'gif' && _ref1 !== 'wsg') { if ((_ref1 = g.BOARD.ID) !== 'gif' && _ref1 !== 'wsg') {
return; return;
} }
if (Conf['Mouse Wheel Volume']) {
CatalogThread.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.catalogNode
});
}
unmuteEntry = UI.checkbox('Allow Sound', 'Allow Sound'); unmuteEntry = UI.checkbox('Allow Sound', 'Allow Sound');
unmuteEntry.title = Config.main['Images and Videos']['Allow Sound'][1]; unmuteEntry.title = Config.main['Images and Videos']['Allow Sound'][1];
volumeEntry = $.el('label', { volumeEntry = $.el('label', {
@ -10492,20 +10504,10 @@
el: unmuteEntry, el: unmuteEntry,
order: 200 order: 200
}); });
Header.menu.addEntry({ return Header.menu.addEntry({
el: volumeEntry, el: volumeEntry,
order: 201 order: 201
}); });
if (Conf['Mouse Wheel Volume']) {
Post.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.node
});
return CatalogThread.callbacks.push({
name: 'Mouse Wheel Volume',
cb: this.catalogNode
});
}
}, },
setup: function(video) { setup: function(video) {
video.muted = !Conf['Allow Sound']; video.muted = !Conf['Allow Sound'];
@ -10533,8 +10535,8 @@
} }
}, },
node: function() { node: function() {
var _ref; var _ref, _ref1;
if (!((_ref = this.file) != null ? _ref.isVideo : void 0)) { if (!(((_ref = this.board.ID) === 'gif' || _ref === 'wsg') && ((_ref1 = this.file) != null ? _ref1.isVideo : void 0))) {
return; return;
} }
$.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover)); $.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover));

Binary file not shown.

View File

@ -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://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.1.6' /> <updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.1.7' />
</app> </app>
</gupdate> </gupdate>

View File

@ -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://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.1.6' /> <updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.1.7' />
</app> </app>
</gupdate> </gupdate>

View File

@ -3,7 +3,7 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.", "description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": { "meta": {
"name": "4chan X", "name": "4chan X",
"version": "1.10.1.6", "version": "1.10.1.7",
"repo": "https://github.com/ccd0/4chan-x/", "repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x", "page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/", "downloads": "https://ccd0.github.io/4chan-x/builds/",