Release 4chan X v1.11.5.2.

This commit is contained in:
ccd0 2015-07-15 14:18:53 -07:00
parent dea45c641a
commit a694eb51ad
13 changed files with 34 additions and 18 deletions

View File

@ -4,6 +4,10 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.5 ### v1.11.5
**v1.11.5.2** *(2015-07-15)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.5.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.5.2/builds/4chan-X-noupdate.crx "Chromium version")]
- Update `Disable Autoplaying Sounds` so the video in https://boards.4chan.org/g/thread/49036627 is visible.
- Tweak position of expanded images.
**v1.11.5.1** *(2015-07-14)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.5.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.5.1/builds/4chan-X-noupdate.crx "Chromium version")] **v1.11.5.1** *(2015-07-14)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.5.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.5.1/builds/4chan-X-noupdate.crx "Chromium version")]
- Bugfixes. - Bugfixes.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.11.5.1 // @version 1.11.5.2
// @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.11.5.1 // @version 1.11.5.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -411,7 +411,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.5.1', VERSION: '1.11.5.2',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -10684,7 +10684,7 @@
} }
if (file.scrollIntoView) { if (file.scrollIntoView) {
delete file.scrollIntoView; delete file.scrollIntoView;
imageBottom = Header.getBottomOf(file.fullImage); imageBottom = Math.min(doc.clientHeight - file.fullImage.getBoundingClientRect().bottom - 25, Header.getBottomOf(file.fullImage));
if (imageBottom < 0) { if (imageBottom < 0) {
window.scrollBy(0, Math.min(-imageBottom, Header.getTopOf(file.fullImage))); window.scrollBy(0, Math.min(-imageBottom, Header.getTopOf(file.fullImage)));
} }
@ -14496,11 +14496,13 @@
for (k = 0, len1 = ref.length; k < len1; k++) { for (k = 0, len1 = ref.length; k < len1; k++) {
iframe = ref[k]; iframe = ref[k];
iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', ''); iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
$.addClass(iframe, 'autoplay-removed');
} }
ref1 = $$('object[data*="youtube"][data*="autoplay=1"]', root); ref1 = $$('object[data*="youtube"][data*="autoplay=1"]', root);
for (q = 0, len2 = ref1.length; q < len2; q++) { for (q = 0, len2 = ref1.length; q < len2; q++) {
object = ref1[q]; object = ref1[q];
object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', ''); object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
$.addClass(object, 'autoplay-removed');
} }
} }
}; };
@ -18090,8 +18092,10 @@
" height: auto;\n" + " height: auto;\n" +
" text-align: center;\n" + " text-align: center;\n" +
"}\n" + "}\n" +
":root.anti-autoplay center iframe {\n" + ":root.anti-autoplay .autoplay-removed {\n" +
" display: block !important;\n" + " display: block !important;\n" +
" min-width: 640px;\n" +
" min-height: 390px;\n" +
"}\n" + "}\n" +
"/* fixed, z-index */\n" + "/* fixed, z-index */\n" +
"#overlay,\n" + "#overlay,\n" +

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.11.5.1 // @version 1.11.5.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -410,7 +410,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.5.1', VERSION: '1.11.5.2',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -10683,7 +10683,7 @@
} }
if (file.scrollIntoView) { if (file.scrollIntoView) {
delete file.scrollIntoView; delete file.scrollIntoView;
imageBottom = Header.getBottomOf(file.fullImage); imageBottom = Math.min(doc.clientHeight - file.fullImage.getBoundingClientRect().bottom - 25, Header.getBottomOf(file.fullImage));
if (imageBottom < 0) { if (imageBottom < 0) {
window.scrollBy(0, Math.min(-imageBottom, Header.getTopOf(file.fullImage))); window.scrollBy(0, Math.min(-imageBottom, Header.getTopOf(file.fullImage)));
} }
@ -14495,11 +14495,13 @@
for (k = 0, len1 = ref.length; k < len1; k++) { for (k = 0, len1 = ref.length; k < len1; k++) {
iframe = ref[k]; iframe = ref[k];
iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', ''); iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
$.addClass(iframe, 'autoplay-removed');
} }
ref1 = $$('object[data*="youtube"][data*="autoplay=1"]', root); ref1 = $$('object[data*="youtube"][data*="autoplay=1"]', root);
for (q = 0, len2 = ref1.length; q < len2; q++) { for (q = 0, len2 = ref1.length; q < len2; q++) {
object = ref1[q]; object = ref1[q];
object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', ''); object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
$.addClass(object, 'autoplay-removed');
} }
} }
}; };
@ -18089,8 +18091,10 @@
" height: auto;\n" + " height: auto;\n" +
" text-align: center;\n" + " text-align: center;\n" +
"}\n" + "}\n" +
":root.anti-autoplay center iframe {\n" + ":root.anti-autoplay .autoplay-removed {\n" +
" display: block !important;\n" + " display: block !important;\n" +
" min-width: 640px;\n" +
" min-height: 390px;\n" +
"}\n" + "}\n" +
"/* fixed, z-index */\n" + "/* fixed, z-index */\n" +
"#overlay,\n" + "#overlay,\n" +

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.5.1 // @version 1.11.5.2
// @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.11.5.1 // @version 1.11.5.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -411,7 +411,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.5.1', VERSION: '1.11.5.2',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -10684,7 +10684,7 @@
} }
if (file.scrollIntoView) { if (file.scrollIntoView) {
delete file.scrollIntoView; delete file.scrollIntoView;
imageBottom = Header.getBottomOf(file.fullImage); imageBottom = Math.min(doc.clientHeight - file.fullImage.getBoundingClientRect().bottom - 25, Header.getBottomOf(file.fullImage));
if (imageBottom < 0) { if (imageBottom < 0) {
window.scrollBy(0, Math.min(-imageBottom, Header.getTopOf(file.fullImage))); window.scrollBy(0, Math.min(-imageBottom, Header.getTopOf(file.fullImage)));
} }
@ -14496,11 +14496,13 @@
for (k = 0, len1 = ref.length; k < len1; k++) { for (k = 0, len1 = ref.length; k < len1; k++) {
iframe = ref[k]; iframe = ref[k];
iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', ''); iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
$.addClass(iframe, 'autoplay-removed');
} }
ref1 = $$('object[data*="youtube"][data*="autoplay=1"]', root); ref1 = $$('object[data*="youtube"][data*="autoplay=1"]', root);
for (q = 0, len2 = ref1.length; q < len2; q++) { for (q = 0, len2 = ref1.length; q < len2; q++) {
object = ref1[q]; object = ref1[q];
object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', ''); object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
$.addClass(object, 'autoplay-removed');
} }
} }
}; };
@ -18090,8 +18092,10 @@
" height: auto;\n" + " height: auto;\n" +
" text-align: center;\n" + " text-align: center;\n" +
"}\n" + "}\n" +
":root.anti-autoplay center iframe {\n" + ":root.anti-autoplay .autoplay-removed {\n" +
" display: block !important;\n" + " display: block !important;\n" +
" min-width: 640px;\n" +
" min-height: 390px;\n" +
"}\n" + "}\n" +
"/* fixed, z-index */\n" + "/* fixed, z-index */\n" +
"#overlay,\n" + "#overlay,\n" +

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

View File

@ -3,8 +3,8 @@
"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.11.5.1", "version": "1.11.5.2",
"date": "2015-07-15T04:46:18.491Z", "date": "2015-07-15T21:17:03.431Z",
"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/",