Release 4chan X v1.12.0.8.
This commit is contained in:
parent
aa7ad6a297
commit
47d1f3678d
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
## v1.12.0
|
## v1.12.0
|
||||||
|
|
||||||
|
**v1.12.0.8** *(2016-07-07)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.8/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.8/builds/4chan-X-noupdate.crx)]
|
||||||
|
- Restore `Restart when Opened` option.
|
||||||
|
|
||||||
**v1.12.0.7** *(2016-07-06)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.7/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.7/builds/4chan-X-noupdate.crx)]
|
**v1.12.0.7** *(2016-07-06)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.7/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.7/builds/4chan-X-noupdate.crx)]
|
||||||
- Restore `Open Post in New Tab` option.
|
- Restore `Open Post in New Tab` option.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.12.0.7
|
// @version 1.12.0.8
|
||||||
// @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.12.0.7
|
// @version 1.12.0.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -136,7 +136,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.12.0.7',
|
VERSION: '1.12.0.8',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -244,6 +244,7 @@ Config = (function() {
|
|||||||
'Fappe Tyme': [true, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
|
'Fappe Tyme': [true, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
|
||||||
'Werk Tyme': [true, 'Hide all post images when header menu item is checked.'],
|
'Werk Tyme': [true, 'Hide all post images when header menu item is checked.'],
|
||||||
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
||||||
|
'Restart when Opened': [false, '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.'],
|
||||||
'Click Passthrough': [false, 'Clicks on videos trigger your browser\'s default behavior. Videos can be contracted with button / dragging to the left.', 1],
|
'Click Passthrough': [false, 'Clicks on videos trigger your browser\'s default behavior. Videos can be contracted with button / dragging to the left.', 1],
|
||||||
'Allow Sound': [true, 'Open videos with the sound unmuted.'],
|
'Allow Sound': [true, 'Open videos with the sound unmuted.'],
|
||||||
@ -11685,6 +11686,17 @@ ImageCommon = (function() {
|
|||||||
$.off(video, 'volumechange', Volume.change);
|
$.off(video, 'volumechange', Volume.change);
|
||||||
return video.muted = true;
|
return video.muted = true;
|
||||||
},
|
},
|
||||||
|
rewind: function(el) {
|
||||||
|
if (el.nodeName === 'VIDEO') {
|
||||||
|
if (el.readyState >= el.HAVE_METADATA) {
|
||||||
|
return el.currentTime = 0;
|
||||||
|
}
|
||||||
|
} else if (/\.gif$/.test(el.src)) {
|
||||||
|
return $.queueTask(function() {
|
||||||
|
return el.src = el.src;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
pushCache: function(el) {
|
pushCache: function(el) {
|
||||||
ImageCommon.cache = el;
|
ImageCommon.cache = el;
|
||||||
return $.on(el, 'error', ImageCommon.cacheError);
|
return $.on(el, 'error', ImageCommon.cacheError);
|
||||||
@ -12005,6 +12017,9 @@ ImageExpand = (function() {
|
|||||||
$.off(el, eventName, cb);
|
$.off(el, eventName, cb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (Conf['Restart when Opened']) {
|
||||||
|
ImageCommon.rewind(file.thumb);
|
||||||
|
}
|
||||||
delete file.fullImage;
|
delete file.fullImage;
|
||||||
return $.queueTask(function() {
|
return $.queueTask(function() {
|
||||||
if (file.isExpanding || file.isExpanded) {
|
if (file.isExpanding || file.isExpanded) {
|
||||||
@ -12031,6 +12046,9 @@ ImageExpand = (function() {
|
|||||||
} else if (((ref = ImageCommon.cache) != null ? ref.dataset.fullID : void 0) === post.fullID) {
|
} else if (((ref = ImageCommon.cache) != null ? ref.dataset.fullID : void 0) === post.fullID) {
|
||||||
el = file.fullImage = ImageCommon.popCache();
|
el = file.fullImage = ImageCommon.popCache();
|
||||||
$.on(el, 'error', ImageExpand.error);
|
$.on(el, 'error', ImageExpand.error);
|
||||||
|
if (Conf['Restart when Opened'] && el.id !== 'ihover') {
|
||||||
|
ImageCommon.rewind(el);
|
||||||
|
}
|
||||||
el.removeAttribute('id');
|
el.removeAttribute('id');
|
||||||
} else {
|
} else {
|
||||||
el = file.fullImage = $.el((isVideo ? 'video' : 'img'));
|
el = file.fullImage = $.el((isVideo ? 'video' : 'img'));
|
||||||
@ -12274,6 +12292,10 @@ ImageHover = (function() {
|
|||||||
$.on(el, 'error', error);
|
$.on(el, 'error', error);
|
||||||
el.src = file.url;
|
el.src = file.url;
|
||||||
}
|
}
|
||||||
|
if (Conf['Restart when Opened']) {
|
||||||
|
ImageCommon.rewind(el);
|
||||||
|
ImageCommon.rewind(this);
|
||||||
|
}
|
||||||
el.id = 'ihover';
|
el.id = 'ihover';
|
||||||
$.add(Header.hover, el);
|
$.add(Header.hover, el);
|
||||||
if (isVideo) {
|
if (isVideo) {
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.12.0.7
|
// @version 1.12.0.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -136,7 +136,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.12.0.7',
|
VERSION: '1.12.0.8',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -244,6 +244,7 @@ Config = (function() {
|
|||||||
'Fappe Tyme': [true, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
|
'Fappe Tyme': [true, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
|
||||||
'Werk Tyme': [true, 'Hide all post images when header menu item is checked.'],
|
'Werk Tyme': [true, 'Hide all post images when header menu item is checked.'],
|
||||||
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
||||||
|
'Restart when Opened': [false, '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.'],
|
||||||
'Click Passthrough': [false, 'Clicks on videos trigger your browser\'s default behavior. Videos can be contracted with button / dragging to the left.', 1],
|
'Click Passthrough': [false, 'Clicks on videos trigger your browser\'s default behavior. Videos can be contracted with button / dragging to the left.', 1],
|
||||||
'Allow Sound': [true, 'Open videos with the sound unmuted.'],
|
'Allow Sound': [true, 'Open videos with the sound unmuted.'],
|
||||||
@ -11685,6 +11686,17 @@ ImageCommon = (function() {
|
|||||||
$.off(video, 'volumechange', Volume.change);
|
$.off(video, 'volumechange', Volume.change);
|
||||||
return video.muted = true;
|
return video.muted = true;
|
||||||
},
|
},
|
||||||
|
rewind: function(el) {
|
||||||
|
if (el.nodeName === 'VIDEO') {
|
||||||
|
if (el.readyState >= el.HAVE_METADATA) {
|
||||||
|
return el.currentTime = 0;
|
||||||
|
}
|
||||||
|
} else if (/\.gif$/.test(el.src)) {
|
||||||
|
return $.queueTask(function() {
|
||||||
|
return el.src = el.src;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
pushCache: function(el) {
|
pushCache: function(el) {
|
||||||
ImageCommon.cache = el;
|
ImageCommon.cache = el;
|
||||||
return $.on(el, 'error', ImageCommon.cacheError);
|
return $.on(el, 'error', ImageCommon.cacheError);
|
||||||
@ -12005,6 +12017,9 @@ ImageExpand = (function() {
|
|||||||
$.off(el, eventName, cb);
|
$.off(el, eventName, cb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (Conf['Restart when Opened']) {
|
||||||
|
ImageCommon.rewind(file.thumb);
|
||||||
|
}
|
||||||
delete file.fullImage;
|
delete file.fullImage;
|
||||||
return $.queueTask(function() {
|
return $.queueTask(function() {
|
||||||
if (file.isExpanding || file.isExpanded) {
|
if (file.isExpanding || file.isExpanded) {
|
||||||
@ -12031,6 +12046,9 @@ ImageExpand = (function() {
|
|||||||
} else if (((ref = ImageCommon.cache) != null ? ref.dataset.fullID : void 0) === post.fullID) {
|
} else if (((ref = ImageCommon.cache) != null ? ref.dataset.fullID : void 0) === post.fullID) {
|
||||||
el = file.fullImage = ImageCommon.popCache();
|
el = file.fullImage = ImageCommon.popCache();
|
||||||
$.on(el, 'error', ImageExpand.error);
|
$.on(el, 'error', ImageExpand.error);
|
||||||
|
if (Conf['Restart when Opened'] && el.id !== 'ihover') {
|
||||||
|
ImageCommon.rewind(el);
|
||||||
|
}
|
||||||
el.removeAttribute('id');
|
el.removeAttribute('id');
|
||||||
} else {
|
} else {
|
||||||
el = file.fullImage = $.el((isVideo ? 'video' : 'img'));
|
el = file.fullImage = $.el((isVideo ? 'video' : 'img'));
|
||||||
@ -12274,6 +12292,10 @@ ImageHover = (function() {
|
|||||||
$.on(el, 'error', error);
|
$.on(el, 'error', error);
|
||||||
el.src = file.url;
|
el.src = file.url;
|
||||||
}
|
}
|
||||||
|
if (Conf['Restart when Opened']) {
|
||||||
|
ImageCommon.rewind(el);
|
||||||
|
ImageCommon.rewind(this);
|
||||||
|
}
|
||||||
el.id = 'ihover';
|
el.id = 'ihover';
|
||||||
$.add(Header.hover, el);
|
$.add(Header.hover, el);
|
||||||
if (isVideo) {
|
if (isVideo) {
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.12.0.7
|
// @version 1.12.0.8
|
||||||
// @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.12.0.7
|
// @version 1.12.0.8
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -136,7 +136,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.12.0.7',
|
VERSION: '1.12.0.8',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -244,6 +244,7 @@ Config = (function() {
|
|||||||
'Fappe Tyme': [true, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
|
'Fappe Tyme': [true, 'Hide posts without images when header menu item is checked. *hint* *hint*'],
|
||||||
'Werk Tyme': [true, 'Hide all post images when header menu item is checked.'],
|
'Werk Tyme': [true, 'Hide all post images when header menu item is checked.'],
|
||||||
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
'Autoplay': [true, 'Videos begin playing immediately when opened.'],
|
||||||
|
'Restart when Opened': [false, '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.'],
|
||||||
'Click Passthrough': [false, 'Clicks on videos trigger your browser\'s default behavior. Videos can be contracted with button / dragging to the left.', 1],
|
'Click Passthrough': [false, 'Clicks on videos trigger your browser\'s default behavior. Videos can be contracted with button / dragging to the left.', 1],
|
||||||
'Allow Sound': [true, 'Open videos with the sound unmuted.'],
|
'Allow Sound': [true, 'Open videos with the sound unmuted.'],
|
||||||
@ -11685,6 +11686,17 @@ ImageCommon = (function() {
|
|||||||
$.off(video, 'volumechange', Volume.change);
|
$.off(video, 'volumechange', Volume.change);
|
||||||
return video.muted = true;
|
return video.muted = true;
|
||||||
},
|
},
|
||||||
|
rewind: function(el) {
|
||||||
|
if (el.nodeName === 'VIDEO') {
|
||||||
|
if (el.readyState >= el.HAVE_METADATA) {
|
||||||
|
return el.currentTime = 0;
|
||||||
|
}
|
||||||
|
} else if (/\.gif$/.test(el.src)) {
|
||||||
|
return $.queueTask(function() {
|
||||||
|
return el.src = el.src;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
pushCache: function(el) {
|
pushCache: function(el) {
|
||||||
ImageCommon.cache = el;
|
ImageCommon.cache = el;
|
||||||
return $.on(el, 'error', ImageCommon.cacheError);
|
return $.on(el, 'error', ImageCommon.cacheError);
|
||||||
@ -12005,6 +12017,9 @@ ImageExpand = (function() {
|
|||||||
$.off(el, eventName, cb);
|
$.off(el, eventName, cb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (Conf['Restart when Opened']) {
|
||||||
|
ImageCommon.rewind(file.thumb);
|
||||||
|
}
|
||||||
delete file.fullImage;
|
delete file.fullImage;
|
||||||
return $.queueTask(function() {
|
return $.queueTask(function() {
|
||||||
if (file.isExpanding || file.isExpanded) {
|
if (file.isExpanding || file.isExpanded) {
|
||||||
@ -12031,6 +12046,9 @@ ImageExpand = (function() {
|
|||||||
} else if (((ref = ImageCommon.cache) != null ? ref.dataset.fullID : void 0) === post.fullID) {
|
} else if (((ref = ImageCommon.cache) != null ? ref.dataset.fullID : void 0) === post.fullID) {
|
||||||
el = file.fullImage = ImageCommon.popCache();
|
el = file.fullImage = ImageCommon.popCache();
|
||||||
$.on(el, 'error', ImageExpand.error);
|
$.on(el, 'error', ImageExpand.error);
|
||||||
|
if (Conf['Restart when Opened'] && el.id !== 'ihover') {
|
||||||
|
ImageCommon.rewind(el);
|
||||||
|
}
|
||||||
el.removeAttribute('id');
|
el.removeAttribute('id');
|
||||||
} else {
|
} else {
|
||||||
el = file.fullImage = $.el((isVideo ? 'video' : 'img'));
|
el = file.fullImage = $.el((isVideo ? 'video' : 'img'));
|
||||||
@ -12274,6 +12292,10 @@ ImageHover = (function() {
|
|||||||
$.on(el, 'error', error);
|
$.on(el, 'error', error);
|
||||||
el.src = file.url;
|
el.src = file.url;
|
||||||
}
|
}
|
||||||
|
if (Conf['Restart when Opened']) {
|
||||||
|
ImageCommon.rewind(el);
|
||||||
|
ImageCommon.rewind(this);
|
||||||
|
}
|
||||||
el.id = 'ihover';
|
el.id = 'ihover';
|
||||||
$.add(Header.hover, el);
|
$.add(Header.hover, el);
|
||||||
if (isVideo) {
|
if (isVideo) {
|
||||||
|
|||||||
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.12.0.7' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.12.0.8' />
|
||||||
</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.12.0.7' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.12.0.8' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.12.0.7",
|
"version": "1.12.0.8",
|
||||||
"date": "2016-07-06T08:35:01.248Z"
|
"date": "2016-07-07T00:27:21.985Z"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user