Release 2.37.1.

This commit is contained in:
Nicolas Stepien 2012-12-18 13:49:39 +01:00
parent 2bc6d2fd04
commit 027af4ec50
5 changed files with 10 additions and 8 deletions

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan x
// @version 2.37.0
// @version 2.37.1
// @namespace aeosynth
// @description Adds various features.
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
@ -27,7 +27,7 @@
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>
* http://mayhemydg.github.com/4chan-x/
* 4chan X 2.37.0
* 4chan X 2.37.1
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
@ -2630,7 +2630,7 @@
if (err) {
if (/captcha|verification/i.test(err.textContent) || err === 'Connection error with sys.4chan.org.') {
if (/mistyped/i.test(err.textContent)) {
err.textContent = 'Error: You seem to have mistyped the CAPTCHA.';
err = 'Error: You seem to have mistyped the CAPTCHA.';
}
QR.cooldown.auto = QR.captchaIsEnabled ? !!$.get('captchas', []).length : true;
QR.cooldown.set({
@ -5625,7 +5625,7 @@
return $.globalEval(("(" + code + ")()").replace('_id_', bq.id));
},
namespace: '4chan_x.',
version: '2.37.0',
version: '2.37.1',
callbacks: [],
css: '\
/* dialog styling */\

View File

@ -2,7 +2,7 @@
{exec} = require 'child_process'
fs = require 'fs'
VERSION = '2.37.0'
VERSION = '2.37.1'
HEADER = """
// ==UserScript==

View File

@ -1,4 +1,6 @@
master
2.37.1
- noface
Fix Anonymize not working on stubs.
- Mayhem

View File

@ -1 +1 @@
postMessage({version:'2.37.0'},'*')
postMessage({version:'2.37.1'},'*')

View File

@ -2077,7 +2077,7 @@ QR =
if /captcha|verification/i.test(err.textContent) or err is 'Connection error with sys.4chan.org.'
# Remove the obnoxious 4chan Pass ad.
if /mistyped/i.test err.textContent
err.textContent = 'Error: You seem to have mistyped the CAPTCHA.'
err = 'Error: You seem to have mistyped the CAPTCHA.'
# Enable auto-post if we have some cached captchas.
QR.cooldown.auto =
if QR.captchaIsEnabled
@ -4529,7 +4529,7 @@ Main =
$.globalEval "(#{code})()".replace '_id_', bq.id
namespace: '4chan_x.'
version: '2.37.0'
version: '2.37.1'
callbacks: []
css: '
/* dialog styling */