Release 4chan X v1.10.12.4.
This commit is contained in:
parent
e517b6426f
commit
6cf66ed43b
@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
|
||||
|
||||
### v1.10.12
|
||||
|
||||
**v1.10.12.4** *(2015-05-10)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.12.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.12.4/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Improve reporting to archive functionality.
|
||||
|
||||
**v1.10.12.3** *(2015-05-09)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.12.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.12.3/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||
- Fix some captcha-related bugs.
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.10.12.3
|
||||
// @version 1.10.12.4
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X beta
|
||||
// @version 1.10.12.3
|
||||
// @version 1.10.12.4
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -396,7 +396,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.10.12.3',
|
||||
VERSION: '1.10.12.4',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -11854,8 +11854,7 @@
|
||||
}
|
||||
a = $.el('a', {
|
||||
className: 'report-link',
|
||||
href: 'javascript:;',
|
||||
textContent: 'Report this post'
|
||||
href: 'javascript:;'
|
||||
});
|
||||
$.on(a, 'click', ReportLink.report);
|
||||
return Menu.menu.addEntry({
|
||||
@ -11863,9 +11862,11 @@
|
||||
order: 10,
|
||||
open: function(post) {
|
||||
if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) {
|
||||
a.textContent = 'Report this post';
|
||||
ReportLink.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post;
|
||||
ReportLink.height = 200;
|
||||
} else if (Conf['Archive Report']) {
|
||||
a.textContent = 'Report to archive';
|
||||
ReportLink.url = Redirect.to('report', {
|
||||
boardID: post.board.ID,
|
||||
postID: post.ID
|
||||
@ -15456,7 +15457,7 @@
|
||||
}
|
||||
},
|
||||
archive: function() {
|
||||
var link, message, url;
|
||||
var link, message, types, url;
|
||||
Redirect.init();
|
||||
if (!(url = Redirect.to('report', {
|
||||
boardID: g.BOARD.ID,
|
||||
@ -15465,21 +15466,29 @@
|
||||
return;
|
||||
}
|
||||
if ((message = $('h3')) && /Report submitted!/.test(message.textContent)) {
|
||||
$.globalEval('self.close = function(){};');
|
||||
window.resizeBy(0, 350 - doc.clientHeight);
|
||||
location.replace(url);
|
||||
if (location.hash === '#redirect') {
|
||||
$.globalEval('self.close = function(){};');
|
||||
window.resizeBy(0, 350 - doc.clientHeight);
|
||||
location.replace(url);
|
||||
}
|
||||
return;
|
||||
}
|
||||
link = $.el('a', {
|
||||
href: url,
|
||||
textContent: 'Report to fgts'
|
||||
textContent: 'Report to archive'
|
||||
});
|
||||
$.on(link, 'click', function(e) {
|
||||
if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0)) {
|
||||
return window.resizeBy(0, 350 - doc.clientHeight);
|
||||
}
|
||||
});
|
||||
return $.add(d.body, [$.tn(' ['), link, $.tn(']')]);
|
||||
$.add(d.body, [$.tn(' ['), link, $.tn(']')]);
|
||||
if (types = $.id('reportTypes')) {
|
||||
return $.on(types, 'change', function(e) {
|
||||
var ref;
|
||||
return $('form').action = (ref = e.target.value) === 'illegal' || ref === 'spam' ? '#redirect' : '';
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.10.12.3
|
||||
// @version 1.10.12.4
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -395,7 +395,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.10.12.3',
|
||||
VERSION: '1.10.12.4',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -11853,8 +11853,7 @@
|
||||
}
|
||||
a = $.el('a', {
|
||||
className: 'report-link',
|
||||
href: 'javascript:;',
|
||||
textContent: 'Report this post'
|
||||
href: 'javascript:;'
|
||||
});
|
||||
$.on(a, 'click', ReportLink.report);
|
||||
return Menu.menu.addEntry({
|
||||
@ -11862,9 +11861,11 @@
|
||||
order: 10,
|
||||
open: function(post) {
|
||||
if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) {
|
||||
a.textContent = 'Report this post';
|
||||
ReportLink.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post;
|
||||
ReportLink.height = 200;
|
||||
} else if (Conf['Archive Report']) {
|
||||
a.textContent = 'Report to archive';
|
||||
ReportLink.url = Redirect.to('report', {
|
||||
boardID: post.board.ID,
|
||||
postID: post.ID
|
||||
@ -15455,7 +15456,7 @@
|
||||
}
|
||||
},
|
||||
archive: function() {
|
||||
var link, message, url;
|
||||
var link, message, types, url;
|
||||
Redirect.init();
|
||||
if (!(url = Redirect.to('report', {
|
||||
boardID: g.BOARD.ID,
|
||||
@ -15464,21 +15465,29 @@
|
||||
return;
|
||||
}
|
||||
if ((message = $('h3')) && /Report submitted!/.test(message.textContent)) {
|
||||
$.globalEval('self.close = function(){};');
|
||||
window.resizeBy(0, 350 - doc.clientHeight);
|
||||
location.replace(url);
|
||||
if (location.hash === '#redirect') {
|
||||
$.globalEval('self.close = function(){};');
|
||||
window.resizeBy(0, 350 - doc.clientHeight);
|
||||
location.replace(url);
|
||||
}
|
||||
return;
|
||||
}
|
||||
link = $.el('a', {
|
||||
href: url,
|
||||
textContent: 'Report to fgts'
|
||||
textContent: 'Report to archive'
|
||||
});
|
||||
$.on(link, 'click', function(e) {
|
||||
if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0)) {
|
||||
return window.resizeBy(0, 350 - doc.clientHeight);
|
||||
}
|
||||
});
|
||||
return $.add(d.body, [$.tn(' ['), link, $.tn(']')]);
|
||||
$.add(d.body, [$.tn(' ['), link, $.tn(']')]);
|
||||
if (types = $.id('reportTypes')) {
|
||||
return $.on(types, 'change', function(e) {
|
||||
var ref;
|
||||
return $('form').action = (ref = e.target.value) === 'illegal' || ref === 'spam' ? '#redirect' : '';
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.10.12.3
|
||||
// @version 1.10.12.4
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
// Generated by CoffeeScript
|
||||
// ==UserScript==
|
||||
// @name 4chan X
|
||||
// @version 1.10.12.3
|
||||
// @version 1.10.12.4
|
||||
// @minGMVer 1.14
|
||||
// @minFFVer 26
|
||||
// @namespace 4chan-X
|
||||
@ -396,7 +396,7 @@
|
||||
doc = d.documentElement;
|
||||
|
||||
g = {
|
||||
VERSION: '1.10.12.3',
|
||||
VERSION: '1.10.12.4',
|
||||
NAMESPACE: '4chan X.',
|
||||
boards: {}
|
||||
};
|
||||
@ -11854,8 +11854,7 @@
|
||||
}
|
||||
a = $.el('a', {
|
||||
className: 'report-link',
|
||||
href: 'javascript:;',
|
||||
textContent: 'Report this post'
|
||||
href: 'javascript:;'
|
||||
});
|
||||
$.on(a, 'click', ReportLink.report);
|
||||
return Menu.menu.addEntry({
|
||||
@ -11863,9 +11862,11 @@
|
||||
order: 10,
|
||||
open: function(post) {
|
||||
if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) {
|
||||
a.textContent = 'Report this post';
|
||||
ReportLink.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post;
|
||||
ReportLink.height = 200;
|
||||
} else if (Conf['Archive Report']) {
|
||||
a.textContent = 'Report to archive';
|
||||
ReportLink.url = Redirect.to('report', {
|
||||
boardID: post.board.ID,
|
||||
postID: post.ID
|
||||
@ -15456,7 +15457,7 @@
|
||||
}
|
||||
},
|
||||
archive: function() {
|
||||
var link, message, url;
|
||||
var link, message, types, url;
|
||||
Redirect.init();
|
||||
if (!(url = Redirect.to('report', {
|
||||
boardID: g.BOARD.ID,
|
||||
@ -15465,21 +15466,29 @@
|
||||
return;
|
||||
}
|
||||
if ((message = $('h3')) && /Report submitted!/.test(message.textContent)) {
|
||||
$.globalEval('self.close = function(){};');
|
||||
window.resizeBy(0, 350 - doc.clientHeight);
|
||||
location.replace(url);
|
||||
if (location.hash === '#redirect') {
|
||||
$.globalEval('self.close = function(){};');
|
||||
window.resizeBy(0, 350 - doc.clientHeight);
|
||||
location.replace(url);
|
||||
}
|
||||
return;
|
||||
}
|
||||
link = $.el('a', {
|
||||
href: url,
|
||||
textContent: 'Report to fgts'
|
||||
textContent: 'Report to archive'
|
||||
});
|
||||
$.on(link, 'click', function(e) {
|
||||
if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0)) {
|
||||
return window.resizeBy(0, 350 - doc.clientHeight);
|
||||
}
|
||||
});
|
||||
return $.add(d.body, [$.tn(' ['), link, $.tn(']')]);
|
||||
$.add(d.body, [$.tn(' ['), link, $.tn(']')]);
|
||||
if (types = $.id('reportTypes')) {
|
||||
return $.on(types, 'change', function(e) {
|
||||
var ref;
|
||||
return $('form').action = (ref = e.target.value) === 'illegal' || ref === 'spam' ? '#redirect' : '';
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
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://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.12.3' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.12.4' />
|
||||
</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://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.12.3' />
|
||||
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.12.4' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||
"meta": {
|
||||
"name": "4chan X",
|
||||
"version": "1.10.12.3",
|
||||
"date": "2015-05-10T02:11:26.536Z",
|
||||
"version": "1.10.12.4",
|
||||
"date": "2015-05-11T06:20:12.938Z",
|
||||
"repo": "https://github.com/ccd0/4chan-x/",
|
||||
"page": "https://github.com/ccd0/4chan-x",
|
||||
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user