Release 4chan X v1.13.11.1.

This commit is contained in:
ccd0 2017-08-10 06:46:33 -07:00
parent dbf0b5979c
commit 6a411ff203
13 changed files with 39 additions and 15 deletions

View File

@ -4,6 +4,9 @@
### v1.13.11 ### v1.13.11
**v1.13.11.1** *(2017-08-10)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.1/builds/4chan-X-noupdate.crx)]
- Merge v1.13.10.6: Disable 'Redirect to HTTPS' on platforms where we use localStorage for saving settings.
**v1.13.11.0** *(2017-08-08)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.0/builds/4chan-X-noupdate.crx)] **v1.13.11.0** *(2017-08-08)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.11.0/builds/4chan-X-noupdate.crx)]
- Based on v1.13.10.5. - Based on v1.13.10.5.
- Support [spoiler] and [code] tags in 'Copy Text' menu item. - Support [spoiler] and [code] tags in 'Copy Text' menu item.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.11.0 // @version 1.13.11.1
// @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.13.11.0 // @version 1.13.11.1
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -153,7 +153,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.11.0', VERSION: '1.13.11.1',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -4983,6 +4983,10 @@ $ = (function() {
return GM_deleteValue(key); return GM_deleteValue(key);
}; };
if (typeof GM_deleteValue === "undefined" || GM_deleteValue === null) {
$.perProtocolSettings = true;
}
if (typeof GM_deleteValue !== "undefined" && GM_deleteValue !== null) { if (typeof GM_deleteValue !== "undefined" && GM_deleteValue !== null) {
$.getValue = $.GM_getValue; $.getValue = $.GM_getValue;
$.listValues = function() { $.listValues = function() {
@ -11030,6 +11034,9 @@ Settings = (function() {
if ($.engine !== 'gecko') { if ($.engine !== 'gecko') {
$('div[data-name="Remember QR Size"]', section).hidden = true; $('div[data-name="Remember QR Size"]', section).hidden = true;
} }
if ($.perProtocolSettings) {
$('div[data-name="Redirect to HTTPS"]', section).hidden = true;
}
$.get(items, function(items) { $.get(items, function(items) {
var val; var val;
for (key in items) { for (key in items) {
@ -24531,7 +24538,7 @@ Main = (function() {
items['previousversion'] = void 0; items['previousversion'] = void 0;
return ($.getSync || $.get)(items, function(items) { return ($.getSync || $.get)(items, function(items) {
var ref1; var ref1;
if (((ref1 = items['Redirect to HTTPS']) != null ? ref1 : Conf['Redirect to HTTPS']) && location.protocol !== 'https:') { if (!$.perProtocolSettings && ((ref1 = items['Redirect to HTTPS']) != null ? ref1 : Conf['Redirect to HTTPS']) && location.protocol !== 'https:') {
location.replace('https:' + location.host + location.pathname + location.search + location.hash); location.replace('https:' + location.host + location.pathname + location.search + location.hash);
return; return;
} }

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.11.0 // @version 1.13.11.1
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -153,7 +153,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.11.0', VERSION: '1.13.11.1',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -4983,6 +4983,10 @@ $ = (function() {
return GM_deleteValue(key); return GM_deleteValue(key);
}; };
if (typeof GM_deleteValue === "undefined" || GM_deleteValue === null) {
$.perProtocolSettings = true;
}
if (typeof GM_deleteValue !== "undefined" && GM_deleteValue !== null) { if (typeof GM_deleteValue !== "undefined" && GM_deleteValue !== null) {
$.getValue = $.GM_getValue; $.getValue = $.GM_getValue;
$.listValues = function() { $.listValues = function() {
@ -11030,6 +11034,9 @@ Settings = (function() {
if ($.engine !== 'gecko') { if ($.engine !== 'gecko') {
$('div[data-name="Remember QR Size"]', section).hidden = true; $('div[data-name="Remember QR Size"]', section).hidden = true;
} }
if ($.perProtocolSettings) {
$('div[data-name="Redirect to HTTPS"]', section).hidden = true;
}
$.get(items, function(items) { $.get(items, function(items) {
var val; var val;
for (key in items) { for (key in items) {
@ -24531,7 +24538,7 @@ Main = (function() {
items['previousversion'] = void 0; items['previousversion'] = void 0;
return ($.getSync || $.get)(items, function(items) { return ($.getSync || $.get)(items, function(items) {
var ref1; var ref1;
if (((ref1 = items['Redirect to HTTPS']) != null ? ref1 : Conf['Redirect to HTTPS']) && location.protocol !== 'https:') { if (!$.perProtocolSettings && ((ref1 = items['Redirect to HTTPS']) != null ? ref1 : Conf['Redirect to HTTPS']) && location.protocol !== 'https:') {
location.replace('https:' + location.host + location.pathname + location.search + location.hash); location.replace('https:' + location.host + location.pathname + location.search + location.hash);
return; return;
} }

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.11.0 // @version 1.13.11.1
// @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.13.11.0 // @version 1.13.11.1
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -153,7 +153,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.11.0', VERSION: '1.13.11.1',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -4983,6 +4983,10 @@ $ = (function() {
return GM_deleteValue(key); return GM_deleteValue(key);
}; };
if (typeof GM_deleteValue === "undefined" || GM_deleteValue === null) {
$.perProtocolSettings = true;
}
if (typeof GM_deleteValue !== "undefined" && GM_deleteValue !== null) { if (typeof GM_deleteValue !== "undefined" && GM_deleteValue !== null) {
$.getValue = $.GM_getValue; $.getValue = $.GM_getValue;
$.listValues = function() { $.listValues = function() {
@ -11030,6 +11034,9 @@ Settings = (function() {
if ($.engine !== 'gecko') { if ($.engine !== 'gecko') {
$('div[data-name="Remember QR Size"]', section).hidden = true; $('div[data-name="Remember QR Size"]', section).hidden = true;
} }
if ($.perProtocolSettings) {
$('div[data-name="Redirect to HTTPS"]', section).hidden = true;
}
$.get(items, function(items) { $.get(items, function(items) {
var val; var val;
for (key in items) { for (key in items) {
@ -24531,7 +24538,7 @@ Main = (function() {
items['previousversion'] = void 0; items['previousversion'] = void 0;
return ($.getSync || $.get)(items, function(items) { return ($.getSync || $.get)(items, function(items) {
var ref1; var ref1;
if (((ref1 = items['Redirect to HTTPS']) != null ? ref1 : Conf['Redirect to HTTPS']) && location.protocol !== 'https:') { if (!$.perProtocolSettings && ((ref1 = items['Redirect to HTTPS']) != null ? ref1 : Conf['Redirect to HTTPS']) && location.protocol !== 'https:') {
location.replace('https:' + location.host + location.pathname + location.search + location.hash); location.replace('https:' + location.host + location.pathname + location.search + location.hash);
return; return;
} }

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

View File

@ -1,4 +1,4 @@
{ {
"version": "1.13.11.0", "version": "1.13.11.1",
"date": "2017-08-08T06:50:06.788Z" "date": "2017-08-10T13:42:33.033Z"
} }