Release 4chan X v1.11.29.1.
This commit is contained in:
parent
754a1bc1e9
commit
9dfa78fc9f
@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
|
|||||||
|
|
||||||
### v1.11.29
|
### v1.11.29
|
||||||
|
|
||||||
|
**v1.11.29.1** *(2016-03-31)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.1/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
|
- Remove default upvote text.
|
||||||
|
|
||||||
**v1.11.29.0** *(2016-03-31)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.0/builds/4chan-X-noupdate.crx "Chromium version")]
|
**v1.11.29.0** *(2016-03-31)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.0/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
- Based on v1.11.28.3.
|
- Based on v1.11.28.3.
|
||||||
- Add upvote count and button.
|
- Add upvote count and button.
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.11.29.0
|
// @version 1.11.29.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.11.29.0
|
// @version 1.11.29.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -432,7 +432,8 @@
|
|||||||
pruneReplies: {
|
pruneReplies: {
|
||||||
'Prune Replies': false,
|
'Prune Replies': false,
|
||||||
'Max Replies': 1000
|
'Max Replies': 1000
|
||||||
}
|
},
|
||||||
|
upvoteText: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
Conf = {};
|
Conf = {};
|
||||||
@ -444,7 +445,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.29.0',
|
VERSION: '1.11.29.1',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -7122,7 +7123,6 @@
|
|||||||
if (!(((ref = g.VIEW) === 'thread' || ref === 'index') && Conf['Upvotes'])) {
|
if (!(((ref = g.VIEW) === 'thread' || ref === 'index') && Conf['Upvotes'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.textPosted = g.BOARD.ID === 'r9k' ? 'This.' : this.text;
|
|
||||||
return Post.callbacks.push({
|
return Post.callbacks.push({
|
||||||
name: 'Upvotes',
|
name: 'Upvotes',
|
||||||
cb: this.node
|
cb: this.node
|
||||||
@ -7184,14 +7184,30 @@
|
|||||||
if (!QR.postingIsEnabled) {
|
if (!QR.postingIsEnabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (QR.nodes) {
|
||||||
|
$.off(QR.nodes.com, 'input', Upvotes.setText);
|
||||||
|
}
|
||||||
QR.quote.call(this);
|
QR.quote.call(this);
|
||||||
com = QR.nodes.com;
|
com = QR.nodes.com;
|
||||||
text = Upvotes.textPosted + "\n";
|
text = Conf['upvoteText'] + "\n";
|
||||||
pos = com.selectionStart;
|
pos = com.selectionStart;
|
||||||
com.value = com.value.slice(0, +pos + 1 || 9e9) + text + com.value.slice(pos);
|
Upvotes.context = com.value.slice(0, pos);
|
||||||
|
com.value = com.value.slice(0, pos) + text + com.value.slice(pos);
|
||||||
pos += text.length;
|
pos += text.length;
|
||||||
com.setSelectionRange(pos, pos);
|
com.setSelectionRange(pos, pos);
|
||||||
return $.event('input', null, com);
|
$.event('input', null, com);
|
||||||
|
Upvotes.post = $.id('selected');
|
||||||
|
return $.on(com, 'input', Upvotes.setText);
|
||||||
|
},
|
||||||
|
setText: function() {
|
||||||
|
var context;
|
||||||
|
context = Upvotes.context;
|
||||||
|
if ($.id('selected') === Upvotes.post && this.value.slice(0, context.length) === context) {
|
||||||
|
Conf['upvoteText'] = this.value.slice(context.length).split('\n')[0];
|
||||||
|
return $.set('upvoteText', Conf['upvoteText']);
|
||||||
|
} else {
|
||||||
|
return $.off(this, 'input', Upvotes.setText);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.29.0
|
// @version 1.11.29.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -432,7 +432,8 @@
|
|||||||
pruneReplies: {
|
pruneReplies: {
|
||||||
'Prune Replies': false,
|
'Prune Replies': false,
|
||||||
'Max Replies': 1000
|
'Max Replies': 1000
|
||||||
}
|
},
|
||||||
|
upvoteText: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
Conf = {};
|
Conf = {};
|
||||||
@ -444,7 +445,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.29.0',
|
VERSION: '1.11.29.1',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -7122,7 +7123,6 @@
|
|||||||
if (!(((ref = g.VIEW) === 'thread' || ref === 'index') && Conf['Upvotes'])) {
|
if (!(((ref = g.VIEW) === 'thread' || ref === 'index') && Conf['Upvotes'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.textPosted = g.BOARD.ID === 'r9k' ? 'This.' : this.text;
|
|
||||||
return Post.callbacks.push({
|
return Post.callbacks.push({
|
||||||
name: 'Upvotes',
|
name: 'Upvotes',
|
||||||
cb: this.node
|
cb: this.node
|
||||||
@ -7184,14 +7184,30 @@
|
|||||||
if (!QR.postingIsEnabled) {
|
if (!QR.postingIsEnabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (QR.nodes) {
|
||||||
|
$.off(QR.nodes.com, 'input', Upvotes.setText);
|
||||||
|
}
|
||||||
QR.quote.call(this);
|
QR.quote.call(this);
|
||||||
com = QR.nodes.com;
|
com = QR.nodes.com;
|
||||||
text = Upvotes.textPosted + "\n";
|
text = Conf['upvoteText'] + "\n";
|
||||||
pos = com.selectionStart;
|
pos = com.selectionStart;
|
||||||
com.value = com.value.slice(0, +pos + 1 || 9e9) + text + com.value.slice(pos);
|
Upvotes.context = com.value.slice(0, pos);
|
||||||
|
com.value = com.value.slice(0, pos) + text + com.value.slice(pos);
|
||||||
pos += text.length;
|
pos += text.length;
|
||||||
com.setSelectionRange(pos, pos);
|
com.setSelectionRange(pos, pos);
|
||||||
return $.event('input', null, com);
|
$.event('input', null, com);
|
||||||
|
Upvotes.post = $.id('selected');
|
||||||
|
return $.on(com, 'input', Upvotes.setText);
|
||||||
|
},
|
||||||
|
setText: function() {
|
||||||
|
var context;
|
||||||
|
context = Upvotes.context;
|
||||||
|
if ($.id('selected') === Upvotes.post && this.value.slice(0, context.length) === context) {
|
||||||
|
Conf['upvoteText'] = this.value.slice(context.length).split('\n')[0];
|
||||||
|
return $.set('upvoteText', Conf['upvoteText']);
|
||||||
|
} else {
|
||||||
|
return $.off(this, 'input', Upvotes.setText);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.29.0
|
// @version 1.11.29.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.11.29.0
|
// @version 1.11.29.1
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -432,7 +432,8 @@
|
|||||||
pruneReplies: {
|
pruneReplies: {
|
||||||
'Prune Replies': false,
|
'Prune Replies': false,
|
||||||
'Max Replies': 1000
|
'Max Replies': 1000
|
||||||
}
|
},
|
||||||
|
upvoteText: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
Conf = {};
|
Conf = {};
|
||||||
@ -444,7 +445,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.11.29.0',
|
VERSION: '1.11.29.1',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -7122,7 +7123,6 @@
|
|||||||
if (!(((ref = g.VIEW) === 'thread' || ref === 'index') && Conf['Upvotes'])) {
|
if (!(((ref = g.VIEW) === 'thread' || ref === 'index') && Conf['Upvotes'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.textPosted = g.BOARD.ID === 'r9k' ? 'This.' : this.text;
|
|
||||||
return Post.callbacks.push({
|
return Post.callbacks.push({
|
||||||
name: 'Upvotes',
|
name: 'Upvotes',
|
||||||
cb: this.node
|
cb: this.node
|
||||||
@ -7184,14 +7184,30 @@
|
|||||||
if (!QR.postingIsEnabled) {
|
if (!QR.postingIsEnabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (QR.nodes) {
|
||||||
|
$.off(QR.nodes.com, 'input', Upvotes.setText);
|
||||||
|
}
|
||||||
QR.quote.call(this);
|
QR.quote.call(this);
|
||||||
com = QR.nodes.com;
|
com = QR.nodes.com;
|
||||||
text = Upvotes.textPosted + "\n";
|
text = Conf['upvoteText'] + "\n";
|
||||||
pos = com.selectionStart;
|
pos = com.selectionStart;
|
||||||
com.value = com.value.slice(0, +pos + 1 || 9e9) + text + com.value.slice(pos);
|
Upvotes.context = com.value.slice(0, pos);
|
||||||
|
com.value = com.value.slice(0, pos) + text + com.value.slice(pos);
|
||||||
pos += text.length;
|
pos += text.length;
|
||||||
com.setSelectionRange(pos, pos);
|
com.setSelectionRange(pos, pos);
|
||||||
return $.event('input', null, com);
|
$.event('input', null, com);
|
||||||
|
Upvotes.post = $.id('selected');
|
||||||
|
return $.on(com, 'input', Upvotes.setText);
|
||||||
|
},
|
||||||
|
setText: function() {
|
||||||
|
var context;
|
||||||
|
context = Upvotes.context;
|
||||||
|
if ($.id('selected') === Upvotes.post && this.value.slice(0, context.length) === context) {
|
||||||
|
Conf['upvoteText'] = this.value.slice(context.length).split('\n')[0];
|
||||||
|
return $.set('upvoteText', Conf['upvoteText']);
|
||||||
|
} else {
|
||||||
|
return $.off(this, 'input', Upvotes.setText);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
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.11.29.0' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.29.1' />
|
||||||
</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.11.29.0' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.29.1' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.11.29.0",
|
"version": "1.11.29.1",
|
||||||
"date": "2016-03-31T11:03:12.056Z"
|
"date": "2016-03-31T23:26:20.015Z"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user