diff --git a/CHANGELOG.md b/CHANGELOG.md index 303f4d5d4..07db553ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### v1.13.15 +**v1.13.15.12** *(2018-05-05)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.12/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.12/builds/4chan-X-noupdate.crx)] +- Update workaround for ad breaking 4chan, take two. + **v1.13.15.11** *(2018-05-05)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.11/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.11/builds/4chan-X-noupdate.crx)] - Fix issue with HTTPS Redirect. #1876 - Update workaround for ad breaking 4chan. diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index e4e332665..14cc7270a 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 c796c6136..e7bd0ef9e 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.13.15.11 +// @version 1.13.15.12 // @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 c0bb8ca56..9976be60c 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.13.15.11 +// @version 1.13.15.12 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -159,7 +159,7 @@ docSet = function() { }; g = { - VERSION: '1.13.15.11', + VERSION: '1.13.15.12', NAMESPACE: '4chan X.', boards: {} }; @@ -11379,7 +11379,7 @@ Settings = (function() { } }, upgrade: function(data, version) { - var addCSS, addSauces, boardID, changes, compareString, corrupted, j, k, key, len, len1, list, message, name, record, ref, ref1, ref2, ref3, ref4, ref5, ref6, rice, set, setD, type, uids, val, val2, value; + var addCSS, addSauces, boardID, changes, compareString, corrupted, j, k, key, len, len1, list, name, record, ref, ref1, ref2, ref3, ref4, ref5, ref6, rice, set, setD, type, uids, val, val2, value; changes = {}; set = function(key, value) { return data[key] = changes[key] = value; @@ -11612,12 +11612,6 @@ Settings = (function() { } } } - if (compareString < '00001.00013.00014.00012') { - message = $.el('div', { - innerHTML: "Feedback request:
What features from 4chan X do you wish were available on other sites you use?
" - }); - new Notice('info', message); - } return changes; }, loadSettings: function(data, cb) { @@ -24658,8 +24652,21 @@ Main = (function() { } }; if (location.hostname === 'boards.4chan.org') { - $.onExists(doc, '#delform > .adg-rects', $.rm); - $.onExists(doc, '#adg-ol', $.rm); + $.global(function() { + var fromCharCode0; + fromCharCode0 = String.fromCharCode; + return String.fromCharCode = function() { + if (document.body) { + String.fromCharCode = fromCharCode0; + } else if (document.currentScript && !document.currentScript.src) { + throw Error(); + } + return fromCharCode0.apply(this, arguments); + }; + }); + $.asap(docSet, function() { + return $.onExists(doc, 'iframe[srcdoc]', $.rm); + }); } flatten(null, Config); ref1 = DataBoard.keys; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index e4aee6443..c36cbfcc7 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 30f2d2973..8930c8645 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.13.15.11 +// @version 1.13.15.12 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -159,7 +159,7 @@ docSet = function() { }; g = { - VERSION: '1.13.15.11', + VERSION: '1.13.15.12', NAMESPACE: '4chan X.', boards: {} }; @@ -11379,7 +11379,7 @@ Settings = (function() { } }, upgrade: function(data, version) { - var addCSS, addSauces, boardID, changes, compareString, corrupted, j, k, key, len, len1, list, message, name, record, ref, ref1, ref2, ref3, ref4, ref5, ref6, rice, set, setD, type, uids, val, val2, value; + var addCSS, addSauces, boardID, changes, compareString, corrupted, j, k, key, len, len1, list, name, record, ref, ref1, ref2, ref3, ref4, ref5, ref6, rice, set, setD, type, uids, val, val2, value; changes = {}; set = function(key, value) { return data[key] = changes[key] = value; @@ -11612,12 +11612,6 @@ Settings = (function() { } } } - if (compareString < '00001.00013.00014.00012') { - message = $.el('div', { - innerHTML: "Feedback request:
What features from 4chan X do you wish were available on other sites you use?
" - }); - new Notice('info', message); - } return changes; }, loadSettings: function(data, cb) { @@ -24658,8 +24652,21 @@ Main = (function() { } }; if (location.hostname === 'boards.4chan.org') { - $.onExists(doc, '#delform > .adg-rects', $.rm); - $.onExists(doc, '#adg-ol', $.rm); + $.global(function() { + var fromCharCode0; + fromCharCode0 = String.fromCharCode; + return String.fromCharCode = function() { + if (document.body) { + String.fromCharCode = fromCharCode0; + } else if (document.currentScript && !document.currentScript.src) { + throw Error(); + } + return fromCharCode0.apply(this, arguments); + }; + }); + $.asap(docSet, function() { + return $.onExists(doc, 'iframe[srcdoc]', $.rm); + }); } flatten(null, Config); ref1 = DataBoard.keys; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index ae857dd4a..2c746286c 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 b0b9e89e1..5bccbf0a8 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.15.11 +// @version 1.13.15.12 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index e751be79a..47e101ea2 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.13.15.11 +// @version 1.13.15.12 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -159,7 +159,7 @@ docSet = function() { }; g = { - VERSION: '1.13.15.11', + VERSION: '1.13.15.12', NAMESPACE: '4chan X.', boards: {} }; @@ -11379,7 +11379,7 @@ Settings = (function() { } }, upgrade: function(data, version) { - var addCSS, addSauces, boardID, changes, compareString, corrupted, j, k, key, len, len1, list, message, name, record, ref, ref1, ref2, ref3, ref4, ref5, ref6, rice, set, setD, type, uids, val, val2, value; + var addCSS, addSauces, boardID, changes, compareString, corrupted, j, k, key, len, len1, list, name, record, ref, ref1, ref2, ref3, ref4, ref5, ref6, rice, set, setD, type, uids, val, val2, value; changes = {}; set = function(key, value) { return data[key] = changes[key] = value; @@ -11612,12 +11612,6 @@ Settings = (function() { } } } - if (compareString < '00001.00013.00014.00012') { - message = $.el('div', { - innerHTML: "Feedback request:
What features from 4chan X do you wish were available on other sites you use?
" - }); - new Notice('info', message); - } return changes; }, loadSettings: function(data, cb) { @@ -24658,8 +24652,21 @@ Main = (function() { } }; if (location.hostname === 'boards.4chan.org') { - $.onExists(doc, '#delform > .adg-rects', $.rm); - $.onExists(doc, '#adg-ol', $.rm); + $.global(function() { + var fromCharCode0; + fromCharCode0 = String.fromCharCode; + return String.fromCharCode = function() { + if (document.body) { + String.fromCharCode = fromCharCode0; + } else if (document.currentScript && !document.currentScript.src) { + throw Error(); + } + return fromCharCode0.apply(this, arguments); + }; + }); + $.asap(docSet, function() { + return $.onExists(doc, 'iframe[srcdoc]', $.rm); + }); } flatten(null, Config); ref1 = DataBoard.keys; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 8bb9b742b..8372b0432 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.json b/builds/updates-beta.json index d7b81344e..fe8a25b18 100644 --- a/builds/updates-beta.json +++ b/builds/updates-beta.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.13.15.11", + "version": "1.13.15.12", "update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx" } ] diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index 2d6fcb0b6..2958fdd90 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.json b/builds/updates.json index 934f61cb9..50d50f919 100644 --- a/builds/updates.json +++ b/builds/updates.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.13.15.11", + "version": "1.13.15.12", "update_link": "https://www.4chan-x.net/builds/4chan-X.crx" } ] diff --git a/builds/updates.xml b/builds/updates.xml index d4e1cba37..8bbad2356 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index d68b87823..9340b4193 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.13.15.11", - "date": "2018-05-05T09:19:51.924Z" + "version": "1.13.15.12", + "date": "2018-05-05T22:36:32.967Z" } \ No newline at end of file