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.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)]
- Implement `Count Posts by ID`.

Binary file not shown.

View File

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

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

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

View File

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

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<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>
</gupdate>

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<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>
</gupdate>

View File

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