Release 4chan X v1.13.14.0.
This commit is contained in:
parent
95935afa33
commit
2206e0a9a5
@ -2,6 +2,12 @@
|
||||
|
||||
-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.14
|
||||
|
||||
**v1.13.14.0** *(2017-10-23)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.14.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.14.0/builds/4chan-X-noupdate.crx)]
|
||||
- Based on v1.13.13.1.
|
||||
- (saxamaphone69) Implement `Bottom Backlinks` option to place backlinks below the post content rather than above it. #101
|
||||
|
||||
### v1.13.13
|
||||
|
||||
**v1.13.13.1** *(2017-10-18)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.1/builds/4chan-X-noupdate.crx)]
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.13.13.1
|
||||
// @version 1.13.14.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.13.13.1
|
||||
// @version 1.13.14.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -159,7 +159,7 @@ docSet = function() {
|
||||
};
|
||||
|
||||
g = {
|
||||
VERSION: '1.13.13.1',
|
||||
VERSION: '1.13.14.0',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -332,6 +332,7 @@ Config = (function() {
|
||||
'Quote Links': {
|
||||
'Quote Backlinks': [true, 'Add quote backlinks.'],
|
||||
'OP Backlinks': [true, 'Add backlinks to the OP.', 1],
|
||||
'Bottom Backlinks': [false, 'Place backlinks at the bottom of posts.', 1],
|
||||
'Quote Inlining': [true, 'Inline quoted post on click.'],
|
||||
'Inline Cross-thread Quotes Only': [false, 'Don\'t inline quote links when the posts are visible in the thread.', 1],
|
||||
'Quote Hash Navigation': [false, 'Include an extra link after quotes for autoscrolling to quoted posts.', 1],
|
||||
@ -2416,6 +2417,13 @@ span.hide-announcement {\n\
|
||||
.postNum + .container::before {\n\
|
||||
content: \" \";\n\
|
||||
}\n\
|
||||
:root.bottom-backlinks .container {\n\
|
||||
display: block;\n\
|
||||
clear: both;\n\
|
||||
}\n\
|
||||
:root.bottom-backlinks .backlink {\n\
|
||||
font-size: 90%;\n\
|
||||
}\n\
|
||||
.inline {\n\
|
||||
border: 1px solid;\n\
|
||||
display: table;\n\
|
||||
@ -6359,11 +6367,11 @@ Post = (function() {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return info.getElementsByClassName('backlink');
|
||||
return post.getElementsByClassName('backlink');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
nodes.backlinks = info.getElementsByClassName('backlink');
|
||||
nodes.backlinks = post.getElementsByClassName('backlink');
|
||||
}
|
||||
return nodes;
|
||||
};
|
||||
@ -23566,6 +23574,9 @@ QuoteBacklink = (function() {
|
||||
if (((ref = g.VIEW) !== 'index' && ref !== 'thread') || !Conf['Quote Backlinks']) {
|
||||
return;
|
||||
}
|
||||
if ((this.bottomBacklinks = Conf['Bottom Backlinks'])) {
|
||||
$.addClass(doc, 'bottom-backlinks');
|
||||
}
|
||||
Callbacks.Post.push({
|
||||
name: 'Quote Backlinking Part 1',
|
||||
cb: this.firstNode
|
||||
@ -23636,7 +23647,11 @@ QuoteBacklink = (function() {
|
||||
}
|
||||
container = QuoteBacklink.getContainer(this.fullID);
|
||||
this.nodes.backlinkContainer = container;
|
||||
return $.add(this.nodes.info, container);
|
||||
if (QuoteBacklink.bottomBacklinks) {
|
||||
return $.add(this.nodes.post, container);
|
||||
} else {
|
||||
return $.add(this.nodes.info, container);
|
||||
}
|
||||
},
|
||||
getContainer: function(id) {
|
||||
var base;
|
||||
@ -23773,7 +23788,7 @@ QuoteInline = (function() {
|
||||
},
|
||||
findRoot: function(quotelink, isBacklink) {
|
||||
if (isBacklink) {
|
||||
return quotelink.parentNode.parentNode;
|
||||
return $.x('ancestor::*[parent::*[contains(@class,"post")]][1]', quotelink);
|
||||
} else {
|
||||
return $.x('ancestor-or-self::*[parent::blockquote][1]', quotelink);
|
||||
}
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.13.13.1
|
||||
// @version 1.13.14.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -159,7 +159,7 @@ docSet = function() {
|
||||
};
|
||||
|
||||
g = {
|
||||
VERSION: '1.13.13.1',
|
||||
VERSION: '1.13.14.0',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -332,6 +332,7 @@ Config = (function() {
|
||||
'Quote Links': {
|
||||
'Quote Backlinks': [true, 'Add quote backlinks.'],
|
||||
'OP Backlinks': [true, 'Add backlinks to the OP.', 1],
|
||||
'Bottom Backlinks': [false, 'Place backlinks at the bottom of posts.', 1],
|
||||
'Quote Inlining': [true, 'Inline quoted post on click.'],
|
||||
'Inline Cross-thread Quotes Only': [false, 'Don\'t inline quote links when the posts are visible in the thread.', 1],
|
||||
'Quote Hash Navigation': [false, 'Include an extra link after quotes for autoscrolling to quoted posts.', 1],
|
||||
@ -2416,6 +2417,13 @@ span.hide-announcement {\n\
|
||||
.postNum + .container::before {\n\
|
||||
content: \" \";\n\
|
||||
}\n\
|
||||
:root.bottom-backlinks .container {\n\
|
||||
display: block;\n\
|
||||
clear: both;\n\
|
||||
}\n\
|
||||
:root.bottom-backlinks .backlink {\n\
|
||||
font-size: 90%;\n\
|
||||
}\n\
|
||||
.inline {\n\
|
||||
border: 1px solid;\n\
|
||||
display: table;\n\
|
||||
@ -6359,11 +6367,11 @@ Post = (function() {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return info.getElementsByClassName('backlink');
|
||||
return post.getElementsByClassName('backlink');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
nodes.backlinks = info.getElementsByClassName('backlink');
|
||||
nodes.backlinks = post.getElementsByClassName('backlink');
|
||||
}
|
||||
return nodes;
|
||||
};
|
||||
@ -23566,6 +23574,9 @@ QuoteBacklink = (function() {
|
||||
if (((ref = g.VIEW) !== 'index' && ref !== 'thread') || !Conf['Quote Backlinks']) {
|
||||
return;
|
||||
}
|
||||
if ((this.bottomBacklinks = Conf['Bottom Backlinks'])) {
|
||||
$.addClass(doc, 'bottom-backlinks');
|
||||
}
|
||||
Callbacks.Post.push({
|
||||
name: 'Quote Backlinking Part 1',
|
||||
cb: this.firstNode
|
||||
@ -23636,7 +23647,11 @@ QuoteBacklink = (function() {
|
||||
}
|
||||
container = QuoteBacklink.getContainer(this.fullID);
|
||||
this.nodes.backlinkContainer = container;
|
||||
return $.add(this.nodes.info, container);
|
||||
if (QuoteBacklink.bottomBacklinks) {
|
||||
return $.add(this.nodes.post, container);
|
||||
} else {
|
||||
return $.add(this.nodes.info, container);
|
||||
}
|
||||
},
|
||||
getContainer: function(id) {
|
||||
var base;
|
||||
@ -23773,7 +23788,7 @@ QuoteInline = (function() {
|
||||
},
|
||||
findRoot: function(quotelink, isBacklink) {
|
||||
if (isBacklink) {
|
||||
return quotelink.parentNode.parentNode;
|
||||
return $.x('ancestor::*[parent::*[contains(@class,"post")]][1]', quotelink);
|
||||
} else {
|
||||
return $.x('ancestor-or-self::*[parent::blockquote][1]', quotelink);
|
||||
}
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.13.13.1
|
||||
// @version 1.13.14.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.13.13.1
|
||||
// @version 1.13.14.0
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -159,7 +159,7 @@ docSet = function() {
|
||||
};
|
||||
|
||||
g = {
|
||||
VERSION: '1.13.13.1',
|
||||
VERSION: '1.13.14.0',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -332,6 +332,7 @@ Config = (function() {
|
||||
'Quote Links': {
|
||||
'Quote Backlinks': [true, 'Add quote backlinks.'],
|
||||
'OP Backlinks': [true, 'Add backlinks to the OP.', 1],
|
||||
'Bottom Backlinks': [false, 'Place backlinks at the bottom of posts.', 1],
|
||||
'Quote Inlining': [true, 'Inline quoted post on click.'],
|
||||
'Inline Cross-thread Quotes Only': [false, 'Don\'t inline quote links when the posts are visible in the thread.', 1],
|
||||
'Quote Hash Navigation': [false, 'Include an extra link after quotes for autoscrolling to quoted posts.', 1],
|
||||
@ -2416,6 +2417,13 @@ span.hide-announcement {\n\
|
||||
.postNum + .container::before {\n\
|
||||
content: \" \";\n\
|
||||
}\n\
|
||||
:root.bottom-backlinks .container {\n\
|
||||
display: block;\n\
|
||||
clear: both;\n\
|
||||
}\n\
|
||||
:root.bottom-backlinks .backlink {\n\
|
||||
font-size: 90%;\n\
|
||||
}\n\
|
||||
.inline {\n\
|
||||
border: 1px solid;\n\
|
||||
display: table;\n\
|
||||
@ -6359,11 +6367,11 @@ Post = (function() {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return info.getElementsByClassName('backlink');
|
||||
return post.getElementsByClassName('backlink');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
nodes.backlinks = info.getElementsByClassName('backlink');
|
||||
nodes.backlinks = post.getElementsByClassName('backlink');
|
||||
}
|
||||
return nodes;
|
||||
};
|
||||
@ -23566,6 +23574,9 @@ QuoteBacklink = (function() {
|
||||
if (((ref = g.VIEW) !== 'index' && ref !== 'thread') || !Conf['Quote Backlinks']) {
|
||||
return;
|
||||
}
|
||||
if ((this.bottomBacklinks = Conf['Bottom Backlinks'])) {
|
||||
$.addClass(doc, 'bottom-backlinks');
|
||||
}
|
||||
Callbacks.Post.push({
|
||||
name: 'Quote Backlinking Part 1',
|
||||
cb: this.firstNode
|
||||
@ -23636,7 +23647,11 @@ QuoteBacklink = (function() {
|
||||
}
|
||||
container = QuoteBacklink.getContainer(this.fullID);
|
||||
this.nodes.backlinkContainer = container;
|
||||
return $.add(this.nodes.info, container);
|
||||
if (QuoteBacklink.bottomBacklinks) {
|
||||
return $.add(this.nodes.post, container);
|
||||
} else {
|
||||
return $.add(this.nodes.info, container);
|
||||
}
|
||||
},
|
||||
getContainer: function(id) {
|
||||
var base;
|
||||
@ -23773,7 +23788,7 @@ QuoteInline = (function() {
|
||||
},
|
||||
findRoot: function(quotelink, isBacklink) {
|
||||
if (isBacklink) {
|
||||
return quotelink.parentNode.parentNode;
|
||||
return $.x('ancestor::*[parent::*[contains(@class,"post")]][1]', quotelink);
|
||||
} else {
|
||||
return $.x('ancestor-or-self::*[parent::blockquote][1]', quotelink);
|
||||
}
|
||||
|
||||
Binary file not shown.
@ -3,7 +3,7 @@
|
||||
"4chan-x@4chan-x.net": {
|
||||
"updates": [
|
||||
{
|
||||
"version": "1.13.13.1",
|
||||
"version": "1.13.14.0",
|
||||
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
|
||||
}
|
||||
]
|
||||
|
||||
@ -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.13.13.1' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.14.0' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"4chan-x@4chan-x.net": {
|
||||
"updates": [
|
||||
{
|
||||
"version": "1.13.13.1",
|
||||
"version": "1.13.14.0",
|
||||
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
|
||||
}
|
||||
]
|
||||
|
||||
@ -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.13.13.1' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.14.0' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"version": "1.13.13.1",
|
||||
"date": "2017-10-18T03:50:27.794Z"
|
||||
"version": "1.13.14.0",
|
||||
"date": "2017-10-23T05:34:40.367Z"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user