Release 4chan X v1.13.13.0.

This commit is contained in:
ccd0 2017-10-08 17:45:34 -07:00
parent 79672540e6
commit 20a65afd9c
15 changed files with 63 additions and 24 deletions

View File

@ -2,6 +2,13 @@
-Sometimes the changelog has notes (not comprehensive) acknowledging people's work. This does not mean the changes are their fault, only that their code was used. All changes to the script are chosen by and the fault of the maintainer (ccd0). -Sometimes the changelog has notes (not comprehensive) acknowledging people's work. This does not mean the changes are their fault, only that their code was used. All changes to the script are chosen by and the fault of the maintainer (ccd0).
### v1.13.13
**v1.13.13.0** *(2017-10-09)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.0/builds/4chan-X-noupdate.crx)]
- Based on v1.13.12.3.
- Experimental support for installing the Chrome extension version in Firefox.
- Minor bugfixes.
### v1.13.12 ### v1.13.12
**v1.13.12.3** *(2017-10-02)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.3/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.3/builds/4chan-X-noupdate.crx)] **v1.13.12.3** *(2017-10-02)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.3/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.12.3/builds/4chan-X-noupdate.crx)]

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.12.3 // @version 1.13.13.0
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -52,6 +52,7 @@
// @grant GM.setValue // @grant GM.setValue
// @grant GM.deleteValue // @grant GM.deleteValue
// @grant GM.listValues // @grant GM.listValues
// @grant GM.openInTab
// @grant GM.xmlHttpRequest // @grant GM.xmlHttpRequest
// @run-at document-start // @run-at document-start
// @updateURL https://www.4chan-x.net/builds/4chan-X-beta.meta.js // @updateURL https://www.4chan-x.net/builds/4chan-X-beta.meta.js

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.12.3 // @version 1.13.13.0
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -52,6 +52,7 @@
// @grant GM.setValue // @grant GM.setValue
// @grant GM.deleteValue // @grant GM.deleteValue
// @grant GM.listValues // @grant GM.listValues
// @grant GM.openInTab
// @grant GM.xmlHttpRequest // @grant GM.xmlHttpRequest
// @run-at document-start // @run-at document-start
// @updateURL https://www.4chan-x.net/builds/4chan-X-beta.meta.js // @updateURL https://www.4chan-x.net/builds/4chan-X-beta.meta.js
@ -158,7 +159,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.12.3', VERSION: '1.13.13.0',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -4480,7 +4481,7 @@ $ = (function() {
var lastModified; var lastModified;
lastModified = {}; lastModified = {};
return function(url, options, extra) { return function(url, options, extra) {
var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified; var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified, xhr;
if (options == null) { if (options == null) {
options = {}; options = {};
} }
@ -4497,7 +4498,8 @@ $ = (function() {
if ($.engine === 'blink' && whenModified) { if ($.engine === 'blink' && whenModified) {
url += "?s=" + whenModified; url += "?s=" + whenModified;
} }
r = new XMLHttpRequest(); xhr = XMLHttpRequest;
r = new xhr();
type || (type = form && 'post' || 'get'); type || (type = form && 'post' || 'get');
try { try {
r.open(type, url, true); r.open(type, url, true);
@ -4840,7 +4842,7 @@ $ = (function() {
return e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0; return e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0;
}; };
$.open = typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) { $.open = (typeof GM !== "undefined" && GM !== null ? GM.openInTab : void 0) != null ? GM.openInTab : typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) {
return window.open(url, '_blank'); return window.open(url, '_blank');
}; };
@ -14333,7 +14335,7 @@ Volume = (function() {
return; return;
} }
$.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover)); $.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover));
return $.on($('a', this.file.text), 'wheel', Volume.wheel.bind(this.file.thumbLink)); return $.on($('.file-info', this.file.text) || this.file.link, 'wheel', Volume.wheel.bind(this.file.thumbLink));
}, },
catalogNode: function() { catalogNode: function() {
var file; var file;

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.12.3 // @version 1.13.13.0
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -52,6 +52,7 @@
// @grant GM.setValue // @grant GM.setValue
// @grant GM.deleteValue // @grant GM.deleteValue
// @grant GM.listValues // @grant GM.listValues
// @grant GM.openInTab
// @grant GM.xmlHttpRequest // @grant GM.xmlHttpRequest
// @run-at document-start // @run-at document-start
// @updateURL https://noupdate.invalid/ // @updateURL https://noupdate.invalid/
@ -158,7 +159,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.12.3', VERSION: '1.13.13.0',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -4480,7 +4481,7 @@ $ = (function() {
var lastModified; var lastModified;
lastModified = {}; lastModified = {};
return function(url, options, extra) { return function(url, options, extra) {
var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified; var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified, xhr;
if (options == null) { if (options == null) {
options = {}; options = {};
} }
@ -4497,7 +4498,8 @@ $ = (function() {
if ($.engine === 'blink' && whenModified) { if ($.engine === 'blink' && whenModified) {
url += "?s=" + whenModified; url += "?s=" + whenModified;
} }
r = new XMLHttpRequest(); xhr = XMLHttpRequest;
r = new xhr();
type || (type = form && 'post' || 'get'); type || (type = form && 'post' || 'get');
try { try {
r.open(type, url, true); r.open(type, url, true);
@ -4840,7 +4842,7 @@ $ = (function() {
return e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0; return e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0;
}; };
$.open = typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) { $.open = (typeof GM !== "undefined" && GM !== null ? GM.openInTab : void 0) != null ? GM.openInTab : typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) {
return window.open(url, '_blank'); return window.open(url, '_blank');
}; };
@ -14333,7 +14335,7 @@ Volume = (function() {
return; return;
} }
$.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover)); $.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover));
return $.on($('a', this.file.text), 'wheel', Volume.wheel.bind(this.file.thumbLink)); return $.on($('.file-info', this.file.text) || this.file.link, 'wheel', Volume.wheel.bind(this.file.thumbLink));
}, },
catalogNode: function() { catalogNode: function() {
var file; var file;

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.12.3 // @version 1.13.13.0
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -52,6 +52,7 @@
// @grant GM.setValue // @grant GM.setValue
// @grant GM.deleteValue // @grant GM.deleteValue
// @grant GM.listValues // @grant GM.listValues
// @grant GM.openInTab
// @grant GM.xmlHttpRequest // @grant GM.xmlHttpRequest
// @run-at document-start // @run-at document-start
// @updateURL https://www.4chan-x.net/builds/4chan-X.meta.js // @updateURL https://www.4chan-x.net/builds/4chan-X.meta.js

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.12.3 // @version 1.13.13.0
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -52,6 +52,7 @@
// @grant GM.setValue // @grant GM.setValue
// @grant GM.deleteValue // @grant GM.deleteValue
// @grant GM.listValues // @grant GM.listValues
// @grant GM.openInTab
// @grant GM.xmlHttpRequest // @grant GM.xmlHttpRequest
// @run-at document-start // @run-at document-start
// @updateURL https://www.4chan-x.net/builds/4chan-X.meta.js // @updateURL https://www.4chan-x.net/builds/4chan-X.meta.js
@ -158,7 +159,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.12.3', VERSION: '1.13.13.0',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -4480,7 +4481,7 @@ $ = (function() {
var lastModified; var lastModified;
lastModified = {}; lastModified = {};
return function(url, options, extra) { return function(url, options, extra) {
var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified; var err, event, form, j, len, r, ref, ref1, type, upCallbacks, whenModified, xhr;
if (options == null) { if (options == null) {
options = {}; options = {};
} }
@ -4497,7 +4498,8 @@ $ = (function() {
if ($.engine === 'blink' && whenModified) { if ($.engine === 'blink' && whenModified) {
url += "?s=" + whenModified; url += "?s=" + whenModified;
} }
r = new XMLHttpRequest(); xhr = XMLHttpRequest;
r = new xhr();
type || (type = form && 'post' || 'get'); type || (type = form && 'post' || 'get');
try { try {
r.open(type, url, true); r.open(type, url, true);
@ -4840,7 +4842,7 @@ $ = (function() {
return e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0; return e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0;
}; };
$.open = typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) { $.open = (typeof GM !== "undefined" && GM !== null ? GM.openInTab : void 0) != null ? GM.openInTab : typeof GM_openInTab !== "undefined" && GM_openInTab !== null ? GM_openInTab : function(url) {
return window.open(url, '_blank'); return window.open(url, '_blank');
}; };
@ -14333,7 +14335,7 @@ Volume = (function() {
return; return;
} }
$.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover)); $.on(this.file.thumb, 'wheel', Volume.wheel.bind(Header.hover));
return $.on($('a', this.file.text), 'wheel', Volume.wheel.bind(this.file.thumbLink)); return $.on($('.file-info', this.file.text) || this.file.link, 'wheel', Volume.wheel.bind(this.file.thumbLink));
}, },
catalogNode: function() { catalogNode: function() {
var file; var file;

Binary file not shown.

12
builds/updates-beta.json Normal file
View File

@ -0,0 +1,12 @@
{
"addons": {
"4chan-x@4chan-x.net": {
"updates": [
{
"version": "1.13.13.0",
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
}
]
}
}
}

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

12
builds/updates.json Normal file
View File

@ -0,0 +1,12 @@
{
"addons": {
"4chan-x@4chan-x.net": {
"updates": [
{
"version": "1.13.13.0",
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
}
]
}
}
}

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

View File

@ -1,4 +1,4 @@
{ {
"version": "1.13.12.3", "version": "1.13.13.0",
"date": "2017-10-02T20:44:32.923Z" "date": "2017-10-09T00:36:31.712Z"
} }