diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f7fbf63e..cc6c3f44b 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda ## v1.10.0 +**v1.10.0.7** *(2015-02-18)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.7/builds/4chan-X-noupdate.crx "Chromium version")] +- Work around more issues with clearing settings in Firefox 35+. + **v1.10.0.6** *(2015-02-17)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.6/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.0.6/builds/4chan-X-noupdate.crx "Chromium version")] - Fix bugs when `Fixed Header` is off but `Bottom Header` is on. diff --git a/LICENSE b/LICENSE index e81e74879..f4f60107b 100755 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.10.0.6 +* 4chan X - Version 1.10.0.7 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 887705b06..3a2b96533 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 e9e86119f..400b063e2 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.10.0.6 +// @version 1.10.0.7 // @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 a0c22a138..fc1e8db9a 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.10.0.6 +// @version 1.10.0.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -25,7 +25,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.10.0.6 +* 4chan X - Version 1.10.0.7 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -405,7 +405,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.0.6', + VERSION: '1.10.0.7', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -955,46 +955,44 @@ })(); $.clear = function(cb) { - var a, board, boards, err, id; + var a, board, boards, id; + $["delete"](Object.keys(Conf)); + $["delete"](['previousversion', 'AutoWatch', 'cooldown.global', 'QR Size', 'captchas', 'QR.persona', 'hiddenPSA']); + $["delete"]((function() { + var _i, _len, _ref, _results; + _ref = ['embedding', 'updater', 'thread-stats', 'thread-watcher', 'qr']; + _results = []; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + id = _ref[_i]; + _results.push("" + id + ".position"); + } + return _results; + })()); + boards = (function() { + var _i, _len, _ref, _results; + _ref = $$('#boardNavDesktop > .boardList > a'); + _results = []; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + a = _ref[_i]; + _results.push(a.textContent); + } + return _results; + })(); + boards.push('qa'); + $["delete"]((function() { + var _i, _len, _results; + _results = []; + for (_i = 0, _len = boards.length; _i < _len; _i++) { + board = boards[_i]; + _results.push("cooldown." + board); + } + return _results; + })()); try { $["delete"](GM_listValues().map(function(key) { return key.replace(g.NAMESPACE, ''); })); - } catch (_error) { - err = _error; - $["delete"](Object.keys(Conf)); - $["delete"](['previousversion', 'AutoWatch', 'cooldown.global', 'QR Size', 'captchas', 'QR.persona', 'hiddenPSA']); - $["delete"]((function() { - var _i, _len, _ref, _results; - _ref = ['embedding', 'updater', 'thread-stats', 'thread-watcher', 'qr']; - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - id = _ref[_i]; - _results.push("" + id + ".position"); - } - return _results; - })()); - boards = (function() { - var _i, _len, _ref, _results; - _ref = $$('#boardNavDesktop > .boardList > a'); - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - a = _ref[_i]; - _results.push(a.textContent); - } - return _results; - })(); - boards.push('qa'); - $["delete"]((function() { - var _i, _len, _results; - _results = []; - for (_i = 0, _len = boards.length; _i < _len; _i++) { - board = boards[_i]; - _results.push("cooldown." + board); - } - return _results; - })()); - } + } catch (_error) {} return typeof cb === "function" ? cb() : void 0; }; diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 7c995cf05..d77d54c4c 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 ba3479093..250a16a73 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.10.0.6 +// @version 1.10.0.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -24,7 +24,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.10.0.6 +* 4chan X - Version 1.10.0.7 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -404,7 +404,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.0.6', + VERSION: '1.10.0.7', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -954,46 +954,44 @@ })(); $.clear = function(cb) { - var a, board, boards, err, id; + var a, board, boards, id; + $["delete"](Object.keys(Conf)); + $["delete"](['previousversion', 'AutoWatch', 'cooldown.global', 'QR Size', 'captchas', 'QR.persona', 'hiddenPSA']); + $["delete"]((function() { + var _i, _len, _ref, _results; + _ref = ['embedding', 'updater', 'thread-stats', 'thread-watcher', 'qr']; + _results = []; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + id = _ref[_i]; + _results.push("" + id + ".position"); + } + return _results; + })()); + boards = (function() { + var _i, _len, _ref, _results; + _ref = $$('#boardNavDesktop > .boardList > a'); + _results = []; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + a = _ref[_i]; + _results.push(a.textContent); + } + return _results; + })(); + boards.push('qa'); + $["delete"]((function() { + var _i, _len, _results; + _results = []; + for (_i = 0, _len = boards.length; _i < _len; _i++) { + board = boards[_i]; + _results.push("cooldown." + board); + } + return _results; + })()); try { $["delete"](GM_listValues().map(function(key) { return key.replace(g.NAMESPACE, ''); })); - } catch (_error) { - err = _error; - $["delete"](Object.keys(Conf)); - $["delete"](['previousversion', 'AutoWatch', 'cooldown.global', 'QR Size', 'captchas', 'QR.persona', 'hiddenPSA']); - $["delete"]((function() { - var _i, _len, _ref, _results; - _ref = ['embedding', 'updater', 'thread-stats', 'thread-watcher', 'qr']; - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - id = _ref[_i]; - _results.push("" + id + ".position"); - } - return _results; - })()); - boards = (function() { - var _i, _len, _ref, _results; - _ref = $$('#boardNavDesktop > .boardList > a'); - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - a = _ref[_i]; - _results.push(a.textContent); - } - return _results; - })(); - boards.push('qa'); - $["delete"]((function() { - var _i, _len, _results; - _results = []; - for (_i = 0, _len = boards.length; _i < _len; _i++) { - board = boards[_i]; - _results.push("cooldown." + board); - } - return _results; - })()); - } + } catch (_error) {} return typeof cb === "function" ? cb() : void 0; }; diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index e5de795f6..70307d43d 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 31092f78a..8fc444fa1 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.10.0.6 +// @version 1.10.0.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 2ffb390b6..08e71c653 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.10.0.6 +// @version 1.10.0.7 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -25,7 +25,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.10.0.6 +* 4chan X - Version 1.10.0.7 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -405,7 +405,7 @@ doc = d.documentElement; g = { - VERSION: '1.10.0.6', + VERSION: '1.10.0.7', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -955,46 +955,44 @@ })(); $.clear = function(cb) { - var a, board, boards, err, id; + var a, board, boards, id; + $["delete"](Object.keys(Conf)); + $["delete"](['previousversion', 'AutoWatch', 'cooldown.global', 'QR Size', 'captchas', 'QR.persona', 'hiddenPSA']); + $["delete"]((function() { + var _i, _len, _ref, _results; + _ref = ['embedding', 'updater', 'thread-stats', 'thread-watcher', 'qr']; + _results = []; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + id = _ref[_i]; + _results.push("" + id + ".position"); + } + return _results; + })()); + boards = (function() { + var _i, _len, _ref, _results; + _ref = $$('#boardNavDesktop > .boardList > a'); + _results = []; + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + a = _ref[_i]; + _results.push(a.textContent); + } + return _results; + })(); + boards.push('qa'); + $["delete"]((function() { + var _i, _len, _results; + _results = []; + for (_i = 0, _len = boards.length; _i < _len; _i++) { + board = boards[_i]; + _results.push("cooldown." + board); + } + return _results; + })()); try { $["delete"](GM_listValues().map(function(key) { return key.replace(g.NAMESPACE, ''); })); - } catch (_error) { - err = _error; - $["delete"](Object.keys(Conf)); - $["delete"](['previousversion', 'AutoWatch', 'cooldown.global', 'QR Size', 'captchas', 'QR.persona', 'hiddenPSA']); - $["delete"]((function() { - var _i, _len, _ref, _results; - _ref = ['embedding', 'updater', 'thread-stats', 'thread-watcher', 'qr']; - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - id = _ref[_i]; - _results.push("" + id + ".position"); - } - return _results; - })()); - boards = (function() { - var _i, _len, _ref, _results; - _ref = $$('#boardNavDesktop > .boardList > a'); - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - a = _ref[_i]; - _results.push(a.textContent); - } - return _results; - })(); - boards.push('qa'); - $["delete"]((function() { - var _i, _len, _results; - _results = []; - for (_i = 0, _len = boards.length; _i < _len; _i++) { - board = boards[_i]; - _results.push("cooldown." + board); - } - return _results; - })()); - } + } catch (_error) {} return typeof cb === "function" ? cb() : void 0; }; diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index e1826dbe1..b521908ed 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 17c042d4a..02f306944 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 2c8462a58..e9e367ecf 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index 84f4d5ddb..d6b6fae7c 100755 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X", - "version": "1.10.0.6", + "version": "1.10.0.7", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",