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.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")]
|
||||
- Based on v1.11.28.3.
|
||||
- Add upvote count and button.
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.29.0
|
||||
// @version 1.11.29.1
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.11.29.0
|
||||
// @version 1.11.29.1
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -432,7 +432,8 @@
|
||||
pruneReplies: {
|
||||
'Prune Replies': false,
|
||||
'Max Replies': 1000
|
||||
}
|
||||
},
|
||||
upvoteText: ''
|
||||
};
|
||||
|
||||
Conf = {};
|
||||
@ -444,7 +445,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.29.0',
|
||||
VERSION: '1.11.29.1',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -7122,7 +7123,6 @@
|
||||
if (!(((ref = g.VIEW) === 'thread' || ref === 'index') && Conf['Upvotes'])) {
|
||||
return;
|
||||
}
|
||||
this.textPosted = g.BOARD.ID === 'r9k' ? 'This.' : this.text;
|
||||
return Post.callbacks.push({
|
||||
name: 'Upvotes',
|
||||
cb: this.node
|
||||
@ -7184,14 +7184,30 @@
|
||||
if (!QR.postingIsEnabled) {
|
||||
return;
|
||||
}
|
||||
if (QR.nodes) {
|
||||
$.off(QR.nodes.com, 'input', Upvotes.setText);
|
||||
}
|
||||
QR.quote.call(this);
|
||||
com = QR.nodes.com;
|
||||
text = Upvotes.textPosted + "\n";
|
||||
text = Conf['upvoteText'] + "\n";
|
||||
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;
|
||||
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
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.29.0
|
||||
// @version 1.11.29.1
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -432,7 +432,8 @@
|
||||
pruneReplies: {
|
||||
'Prune Replies': false,
|
||||
'Max Replies': 1000
|
||||
}
|
||||
},
|
||||
upvoteText: ''
|
||||
};
|
||||
|
||||
Conf = {};
|
||||
@ -444,7 +445,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.29.0',
|
||||
VERSION: '1.11.29.1',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -7122,7 +7123,6 @@
|
||||
if (!(((ref = g.VIEW) === 'thread' || ref === 'index') && Conf['Upvotes'])) {
|
||||
return;
|
||||
}
|
||||
this.textPosted = g.BOARD.ID === 'r9k' ? 'This.' : this.text;
|
||||
return Post.callbacks.push({
|
||||
name: 'Upvotes',
|
||||
cb: this.node
|
||||
@ -7184,14 +7184,30 @@
|
||||
if (!QR.postingIsEnabled) {
|
||||
return;
|
||||
}
|
||||
if (QR.nodes) {
|
||||
$.off(QR.nodes.com, 'input', Upvotes.setText);
|
||||
}
|
||||
QR.quote.call(this);
|
||||
com = QR.nodes.com;
|
||||
text = Upvotes.textPosted + "\n";
|
||||
text = Conf['upvoteText'] + "\n";
|
||||
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;
|
||||
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==
|
||||
// @name 4chan X
|
||||
// @version 1.11.29.0
|
||||
// @version 1.11.29.1
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.11.29.0
|
||||
// @version 1.11.29.1
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -432,7 +432,8 @@
|
||||
pruneReplies: {
|
||||
'Prune Replies': false,
|
||||
'Max Replies': 1000
|
||||
}
|
||||
},
|
||||
upvoteText: ''
|
||||
};
|
||||
|
||||
Conf = {};
|
||||
@ -444,7 +445,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.11.29.0',
|
||||
VERSION: '1.11.29.1',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -7122,7 +7123,6 @@
|
||||
if (!(((ref = g.VIEW) === 'thread' || ref === 'index') && Conf['Upvotes'])) {
|
||||
return;
|
||||
}
|
||||
this.textPosted = g.BOARD.ID === 'r9k' ? 'This.' : this.text;
|
||||
return Post.callbacks.push({
|
||||
name: 'Upvotes',
|
||||
cb: this.node
|
||||
@ -7184,14 +7184,30 @@
|
||||
if (!QR.postingIsEnabled) {
|
||||
return;
|
||||
}
|
||||
if (QR.nodes) {
|
||||
$.off(QR.nodes.com, 'input', Upvotes.setText);
|
||||
}
|
||||
QR.quote.call(this);
|
||||
com = QR.nodes.com;
|
||||
text = Upvotes.textPosted + "\n";
|
||||
text = Conf['upvoteText'] + "\n";
|
||||
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;
|
||||
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'?>
|
||||
<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.11.29.0' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.29.1' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -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.11.29.0' />
|
||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.29.1' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"version": "1.11.29.0",
|
||||
"date": "2016-03-31T11:03:12.056Z"
|
||||
"version": "1.11.29.1",
|
||||
"date": "2016-03-31T23:26:20.015Z"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user