Release 4chan X v1.12.0.7.
This commit is contained in:
parent
b804143cd4
commit
e152e3b1e9
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
## v1.12.0
|
## 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)]
|
**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.
|
- Merge v1.11.35.9: Update archive list, and update cuckchan.org -> desuarchive.org in sauce examples.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.12.0.6
|
// @version 1.12.0.7
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.12.0.6
|
// @version 1.12.0.7
|
||||||
// @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.6',
|
VERSION: '1.12.0.7',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -284,6 +284,7 @@ Config = (function() {
|
|||||||
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.'],
|
'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],
|
'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.', 1],
|
||||||
'Auto Hide QR': [true, 'Automatically hide the quick reply when 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 QR Size': [false, 'Remember the size of the Quick reply.', 1],
|
||||||
'Remember Spoiler': [false, 'Remember the spoiler state, instead of resetting after posting.', 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],
|
'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();
|
return QR.status();
|
||||||
},
|
},
|
||||||
response: function() {
|
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;
|
req = QR.req;
|
||||||
delete QR.req;
|
delete QR.req;
|
||||||
post = QR.posts[0];
|
post = QR.posts[0];
|
||||||
@ -20221,17 +20222,22 @@ QR = (function() {
|
|||||||
QR.notifications.push(new Notice('success', h1.textContent, 5));
|
QR.notifications.push(new Notice('success', h1.textContent, 5));
|
||||||
}
|
}
|
||||||
QR.cooldown.add(threadID, postID);
|
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;
|
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) {
|
if (URL) {
|
||||||
|
open = Conf['Open Post in New Tab'] || postsCount ? function() {
|
||||||
|
return $.open(URL);
|
||||||
|
} : function() {
|
||||||
|
return window.location = URL;
|
||||||
|
};
|
||||||
if (threadID === postID) {
|
if (threadID === postID) {
|
||||||
QR.waitForThread(url);
|
QR.waitForThread(URL, open);
|
||||||
} else {
|
} else {
|
||||||
$.open(url);
|
open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return QR.status();
|
return QR.status();
|
||||||
},
|
},
|
||||||
waitForThread: function(url) {
|
waitForThread: function(url, cb) {
|
||||||
var attempts, check;
|
var attempts, check;
|
||||||
attempts = 0;
|
attempts = 0;
|
||||||
check = function() {
|
check = function() {
|
||||||
@ -20239,7 +20245,7 @@ QR = (function() {
|
|||||||
onloadend: function() {
|
onloadend: function() {
|
||||||
attempts++;
|
attempts++;
|
||||||
if (attempts >= 6 || this.status === 200) {
|
if (attempts >= 6 || this.status === 200) {
|
||||||
return $.open(url);
|
return cb();
|
||||||
} else {
|
} else {
|
||||||
return setTimeout(check, attempts * $.SECOND);
|
return setTimeout(check, attempts * $.SECOND);
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.12.0.6
|
// @version 1.12.0.7
|
||||||
// @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.6',
|
VERSION: '1.12.0.7',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -284,6 +284,7 @@ Config = (function() {
|
|||||||
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.'],
|
'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],
|
'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.', 1],
|
||||||
'Auto Hide QR': [true, 'Automatically hide the quick reply when 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 QR Size': [false, 'Remember the size of the Quick reply.', 1],
|
||||||
'Remember Spoiler': [false, 'Remember the spoiler state, instead of resetting after posting.', 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],
|
'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();
|
return QR.status();
|
||||||
},
|
},
|
||||||
response: function() {
|
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;
|
req = QR.req;
|
||||||
delete QR.req;
|
delete QR.req;
|
||||||
post = QR.posts[0];
|
post = QR.posts[0];
|
||||||
@ -20221,17 +20222,22 @@ QR = (function() {
|
|||||||
QR.notifications.push(new Notice('success', h1.textContent, 5));
|
QR.notifications.push(new Notice('success', h1.textContent, 5));
|
||||||
}
|
}
|
||||||
QR.cooldown.add(threadID, postID);
|
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;
|
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) {
|
if (URL) {
|
||||||
|
open = Conf['Open Post in New Tab'] || postsCount ? function() {
|
||||||
|
return $.open(URL);
|
||||||
|
} : function() {
|
||||||
|
return window.location = URL;
|
||||||
|
};
|
||||||
if (threadID === postID) {
|
if (threadID === postID) {
|
||||||
QR.waitForThread(url);
|
QR.waitForThread(URL, open);
|
||||||
} else {
|
} else {
|
||||||
$.open(url);
|
open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return QR.status();
|
return QR.status();
|
||||||
},
|
},
|
||||||
waitForThread: function(url) {
|
waitForThread: function(url, cb) {
|
||||||
var attempts, check;
|
var attempts, check;
|
||||||
attempts = 0;
|
attempts = 0;
|
||||||
check = function() {
|
check = function() {
|
||||||
@ -20239,7 +20245,7 @@ QR = (function() {
|
|||||||
onloadend: function() {
|
onloadend: function() {
|
||||||
attempts++;
|
attempts++;
|
||||||
if (attempts >= 6 || this.status === 200) {
|
if (attempts >= 6 || this.status === 200) {
|
||||||
return $.open(url);
|
return cb();
|
||||||
} else {
|
} else {
|
||||||
return setTimeout(check, attempts * $.SECOND);
|
return setTimeout(check, attempts * $.SECOND);
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.12.0.6
|
// @version 1.12.0.7
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.12.0.6
|
// @version 1.12.0.7
|
||||||
// @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.6',
|
VERSION: '1.12.0.7',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -284,6 +284,7 @@ Config = (function() {
|
|||||||
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.'],
|
'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],
|
'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.', 1],
|
||||||
'Auto Hide QR': [true, 'Automatically hide the quick reply when 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 QR Size': [false, 'Remember the size of the Quick reply.', 1],
|
||||||
'Remember Spoiler': [false, 'Remember the spoiler state, instead of resetting after posting.', 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],
|
'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();
|
return QR.status();
|
||||||
},
|
},
|
||||||
response: function() {
|
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;
|
req = QR.req;
|
||||||
delete QR.req;
|
delete QR.req;
|
||||||
post = QR.posts[0];
|
post = QR.posts[0];
|
||||||
@ -20221,17 +20222,22 @@ QR = (function() {
|
|||||||
QR.notifications.push(new Notice('success', h1.textContent, 5));
|
QR.notifications.push(new Notice('success', h1.textContent, 5));
|
||||||
}
|
}
|
||||||
QR.cooldown.add(threadID, postID);
|
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;
|
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) {
|
if (URL) {
|
||||||
|
open = Conf['Open Post in New Tab'] || postsCount ? function() {
|
||||||
|
return $.open(URL);
|
||||||
|
} : function() {
|
||||||
|
return window.location = URL;
|
||||||
|
};
|
||||||
if (threadID === postID) {
|
if (threadID === postID) {
|
||||||
QR.waitForThread(url);
|
QR.waitForThread(URL, open);
|
||||||
} else {
|
} else {
|
||||||
$.open(url);
|
open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return QR.status();
|
return QR.status();
|
||||||
},
|
},
|
||||||
waitForThread: function(url) {
|
waitForThread: function(url, cb) {
|
||||||
var attempts, check;
|
var attempts, check;
|
||||||
attempts = 0;
|
attempts = 0;
|
||||||
check = function() {
|
check = function() {
|
||||||
@ -20239,7 +20245,7 @@ QR = (function() {
|
|||||||
onloadend: function() {
|
onloadend: function() {
|
||||||
attempts++;
|
attempts++;
|
||||||
if (attempts >= 6 || this.status === 200) {
|
if (attempts >= 6 || this.status === 200) {
|
||||||
return $.open(url);
|
return cb();
|
||||||
} else {
|
} else {
|
||||||
return setTimeout(check, attempts * $.SECOND);
|
return setTimeout(check, attempts * $.SECOND);
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@ -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.6' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.12.0.7' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -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.6' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.12.0.7' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.12.0.6",
|
"version": "1.12.0.7",
|
||||||
"date": "2016-06-28T01:18:12.438Z"
|
"date": "2016-07-06T08:35:01.248Z"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user