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
|
||||||
|
|
||||||
|
**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")]
|
**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.
|
- Fix some captcha-related bugs.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.10.12.3
|
// @version 1.10.12.4
|
||||||
// @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.10.12.3
|
// @version 1.10.12.4
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -396,7 +396,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.10.12.3',
|
VERSION: '1.10.12.4',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -11854,8 +11854,7 @@
|
|||||||
}
|
}
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
className: 'report-link',
|
className: 'report-link',
|
||||||
href: 'javascript:;',
|
href: 'javascript:;'
|
||||||
textContent: 'Report this post'
|
|
||||||
});
|
});
|
||||||
$.on(a, 'click', ReportLink.report);
|
$.on(a, 'click', ReportLink.report);
|
||||||
return Menu.menu.addEntry({
|
return Menu.menu.addEntry({
|
||||||
@ -11863,9 +11862,11 @@
|
|||||||
order: 10,
|
order: 10,
|
||||||
open: function(post) {
|
open: function(post) {
|
||||||
if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) {
|
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.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post;
|
||||||
ReportLink.height = 200;
|
ReportLink.height = 200;
|
||||||
} else if (Conf['Archive Report']) {
|
} else if (Conf['Archive Report']) {
|
||||||
|
a.textContent = 'Report to archive';
|
||||||
ReportLink.url = Redirect.to('report', {
|
ReportLink.url = Redirect.to('report', {
|
||||||
boardID: post.board.ID,
|
boardID: post.board.ID,
|
||||||
postID: post.ID
|
postID: post.ID
|
||||||
@ -15456,7 +15457,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
archive: function() {
|
archive: function() {
|
||||||
var link, message, url;
|
var link, message, types, url;
|
||||||
Redirect.init();
|
Redirect.init();
|
||||||
if (!(url = Redirect.to('report', {
|
if (!(url = Redirect.to('report', {
|
||||||
boardID: g.BOARD.ID,
|
boardID: g.BOARD.ID,
|
||||||
@ -15465,21 +15466,29 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((message = $('h3')) && /Report submitted!/.test(message.textContent)) {
|
if ((message = $('h3')) && /Report submitted!/.test(message.textContent)) {
|
||||||
$.globalEval('self.close = function(){};');
|
if (location.hash === '#redirect') {
|
||||||
window.resizeBy(0, 350 - doc.clientHeight);
|
$.globalEval('self.close = function(){};');
|
||||||
location.replace(url);
|
window.resizeBy(0, 350 - doc.clientHeight);
|
||||||
|
location.replace(url);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
link = $.el('a', {
|
link = $.el('a', {
|
||||||
href: url,
|
href: url,
|
||||||
textContent: 'Report to fgts'
|
textContent: 'Report to archive'
|
||||||
});
|
});
|
||||||
$.on(link, 'click', function(e) {
|
$.on(link, 'click', function(e) {
|
||||||
if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0)) {
|
if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0)) {
|
||||||
return window.resizeBy(0, 350 - doc.clientHeight);
|
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
|
// Generated by CoffeeScript
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.10.12.3
|
// @version 1.10.12.4
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -395,7 +395,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.10.12.3',
|
VERSION: '1.10.12.4',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -11853,8 +11853,7 @@
|
|||||||
}
|
}
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
className: 'report-link',
|
className: 'report-link',
|
||||||
href: 'javascript:;',
|
href: 'javascript:;'
|
||||||
textContent: 'Report this post'
|
|
||||||
});
|
});
|
||||||
$.on(a, 'click', ReportLink.report);
|
$.on(a, 'click', ReportLink.report);
|
||||||
return Menu.menu.addEntry({
|
return Menu.menu.addEntry({
|
||||||
@ -11862,9 +11861,11 @@
|
|||||||
order: 10,
|
order: 10,
|
||||||
open: function(post) {
|
open: function(post) {
|
||||||
if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) {
|
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.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post;
|
||||||
ReportLink.height = 200;
|
ReportLink.height = 200;
|
||||||
} else if (Conf['Archive Report']) {
|
} else if (Conf['Archive Report']) {
|
||||||
|
a.textContent = 'Report to archive';
|
||||||
ReportLink.url = Redirect.to('report', {
|
ReportLink.url = Redirect.to('report', {
|
||||||
boardID: post.board.ID,
|
boardID: post.board.ID,
|
||||||
postID: post.ID
|
postID: post.ID
|
||||||
@ -15455,7 +15456,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
archive: function() {
|
archive: function() {
|
||||||
var link, message, url;
|
var link, message, types, url;
|
||||||
Redirect.init();
|
Redirect.init();
|
||||||
if (!(url = Redirect.to('report', {
|
if (!(url = Redirect.to('report', {
|
||||||
boardID: g.BOARD.ID,
|
boardID: g.BOARD.ID,
|
||||||
@ -15464,21 +15465,29 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((message = $('h3')) && /Report submitted!/.test(message.textContent)) {
|
if ((message = $('h3')) && /Report submitted!/.test(message.textContent)) {
|
||||||
$.globalEval('self.close = function(){};');
|
if (location.hash === '#redirect') {
|
||||||
window.resizeBy(0, 350 - doc.clientHeight);
|
$.globalEval('self.close = function(){};');
|
||||||
location.replace(url);
|
window.resizeBy(0, 350 - doc.clientHeight);
|
||||||
|
location.replace(url);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
link = $.el('a', {
|
link = $.el('a', {
|
||||||
href: url,
|
href: url,
|
||||||
textContent: 'Report to fgts'
|
textContent: 'Report to archive'
|
||||||
});
|
});
|
||||||
$.on(link, 'click', function(e) {
|
$.on(link, 'click', function(e) {
|
||||||
if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0)) {
|
if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0)) {
|
||||||
return window.resizeBy(0, 350 - doc.clientHeight);
|
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==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.10.12.3
|
// @version 1.10.12.4
|
||||||
// @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.10.12.3
|
// @version 1.10.12.4
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -396,7 +396,7 @@
|
|||||||
doc = d.documentElement;
|
doc = d.documentElement;
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.10.12.3',
|
VERSION: '1.10.12.4',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -11854,8 +11854,7 @@
|
|||||||
}
|
}
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
className: 'report-link',
|
className: 'report-link',
|
||||||
href: 'javascript:;',
|
href: 'javascript:;'
|
||||||
textContent: 'Report this post'
|
|
||||||
});
|
});
|
||||||
$.on(a, 'click', ReportLink.report);
|
$.on(a, 'click', ReportLink.report);
|
||||||
return Menu.menu.addEntry({
|
return Menu.menu.addEntry({
|
||||||
@ -11863,9 +11862,11 @@
|
|||||||
order: 10,
|
order: 10,
|
||||||
open: function(post) {
|
open: function(post) {
|
||||||
if (!(post.isDead || (post.thread.isDead && !post.thread.isArchived))) {
|
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.url = "//sys.4chan.org/" + post.board + "/imgboard.php?mode=report&no=" + post;
|
||||||
ReportLink.height = 200;
|
ReportLink.height = 200;
|
||||||
} else if (Conf['Archive Report']) {
|
} else if (Conf['Archive Report']) {
|
||||||
|
a.textContent = 'Report to archive';
|
||||||
ReportLink.url = Redirect.to('report', {
|
ReportLink.url = Redirect.to('report', {
|
||||||
boardID: post.board.ID,
|
boardID: post.board.ID,
|
||||||
postID: post.ID
|
postID: post.ID
|
||||||
@ -15456,7 +15457,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
archive: function() {
|
archive: function() {
|
||||||
var link, message, url;
|
var link, message, types, url;
|
||||||
Redirect.init();
|
Redirect.init();
|
||||||
if (!(url = Redirect.to('report', {
|
if (!(url = Redirect.to('report', {
|
||||||
boardID: g.BOARD.ID,
|
boardID: g.BOARD.ID,
|
||||||
@ -15465,21 +15466,29 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((message = $('h3')) && /Report submitted!/.test(message.textContent)) {
|
if ((message = $('h3')) && /Report submitted!/.test(message.textContent)) {
|
||||||
$.globalEval('self.close = function(){};');
|
if (location.hash === '#redirect') {
|
||||||
window.resizeBy(0, 350 - doc.clientHeight);
|
$.globalEval('self.close = function(){};');
|
||||||
location.replace(url);
|
window.resizeBy(0, 350 - doc.clientHeight);
|
||||||
|
location.replace(url);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
link = $.el('a', {
|
link = $.el('a', {
|
||||||
href: url,
|
href: url,
|
||||||
textContent: 'Report to fgts'
|
textContent: 'Report to archive'
|
||||||
});
|
});
|
||||||
$.on(link, 'click', function(e) {
|
$.on(link, 'click', function(e) {
|
||||||
if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0)) {
|
if (!(e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || e.button !== 0)) {
|
||||||
return window.resizeBy(0, 350 - doc.clientHeight);
|
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'?>
|
<?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://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>
|
</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://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>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -3,8 +3,8 @@
|
|||||||
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
"description": "Cross-browser userscript for maximum lurking on 4chan.",
|
||||||
"meta": {
|
"meta": {
|
||||||
"name": "4chan X",
|
"name": "4chan X",
|
||||||
"version": "1.10.12.3",
|
"version": "1.10.12.4",
|
||||||
"date": "2015-05-10T02:11:26.536Z",
|
"date": "2015-05-11T06:20:12.938Z",
|
||||||
"repo": "https://github.com/ccd0/4chan-x/",
|
"repo": "https://github.com/ccd0/4chan-x/",
|
||||||
"page": "https://github.com/ccd0/4chan-x",
|
"page": "https://github.com/ccd0/4chan-x",
|
||||||
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
"downloads": "https://ccd0.github.io/4chan-x/builds/",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user