Release 4chan X v1.9.21.4.
This commit is contained in:
parent
76639c1299
commit
f2bfea604d
@ -3,6 +3,15 @@ The attributions below are for work that has been incorporated into the script a
|
|||||||
The links to individual versions below are to copies of the script with the update URL removed. If you want automatic updates, install the script from the links on the [main page](https://github.com/ccd0/4chan-x).
|
The links to individual versions below are to copies of the script with the update URL removed. If you want automatic updates, install the script from the links on the [main page](https://github.com/ccd0/4chan-x).
|
||||||
|
|
||||||
<!-- v1.9.21.x -->
|
<!-- v1.9.21.x -->
|
||||||
|
### v1.9.21.4
|
||||||
|
*2015-01-30* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.4/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
|
|
||||||
|
Posting WebMs with sound has recently been enabled, at least on /wsg/.
|
||||||
|
|
||||||
|
- Restore `Allow Sound` option.
|
||||||
|
- Fix sound playing from replaced WebM thumbnails.
|
||||||
|
- Remove check for sound before posting.
|
||||||
|
|
||||||
### v1.9.21.3
|
### v1.9.21.3
|
||||||
*2015-01-28* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.3/builds/4chan-X-noupdate.crx "Chromium version")]
|
*2015-01-28* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.21.3/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
|
|
||||||
|
|||||||
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.9.21.3
|
* 4chan X - Version 1.9.21.4
|
||||||
*
|
*
|
||||||
* 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.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.9.21.3
|
// @version 1.9.21.4
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.9.21.3
|
// @version 1.9.21.4
|
||||||
// @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.9.21.3
|
* 4chan X - Version 1.9.21.4
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -196,6 +196,7 @@
|
|||||||
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
||||||
'Restart when Opened': [true, 'Restart GIFs and WebMs when you hover over or expand them.'],
|
'Restart when Opened': [true, 'Restart GIFs and WebMs when you hover over or expand them.'],
|
||||||
'Show Controls': [true, 'Show controls on videos expanded inline.'],
|
'Show Controls': [true, 'Show controls on videos expanded inline.'],
|
||||||
|
'Allow Sound': [true, 'Allow sound in videos.'],
|
||||||
'Loop in New Tab': [true, 'Loop videos opened in their own tabs.']
|
'Loop in New Tab': [true, 'Loop videos opened in their own tabs.']
|
||||||
},
|
},
|
||||||
'Menu': {
|
'Menu': {
|
||||||
@ -396,7 +397,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.9.21.3',
|
VERSION: '1.9.21.4',
|
||||||
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',
|
||||||
@ -7131,10 +7132,6 @@
|
|||||||
QR.error("" + file.name + ": Video too long (video: " + duration + "s, max: " + QR.max_duration_video + "s)");
|
QR.error("" + file.name + ": Video too long (video: " + duration + "s, max: " + QR.max_duration_video + "s)");
|
||||||
pass = false;
|
pass = false;
|
||||||
}
|
}
|
||||||
if (video.mozHasAudio || video.webkitAudioDecodedByteCount) {
|
|
||||||
QR.error("" + file.name + ": Audio not allowed");
|
|
||||||
pass = false;
|
|
||||||
}
|
|
||||||
cb(pass, video);
|
cb(pass, video);
|
||||||
return cb = null;
|
return cb = null;
|
||||||
});
|
});
|
||||||
@ -9030,6 +9027,7 @@
|
|||||||
$.replace(nodes.current, file);
|
$.replace(nodes.current, file);
|
||||||
if (elType === 'video') {
|
if (elType === 'video') {
|
||||||
file.loop = true;
|
file.loop = true;
|
||||||
|
file.muted = !Conf['Allow Sound'];
|
||||||
if (Conf['Autoplay']) {
|
if (Conf['Autoplay']) {
|
||||||
file.play();
|
file.play();
|
||||||
}
|
}
|
||||||
@ -9630,6 +9628,7 @@
|
|||||||
thumb.parentNode.removeAttribute('href');
|
thumb.parentNode.removeAttribute('href');
|
||||||
thumb.parentNode.removeAttribute('target');
|
thumb.parentNode.removeAttribute('target');
|
||||||
el.loop = true;
|
el.loop = true;
|
||||||
|
el.muted = !Conf['Allow Sound'];
|
||||||
}
|
}
|
||||||
if (!isVideo) {
|
if (!isVideo) {
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
@ -9823,6 +9822,7 @@
|
|||||||
if (isVideo) {
|
if (isVideo) {
|
||||||
el.loop = true;
|
el.loop = true;
|
||||||
el.controls = false;
|
el.controls = false;
|
||||||
|
el.muted = !Conf['Allow Sound'];
|
||||||
if (Conf['Autoplay']) {
|
if (Conf['Autoplay']) {
|
||||||
el.play();
|
el.play();
|
||||||
}
|
}
|
||||||
@ -9948,6 +9948,7 @@
|
|||||||
video = $.el('video', {
|
video = $.el('video', {
|
||||||
preload: 'none',
|
preload: 'none',
|
||||||
loop: true,
|
loop: true,
|
||||||
|
muted: true,
|
||||||
poster: thumb.src,
|
poster: thumb.src,
|
||||||
textContent: thumb.alt,
|
textContent: thumb.alt,
|
||||||
className: thumb.className
|
className: thumb.className
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.9.21.3
|
// @version 1.9.21.4
|
||||||
// @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.9.21.3
|
* 4chan X - Version 1.9.21.4
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -195,6 +195,7 @@
|
|||||||
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
||||||
'Restart when Opened': [true, 'Restart GIFs and WebMs when you hover over or expand them.'],
|
'Restart when Opened': [true, 'Restart GIFs and WebMs when you hover over or expand them.'],
|
||||||
'Show Controls': [true, 'Show controls on videos expanded inline.'],
|
'Show Controls': [true, 'Show controls on videos expanded inline.'],
|
||||||
|
'Allow Sound': [true, 'Allow sound in videos.'],
|
||||||
'Loop in New Tab': [true, 'Loop videos opened in their own tabs.']
|
'Loop in New Tab': [true, 'Loop videos opened in their own tabs.']
|
||||||
},
|
},
|
||||||
'Menu': {
|
'Menu': {
|
||||||
@ -395,7 +396,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.9.21.3',
|
VERSION: '1.9.21.4',
|
||||||
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',
|
||||||
@ -7130,10 +7131,6 @@
|
|||||||
QR.error("" + file.name + ": Video too long (video: " + duration + "s, max: " + QR.max_duration_video + "s)");
|
QR.error("" + file.name + ": Video too long (video: " + duration + "s, max: " + QR.max_duration_video + "s)");
|
||||||
pass = false;
|
pass = false;
|
||||||
}
|
}
|
||||||
if (video.mozHasAudio || video.webkitAudioDecodedByteCount) {
|
|
||||||
QR.error("" + file.name + ": Audio not allowed");
|
|
||||||
pass = false;
|
|
||||||
}
|
|
||||||
cb(pass, video);
|
cb(pass, video);
|
||||||
return cb = null;
|
return cb = null;
|
||||||
});
|
});
|
||||||
@ -9029,6 +9026,7 @@
|
|||||||
$.replace(nodes.current, file);
|
$.replace(nodes.current, file);
|
||||||
if (elType === 'video') {
|
if (elType === 'video') {
|
||||||
file.loop = true;
|
file.loop = true;
|
||||||
|
file.muted = !Conf['Allow Sound'];
|
||||||
if (Conf['Autoplay']) {
|
if (Conf['Autoplay']) {
|
||||||
file.play();
|
file.play();
|
||||||
}
|
}
|
||||||
@ -9629,6 +9627,7 @@
|
|||||||
thumb.parentNode.removeAttribute('href');
|
thumb.parentNode.removeAttribute('href');
|
||||||
thumb.parentNode.removeAttribute('target');
|
thumb.parentNode.removeAttribute('target');
|
||||||
el.loop = true;
|
el.loop = true;
|
||||||
|
el.muted = !Conf['Allow Sound'];
|
||||||
}
|
}
|
||||||
if (!isVideo) {
|
if (!isVideo) {
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
@ -9822,6 +9821,7 @@
|
|||||||
if (isVideo) {
|
if (isVideo) {
|
||||||
el.loop = true;
|
el.loop = true;
|
||||||
el.controls = false;
|
el.controls = false;
|
||||||
|
el.muted = !Conf['Allow Sound'];
|
||||||
if (Conf['Autoplay']) {
|
if (Conf['Autoplay']) {
|
||||||
el.play();
|
el.play();
|
||||||
}
|
}
|
||||||
@ -9947,6 +9947,7 @@
|
|||||||
video = $.el('video', {
|
video = $.el('video', {
|
||||||
preload: 'none',
|
preload: 'none',
|
||||||
loop: true,
|
loop: true,
|
||||||
|
muted: true,
|
||||||
poster: thumb.src,
|
poster: thumb.src,
|
||||||
textContent: thumb.alt,
|
textContent: thumb.alt,
|
||||||
className: thumb.className
|
className: thumb.className
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.9.21.3
|
// @version 1.9.21.4
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.9.21.3
|
// @version 1.9.21.4
|
||||||
// @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.9.21.3
|
* 4chan X - Version 1.9.21.4
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -196,6 +196,7 @@
|
|||||||
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
||||||
'Restart when Opened': [true, 'Restart GIFs and WebMs when you hover over or expand them.'],
|
'Restart when Opened': [true, 'Restart GIFs and WebMs when you hover over or expand them.'],
|
||||||
'Show Controls': [true, 'Show controls on videos expanded inline.'],
|
'Show Controls': [true, 'Show controls on videos expanded inline.'],
|
||||||
|
'Allow Sound': [true, 'Allow sound in videos.'],
|
||||||
'Loop in New Tab': [true, 'Loop videos opened in their own tabs.']
|
'Loop in New Tab': [true, 'Loop videos opened in their own tabs.']
|
||||||
},
|
},
|
||||||
'Menu': {
|
'Menu': {
|
||||||
@ -396,7 +397,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.9.21.3',
|
VERSION: '1.9.21.4',
|
||||||
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',
|
||||||
@ -7131,10 +7132,6 @@
|
|||||||
QR.error("" + file.name + ": Video too long (video: " + duration + "s, max: " + QR.max_duration_video + "s)");
|
QR.error("" + file.name + ": Video too long (video: " + duration + "s, max: " + QR.max_duration_video + "s)");
|
||||||
pass = false;
|
pass = false;
|
||||||
}
|
}
|
||||||
if (video.mozHasAudio || video.webkitAudioDecodedByteCount) {
|
|
||||||
QR.error("" + file.name + ": Audio not allowed");
|
|
||||||
pass = false;
|
|
||||||
}
|
|
||||||
cb(pass, video);
|
cb(pass, video);
|
||||||
return cb = null;
|
return cb = null;
|
||||||
});
|
});
|
||||||
@ -9030,6 +9027,7 @@
|
|||||||
$.replace(nodes.current, file);
|
$.replace(nodes.current, file);
|
||||||
if (elType === 'video') {
|
if (elType === 'video') {
|
||||||
file.loop = true;
|
file.loop = true;
|
||||||
|
file.muted = !Conf['Allow Sound'];
|
||||||
if (Conf['Autoplay']) {
|
if (Conf['Autoplay']) {
|
||||||
file.play();
|
file.play();
|
||||||
}
|
}
|
||||||
@ -9630,6 +9628,7 @@
|
|||||||
thumb.parentNode.removeAttribute('href');
|
thumb.parentNode.removeAttribute('href');
|
||||||
thumb.parentNode.removeAttribute('target');
|
thumb.parentNode.removeAttribute('target');
|
||||||
el.loop = true;
|
el.loop = true;
|
||||||
|
el.muted = !Conf['Allow Sound'];
|
||||||
}
|
}
|
||||||
if (!isVideo) {
|
if (!isVideo) {
|
||||||
return $.asap((function() {
|
return $.asap((function() {
|
||||||
@ -9823,6 +9822,7 @@
|
|||||||
if (isVideo) {
|
if (isVideo) {
|
||||||
el.loop = true;
|
el.loop = true;
|
||||||
el.controls = false;
|
el.controls = false;
|
||||||
|
el.muted = !Conf['Allow Sound'];
|
||||||
if (Conf['Autoplay']) {
|
if (Conf['Autoplay']) {
|
||||||
el.play();
|
el.play();
|
||||||
}
|
}
|
||||||
@ -9948,6 +9948,7 @@
|
|||||||
video = $.el('video', {
|
video = $.el('video', {
|
||||||
preload: 'none',
|
preload: 'none',
|
||||||
loop: true,
|
loop: true,
|
||||||
|
muted: true,
|
||||||
poster: thumb.src,
|
poster: thumb.src,
|
||||||
textContent: thumb.alt,
|
textContent: thumb.alt,
|
||||||
className: thumb.className
|
className: thumb.className
|
||||||
|
|||||||
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://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.9.21.3' />
|
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.9.21.4' />
|
||||||
</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://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.9.21.3' />
|
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.9.21.4' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -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.9.21.3",
|
"version": "1.9.21.4",
|
||||||
"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/",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user