diff --git a/CHANGELOG.md b/CHANGELOG.md
index d1573c3c9..73c96c18a 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### 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")]
- Bugfixes.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 7c05bc3ae..1cd804653 100644
Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ
diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js
index 386383fc3..45c1ae894 100644
--- a/builds/4chan-X-beta.meta.js
+++ b/builds/4chan-X-beta.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.5.1
+// @version 1.11.5.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js
index 19811d500..ce53eb1e2 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.5.1
+// @version 1.11.5.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -411,7 +411,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.5.1',
+ VERSION: '1.11.5.2',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -10684,7 +10684,7 @@
}
if (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) {
window.scrollBy(0, Math.min(-imageBottom, Header.getTopOf(file.fullImage)));
}
@@ -14496,11 +14496,13 @@
for (k = 0, len1 = ref.length; k < len1; k++) {
iframe = ref[k];
iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
+ $.addClass(iframe, 'autoplay-removed');
}
ref1 = $$('object[data*="youtube"][data*="autoplay=1"]', root);
for (q = 0, len2 = ref1.length; q < len2; q++) {
object = ref1[q];
object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
+ $.addClass(object, 'autoplay-removed');
}
}
};
@@ -18090,8 +18092,10 @@
" height: auto;\n" +
" text-align: center;\n" +
"}\n" +
-":root.anti-autoplay center iframe {\n" +
+":root.anti-autoplay .autoplay-removed {\n" +
" display: block !important;\n" +
+" min-width: 640px;\n" +
+" min-height: 390px;\n" +
"}\n" +
"/* fixed, z-index */\n" +
"#overlay,\n" +
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 8d4def280..6c88f41e5 100644
Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ
diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js
index bf681335c..0c9ab256b 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.5.1
+// @version 1.11.5.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -410,7 +410,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.5.1',
+ VERSION: '1.11.5.2',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -10683,7 +10683,7 @@
}
if (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) {
window.scrollBy(0, Math.min(-imageBottom, Header.getTopOf(file.fullImage)));
}
@@ -14495,11 +14495,13 @@
for (k = 0, len1 = ref.length; k < len1; k++) {
iframe = ref[k];
iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
+ $.addClass(iframe, 'autoplay-removed');
}
ref1 = $$('object[data*="youtube"][data*="autoplay=1"]', root);
for (q = 0, len2 = ref1.length; q < len2; q++) {
object = ref1[q];
object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
+ $.addClass(object, 'autoplay-removed');
}
}
};
@@ -18089,8 +18091,10 @@
" height: auto;\n" +
" text-align: center;\n" +
"}\n" +
-":root.anti-autoplay center iframe {\n" +
+":root.anti-autoplay .autoplay-removed {\n" +
" display: block !important;\n" +
+" min-width: 640px;\n" +
+" min-height: 390px;\n" +
"}\n" +
"/* fixed, z-index */\n" +
"#overlay,\n" +
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 5e74dcb49..5460803df 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index feca9d8a2..3d985dbc3 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.11.5.1
+// @version 1.11.5.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 35070521e..d0a7ff68b 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.5.1
+// @version 1.11.5.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -411,7 +411,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.5.1',
+ VERSION: '1.11.5.2',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -10684,7 +10684,7 @@
}
if (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) {
window.scrollBy(0, Math.min(-imageBottom, Header.getTopOf(file.fullImage)));
}
@@ -14496,11 +14496,13 @@
for (k = 0, len1 = ref.length; k < len1; k++) {
iframe = ref[k];
iframe.src = iframe.src.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
+ $.addClass(iframe, 'autoplay-removed');
}
ref1 = $$('object[data*="youtube"][data*="autoplay=1"]', root);
for (q = 0, len2 = ref1.length; q < len2; q++) {
object = ref1[q];
object.data = object.data.replace(/\?autoplay=1&?/, '?').replace('&autoplay=1', '');
+ $.addClass(object, 'autoplay-removed');
}
}
};
@@ -18090,8 +18092,10 @@
" height: auto;\n" +
" text-align: center;\n" +
"}\n" +
-":root.anti-autoplay center iframe {\n" +
+":root.anti-autoplay .autoplay-removed {\n" +
" display: block !important;\n" +
+" min-width: 640px;\n" +
+" min-height: 390px;\n" +
"}\n" +
"/* fixed, z-index */\n" +
"#overlay,\n" +
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index e3d3fc331..c91aee9a3 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index 1b6b7c815..1212774fc 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.xml b/builds/updates.xml
index 39deeeaec..f157f6ab1 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/package.json b/package.json
index bffee4702..b32c0e481 100755
--- a/package.json
+++ b/package.json
@@ -3,8 +3,8 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",
- "version": "1.11.5.1",
- "date": "2015-07-15T04:46:18.491Z",
+ "version": "1.11.5.2",
+ "date": "2015-07-15T21:17:03.431Z",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",