Release 4chan X v1.12.0.7.

This commit is contained in:
ccd0 2016-07-06 01:40:05 -07:00
parent b804143cd4
commit e152e3b1e9
13 changed files with 54 additions and 33 deletions

View File

@ -2,6 +2,9 @@
## v1.12.0
**v1.12.0.7** *(2016-07-06)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.7/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.7/builds/4chan-X-noupdate.crx)]
- Restore `Open Post in New Tab` option.
**v1.12.0.6** *(2016-06-28)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.6/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.12.0.6/builds/4chan-X-noupdate.crx)]
- Merge v1.11.35.9: Update archive list, and update cuckchan.org -> desuarchive.org in sauce examples.

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.12.0.6
// @version 1.12.0.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -136,7 +136,7 @@ docSet = function() {
};
g = {
VERSION: '1.12.0.6',
VERSION: '1.12.0.7',
NAMESPACE: '4chan X.',
boards: {}
};
@ -284,6 +284,7 @@ Config = (function() {
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.'],
'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.', 1],
'Auto Hide QR': [true, 'Automatically hide the quick reply when posting.', 1],
'Open Post in New Tab': [true, 'Open new threads or replies to a thread from the index in a new tab.', 1],
'Remember QR Size': [false, 'Remember the size of the Quick reply.', 1],
'Remember Spoiler': [false, 'Remember the spoiler state, instead of resetting after posting.', 1],
'Randomize Filename': [false, 'Set the filename to a random timestamp within the past year. Disabled on /f/.', 1],
@ -20134,7 +20135,7 @@ QR = (function() {
return QR.status();
},
response: function() {
var _, ban, err, h1, isReply, lastPostToThread, m, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID, url;
var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID;
req = QR.req;
delete QR.req;
post = QR.posts[0];
@ -20221,17 +20222,22 @@ QR = (function() {
QR.notifications.push(new Notice('success', h1.textContent, 5));
}
QR.cooldown.add(threadID, postID);
url = threadID === postID ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID : threadID !== g.THREADID && lastPostToThread ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID + "#p" + postID : void 0;
if (url) {
URL = threadID === postID ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID : g.VIEW === 'index' && lastPostToThread && Conf['Open Post in New Tab'] ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID + "#p" + postID : void 0;
if (URL) {
open = Conf['Open Post in New Tab'] || postsCount ? function() {
return $.open(URL);
} : function() {
return window.location = URL;
};
if (threadID === postID) {
QR.waitForThread(url);
QR.waitForThread(URL, open);
} else {
$.open(url);
open();
}
}
return QR.status();
},
waitForThread: function(url) {
waitForThread: function(url, cb) {
var attempts, check;
attempts = 0;
check = function() {
@ -20239,7 +20245,7 @@ QR = (function() {
onloadend: function() {
attempts++;
if (attempts >= 6 || this.status === 200) {
return $.open(url);
return cb();
} else {
return setTimeout(check, attempts * $.SECOND);
}

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.12.0.6
// @version 1.12.0.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -136,7 +136,7 @@ docSet = function() {
};
g = {
VERSION: '1.12.0.6',
VERSION: '1.12.0.7',
NAMESPACE: '4chan X.',
boards: {}
};
@ -284,6 +284,7 @@ Config = (function() {
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.'],
'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.', 1],
'Auto Hide QR': [true, 'Automatically hide the quick reply when posting.', 1],
'Open Post in New Tab': [true, 'Open new threads or replies to a thread from the index in a new tab.', 1],
'Remember QR Size': [false, 'Remember the size of the Quick reply.', 1],
'Remember Spoiler': [false, 'Remember the spoiler state, instead of resetting after posting.', 1],
'Randomize Filename': [false, 'Set the filename to a random timestamp within the past year. Disabled on /f/.', 1],
@ -20134,7 +20135,7 @@ QR = (function() {
return QR.status();
},
response: function() {
var _, ban, err, h1, isReply, lastPostToThread, m, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID, url;
var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID;
req = QR.req;
delete QR.req;
post = QR.posts[0];
@ -20221,17 +20222,22 @@ QR = (function() {
QR.notifications.push(new Notice('success', h1.textContent, 5));
}
QR.cooldown.add(threadID, postID);
url = threadID === postID ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID : threadID !== g.THREADID && lastPostToThread ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID + "#p" + postID : void 0;
if (url) {
URL = threadID === postID ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID : g.VIEW === 'index' && lastPostToThread && Conf['Open Post in New Tab'] ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID + "#p" + postID : void 0;
if (URL) {
open = Conf['Open Post in New Tab'] || postsCount ? function() {
return $.open(URL);
} : function() {
return window.location = URL;
};
if (threadID === postID) {
QR.waitForThread(url);
QR.waitForThread(URL, open);
} else {
$.open(url);
open();
}
}
return QR.status();
},
waitForThread: function(url) {
waitForThread: function(url, cb) {
var attempts, check;
attempts = 0;
check = function() {
@ -20239,7 +20245,7 @@ QR = (function() {
onloadend: function() {
attempts++;
if (attempts >= 6 || this.status === 200) {
return $.open(url);
return cb();
} else {
return setTimeout(check, attempts * $.SECOND);
}

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.12.0.6
// @version 1.12.0.7
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -136,7 +136,7 @@ docSet = function() {
};
g = {
VERSION: '1.12.0.6',
VERSION: '1.12.0.7',
NAMESPACE: '4chan X.',
boards: {}
};
@ -284,6 +284,7 @@ Config = (function() {
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.'],
'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.', 1],
'Auto Hide QR': [true, 'Automatically hide the quick reply when posting.', 1],
'Open Post in New Tab': [true, 'Open new threads or replies to a thread from the index in a new tab.', 1],
'Remember QR Size': [false, 'Remember the size of the Quick reply.', 1],
'Remember Spoiler': [false, 'Remember the spoiler state, instead of resetting after posting.', 1],
'Randomize Filename': [false, 'Set the filename to a random timestamp within the past year. Disabled on /f/.', 1],
@ -20134,7 +20135,7 @@ QR = (function() {
return QR.status();
},
response: function() {
var _, ban, err, h1, isReply, lastPostToThread, m, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID, url;
var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID;
req = QR.req;
delete QR.req;
post = QR.posts[0];
@ -20221,17 +20222,22 @@ QR = (function() {
QR.notifications.push(new Notice('success', h1.textContent, 5));
}
QR.cooldown.add(threadID, postID);
url = threadID === postID ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID : threadID !== g.THREADID && lastPostToThread ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID + "#p" + postID : void 0;
if (url) {
URL = threadID === postID ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID : g.VIEW === 'index' && lastPostToThread && Conf['Open Post in New Tab'] ? window.location.origin + "/" + g.BOARD + "/thread/" + threadID + "#p" + postID : void 0;
if (URL) {
open = Conf['Open Post in New Tab'] || postsCount ? function() {
return $.open(URL);
} : function() {
return window.location = URL;
};
if (threadID === postID) {
QR.waitForThread(url);
QR.waitForThread(URL, open);
} else {
$.open(url);
open();
}
}
return QR.status();
},
waitForThread: function(url) {
waitForThread: function(url, cb) {
var attempts, check;
attempts = 0;
check = function() {
@ -20239,7 +20245,7 @@ QR = (function() {
onloadend: function() {
attempts++;
if (attempts >= 6 || this.status === 200) {
return $.open(url);
return cb();
} else {
return setTimeout(check, attempts * $.SECOND);
}

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

View File

@ -1,4 +1,4 @@
{
"version": "1.12.0.6",
"date": "2016-06-28T01:18:12.438Z"
"version": "1.12.0.7",
"date": "2016-07-06T08:35:01.248Z"
}