Fix Opera. Release 2.21.1.
This commit is contained in:
parent
a334f76054
commit
970fea92bb
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan x
|
// @name 4chan x
|
||||||
// @version 2.21.0
|
// @version 2.21.1
|
||||||
// @namespace aeosynth
|
// @namespace aeosynth
|
||||||
// @description Adds various features.
|
// @description Adds various features.
|
||||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
* http://mayhemydg.github.com/4chan-x/
|
* http://mayhemydg.github.com/4chan-x/
|
||||||
* 4chan x 2.21.0
|
* 4chan x 2.21.1
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person
|
* Permission is hereby granted, free of charge, to any person
|
||||||
* obtaining a copy of this software and associated documentation
|
* obtaining a copy of this software and associated documentation
|
||||||
@ -211,7 +211,7 @@
|
|||||||
|
|
||||||
NAMESPACE = '4chan_x.';
|
NAMESPACE = '4chan_x.';
|
||||||
|
|
||||||
VERSION = '2.21.0';
|
VERSION = '2.21.1';
|
||||||
|
|
||||||
SECOND = 1000;
|
SECOND = 1000;
|
||||||
|
|
||||||
@ -1753,7 +1753,7 @@
|
|||||||
el = _ref[_i];
|
el = _ref[_i];
|
||||||
el.tabIndex = 1;
|
el.tabIndex = 1;
|
||||||
}
|
}
|
||||||
return $.bind($('#recaptcha_response_field'), 'keydown', Recaptcha.listener);
|
return $.on($('#recaptcha_response_field'), 'keydown', Recaptcha.listener);
|
||||||
},
|
},
|
||||||
listener: function(e) {
|
listener: function(e) {
|
||||||
if (e.keyCode === 8 && this.value === '') return Recaptcha.reload();
|
if (e.keyCode === 8 && this.value === '') return Recaptcha.reload();
|
||||||
@ -2976,7 +2976,7 @@
|
|||||||
if ((form = $('form[name=post]')) && (canPost = !!$('#recaptcha_response_field'))) {
|
if ((form = $('form[name=post]')) && (canPost = !!$('#recaptcha_response_field'))) {
|
||||||
Recaptcha.init();
|
Recaptcha.init();
|
||||||
if (g.REPLY && conf['Auto Watch Reply'] && conf['Thread Watcher']) {
|
if (g.REPLY && conf['Auto Watch Reply'] && conf['Thread Watcher']) {
|
||||||
$.bind(form, 'submit', function() {
|
$.on(form, 'submit', function() {
|
||||||
if ($('img.favicon').src === Favicon.empty) {
|
if ($('img.favicon').src === Favicon.empty) {
|
||||||
return watcher.watch(null, g.THREAD_ID);
|
return watcher.watch(null, g.THREAD_ID);
|
||||||
}
|
}
|
||||||
|
|||||||
2
Cakefile
2
Cakefile
@ -2,7 +2,7 @@
|
|||||||
{exec} = require 'child_process'
|
{exec} = require 'child_process'
|
||||||
fs = require 'fs'
|
fs = require 'fs'
|
||||||
|
|
||||||
VERSION = '2.21.0'
|
VERSION = '2.21.1'
|
||||||
|
|
||||||
HEADER = """
|
HEADER = """
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
master
|
master
|
||||||
|
|
||||||
|
2.21.1
|
||||||
|
- mayhem
|
||||||
|
fix Opera
|
||||||
|
|
||||||
2.21.0
|
2.21.0
|
||||||
- mayhem
|
- mayhem
|
||||||
initiate 4chan X earlier
|
initiate 4chan X earlier
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
postMessage({version:'2.21.0'},'*');
|
postMessage({version:'2.21.1'},'*');
|
||||||
|
|||||||
@ -122,7 +122,7 @@ conf = {}
|
|||||||
) null, config
|
) null, config
|
||||||
|
|
||||||
NAMESPACE = '4chan_x.'
|
NAMESPACE = '4chan_x.'
|
||||||
VERSION = '2.21.0'
|
VERSION = '2.21.1'
|
||||||
SECOND = 1000
|
SECOND = 1000
|
||||||
MINUTE = 60*SECOND
|
MINUTE = 60*SECOND
|
||||||
HOUR = 60*MINUTE
|
HOUR = 60*MINUTE
|
||||||
@ -1372,7 +1372,7 @@ Recaptcha =
|
|||||||
#hack to tab from comment straight to recaptcha
|
#hack to tab from comment straight to recaptcha
|
||||||
for el in $$ '#recaptcha_table a'
|
for el in $$ '#recaptcha_table a'
|
||||||
el.tabIndex = 1
|
el.tabIndex = 1
|
||||||
$.bind $('#recaptcha_response_field'), 'keydown', Recaptcha.listener
|
$.on $('#recaptcha_response_field'), 'keydown', Recaptcha.listener
|
||||||
listener: (e) ->
|
listener: (e) ->
|
||||||
if e.keyCode is 8 and @value is '' # backspace to reload
|
if e.keyCode is 8 and @value is '' # backspace to reload
|
||||||
Recaptcha.reload()
|
Recaptcha.reload()
|
||||||
@ -2328,7 +2328,7 @@ Main =
|
|||||||
if (form = $ 'form[name=post]') and (canPost = !!$ '#recaptcha_response_field')
|
if (form = $ 'form[name=post]') and (canPost = !!$ '#recaptcha_response_field')
|
||||||
Recaptcha.init()
|
Recaptcha.init()
|
||||||
if g.REPLY and conf['Auto Watch Reply'] and conf['Thread Watcher']
|
if g.REPLY and conf['Auto Watch Reply'] and conf['Thread Watcher']
|
||||||
$.bind form, 'submit', -> if $('img.favicon').src is Favicon.empty
|
$.on form, 'submit', -> if $('img.favicon').src is Favicon.empty
|
||||||
watcher.watch null, g.THREAD_ID
|
watcher.watch null, g.THREAD_ID
|
||||||
|
|
||||||
#major features
|
#major features
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user