diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0ac11c08f..f0a3a72a6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,9 @@
### v1.12.3
+**v1.12.3.10** *(2016-10-27)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.3.10/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.3.10/builds/4chan-X-noupdate.crx)]
+- Update due to 4chan's ad changes.
+
**v1.12.3.9** *(2016-10-18)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.3.9/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.3.9/builds/4chan-X-noupdate.crx)]
- Add basic support for is.4chan.org domain.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index a65368cd2..78f04332e 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 d1ec5e248..0851dff2e 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.12.3.9
+// @version 1.12.3.10
// @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 eb4e1f931..1f2acc1e8 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.12.3.9
+// @version 1.12.3.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.12.3.9',
+ VERSION: '1.12.3.10',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -1303,12 +1303,13 @@ body > div[style*=\" top: -10000px;\"] {\n\
:root:not(.ads-loaded) .ad-cnt > * {\n\
height: auto;\n\
}\n\
+:root:not(.ads-loaded) .adg-rects,\n\
:root:not(.ads-loaded) .ad-plea,\n\
:root:not(.ads-loaded) hr.abovePostForm,\n\
:root:not(.ads-loaded) .ad-plea-bottom + hr {\n\
display: none;\n\
}\n\
-hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {\n\
+div.center[style] {\n\
display: none !important;\n\
}\n\
/* Anti-autoplay */\n\
@@ -9959,8 +9960,8 @@ Settings = (function() {
}
},
ads: function(cb) {
- return $.onExists(doc, '.ad-cnt', function(ad) {
- return $.onExists(ad, 'img', function() {
+ return $.onExists(doc, '.ad-cnt, .adg-rects', function(ad) {
+ return $.onExists(ad, 'img, iframe', function() {
var url;
url = Redirect.to('thread', {
boardID: 'qa',
@@ -22721,8 +22722,8 @@ Main = (function() {
if ($.engine) {
$.addClass(doc, "ua-" + $.engine);
}
- $.onExists(doc, '.ad-cnt', function(ad) {
- return $.onExists(ad, 'img', function() {
+ $.onExists(doc, '.ad-cnt, .adg-rects', function(ad) {
+ return $.onExists(ad, 'img, iframe', function() {
return $.addClass(doc, 'ads-loaded');
});
});
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 2f69587d0..6eb8e0bd3 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 f5d0a9707..0d97fef97 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.12.3.9
+// @version 1.12.3.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.12.3.9',
+ VERSION: '1.12.3.10',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -1303,12 +1303,13 @@ body > div[style*=\" top: -10000px;\"] {\n\
:root:not(.ads-loaded) .ad-cnt > * {\n\
height: auto;\n\
}\n\
+:root:not(.ads-loaded) .adg-rects,\n\
:root:not(.ads-loaded) .ad-plea,\n\
:root:not(.ads-loaded) hr.abovePostForm,\n\
:root:not(.ads-loaded) .ad-plea-bottom + hr {\n\
display: none;\n\
}\n\
-hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {\n\
+div.center[style] {\n\
display: none !important;\n\
}\n\
/* Anti-autoplay */\n\
@@ -9959,8 +9960,8 @@ Settings = (function() {
}
},
ads: function(cb) {
- return $.onExists(doc, '.ad-cnt', function(ad) {
- return $.onExists(ad, 'img', function() {
+ return $.onExists(doc, '.ad-cnt, .adg-rects', function(ad) {
+ return $.onExists(ad, 'img, iframe', function() {
var url;
url = Redirect.to('thread', {
boardID: 'qa',
@@ -22721,8 +22722,8 @@ Main = (function() {
if ($.engine) {
$.addClass(doc, "ua-" + $.engine);
}
- $.onExists(doc, '.ad-cnt', function(ad) {
- return $.onExists(ad, 'img', function() {
+ $.onExists(doc, '.ad-cnt, .adg-rects', function(ad) {
+ return $.onExists(ad, 'img, iframe', function() {
return $.addClass(doc, 'ads-loaded');
});
});
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 9ffb069c4..7a3932836 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 d0f06049a..eb0d0bef0 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.12.3.9
+// @version 1.12.3.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 579a87051..bb7967770 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.12.3.9
+// @version 1.12.3.10
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -147,7 +147,7 @@ docSet = function() {
};
g = {
- VERSION: '1.12.3.9',
+ VERSION: '1.12.3.10',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -1303,12 +1303,13 @@ body > div[style*=\" top: -10000px;\"] {\n\
:root:not(.ads-loaded) .ad-cnt > * {\n\
height: auto;\n\
}\n\
+:root:not(.ads-loaded) .adg-rects,\n\
:root:not(.ads-loaded) .ad-plea,\n\
:root:not(.ads-loaded) hr.abovePostForm,\n\
:root:not(.ads-loaded) .ad-plea-bottom + hr {\n\
display: none;\n\
}\n\
-hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {\n\
+div.center[style] {\n\
display: none !important;\n\
}\n\
/* Anti-autoplay */\n\
@@ -9959,8 +9960,8 @@ Settings = (function() {
}
},
ads: function(cb) {
- return $.onExists(doc, '.ad-cnt', function(ad) {
- return $.onExists(ad, 'img', function() {
+ return $.onExists(doc, '.ad-cnt, .adg-rects', function(ad) {
+ return $.onExists(ad, 'img, iframe', function() {
var url;
url = Redirect.to('thread', {
boardID: 'qa',
@@ -22721,8 +22722,8 @@ Main = (function() {
if ($.engine) {
$.addClass(doc, "ua-" + $.engine);
}
- $.onExists(doc, '.ad-cnt', function(ad) {
- return $.onExists(ad, 'img', function() {
+ $.onExists(doc, '.ad-cnt, .adg-rects', function(ad) {
+ return $.onExists(ad, 'img, iframe', function() {
return $.addClass(doc, 'ads-loaded');
});
});
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 6ab8d7e6e..2eb9835de 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 ae6f71292..3ca28dac6 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 96e28f358..c2352fd16 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index d1701887a..799a9e9fc 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.12.3.9",
- "date": "2016-10-18T19:37:23.603Z"
+ "version": "1.12.3.10",
+ "date": "2016-10-27T17:31:18.611Z"
}
\ No newline at end of file