Release 4chan X v1.12.0.2.

This commit is contained in:
ccd0 2016-06-20 01:55:37 -07:00
parent 1de2c937ba
commit 7dbd3319b0
13 changed files with 69 additions and 33 deletions

View File

@ -2,6 +2,9 @@
## v1.12.0 ## v1.12.0
**v1.12.0.2** *(2016-06-20)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.2/builds/4chan-X-noupdate.crx)]
- Fix issue with disabling native extension on Pale Moon with cookies disabled on 4chan.
**v1.12.0.1** *(2016-06-19)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.1/builds/4chan-X-noupdate.crx)] **v1.12.0.1** *(2016-06-19)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.1/builds/4chan-X-noupdate.crx)]
- Implement `Count Posts by ID`. - Implement `Count Posts by ID`.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.12.0.1 // @version 1.12.0.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.12.0.1 // @version 1.12.0.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -136,7 +136,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.12.0.1', VERSION: '1.12.0.2',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -9646,7 +9646,7 @@ Settings = (function() {
Settings = { Settings = {
init: function() { init: function() {
var add, link, settings; var add, link;
link = $.el('a', { link = $.el('a', {
className: 'settings-link fa fa-wrench', className: 'settings-link fa fa-wrench',
textContent: 'Settings', textContent: 'Settings',
@ -9667,12 +9667,23 @@ Settings = (function() {
}); });
if (Conf['Disable Native Extension']) { if (Conf['Disable Native Extension']) {
if ($.hasStorage) { if ($.hasStorage) {
settings = JSON.parse(localStorage.getItem('4chan-settings')) || {}; return $.global(function() {
if (settings.disableAll) { var settings;
return; try {
} settings = JSON.parse(localStorage.getItem('4chan-settings')) || {};
settings.disableAll = true; if (settings.disableAll) {
return localStorage.setItem('4chan-settings', JSON.stringify(settings)); return;
}
settings.disableAll = true;
return localStorage.setItem('4chan-settings', JSON.stringify(settings));
} catch (_error) {
return Object.defineProperty(window, 'Config', {
value: {
disableAll: true
}
});
}
});
} else { } else {
return $.global(function() { return $.global(function() {
return Object.defineProperty(window, 'Config', { return Object.defineProperty(window, 'Config', {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.12.0.1 // @version 1.12.0.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -136,7 +136,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.12.0.1', VERSION: '1.12.0.2',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -9646,7 +9646,7 @@ Settings = (function() {
Settings = { Settings = {
init: function() { init: function() {
var add, link, settings; var add, link;
link = $.el('a', { link = $.el('a', {
className: 'settings-link fa fa-wrench', className: 'settings-link fa fa-wrench',
textContent: 'Settings', textContent: 'Settings',
@ -9667,12 +9667,23 @@ Settings = (function() {
}); });
if (Conf['Disable Native Extension']) { if (Conf['Disable Native Extension']) {
if ($.hasStorage) { if ($.hasStorage) {
settings = JSON.parse(localStorage.getItem('4chan-settings')) || {}; return $.global(function() {
if (settings.disableAll) { var settings;
return; try {
} settings = JSON.parse(localStorage.getItem('4chan-settings')) || {};
settings.disableAll = true; if (settings.disableAll) {
return localStorage.setItem('4chan-settings', JSON.stringify(settings)); return;
}
settings.disableAll = true;
return localStorage.setItem('4chan-settings', JSON.stringify(settings));
} catch (_error) {
return Object.defineProperty(window, 'Config', {
value: {
disableAll: true
}
});
}
});
} else { } else {
return $.global(function() { return $.global(function() {
return Object.defineProperty(window, 'Config', { return Object.defineProperty(window, 'Config', {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.12.0.1 // @version 1.12.0.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.12.0.1 // @version 1.12.0.2
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -136,7 +136,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.12.0.1', VERSION: '1.12.0.2',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -9646,7 +9646,7 @@ Settings = (function() {
Settings = { Settings = {
init: function() { init: function() {
var add, link, settings; var add, link;
link = $.el('a', { link = $.el('a', {
className: 'settings-link fa fa-wrench', className: 'settings-link fa fa-wrench',
textContent: 'Settings', textContent: 'Settings',
@ -9667,12 +9667,23 @@ Settings = (function() {
}); });
if (Conf['Disable Native Extension']) { if (Conf['Disable Native Extension']) {
if ($.hasStorage) { if ($.hasStorage) {
settings = JSON.parse(localStorage.getItem('4chan-settings')) || {}; return $.global(function() {
if (settings.disableAll) { var settings;
return; try {
} settings = JSON.parse(localStorage.getItem('4chan-settings')) || {};
settings.disableAll = true; if (settings.disableAll) {
return localStorage.setItem('4chan-settings', JSON.stringify(settings)); return;
}
settings.disableAll = true;
return localStorage.setItem('4chan-settings', JSON.stringify(settings));
} catch (_error) {
return Object.defineProperty(window, 'Config', {
value: {
disableAll: true
}
});
}
});
} else { } else {
return $.global(function() { return $.global(function() {
return Object.defineProperty(window, 'Config', { return Object.defineProperty(window, 'Config', {

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://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.12.0.1' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.12.0.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://www.4chan-x.net/builds/4chan-X.crx' version='1.12.0.1' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.12.0.2' />
</app> </app>
</gupdate> </gupdate>

View File

@ -1,4 +1,4 @@
{ {
"version": "1.12.0.1", "version": "1.12.0.2",
"date": "2016-06-19T09:27:06.711Z" "date": "2016-06-20T08:52:56.789Z"
} }