mailSelect

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if (settings.mailSelect && /\/mail\//.t() && /Contact=/.t()) {
$('.list_item.blue_wrap_block.overfl_hid:first .right').append('<a href="#" class="block_links round_corners left block_links_word" style="background-image: url(http://142530-ru.1gb.ru/PetrovDS/spaces.js/img/logo16.png);" title="Режим копирования" id="sjs_copy">Режим копир.</a>')
$('#sjs_copy').toggleClick(function(){
$('.overfl_hid.service_links_block.service_links_block_top.clear').hide()
$('.left.font0.avatar_wrap.padd_right').hide()
$('.list_item.blue_wrap_block.overfl_hid').has('input').hide()
$('.m_bottom').hide()
$('.overfl_hid img').hide()
$('.overfl_hid.word_break ').append('<br class="sjs_br">')
$('b[style="color:darkmagenta;"]:contains("Я")').html(nickname)
$('.comment_date').prepend('[')
$('.comment_date a').before(']')
},function(){
$('.overfl_hid.service_links_block.service_links_block_top.clear').show()
$('.left.font0.avatar_wrap.padd_right').show()
$('.list_item.blue_wrap_block.overfl_hid').has('input').show()
$('.m_bottom').show()
$('.overfl_hid img').show()
$('.sjs_br').hide()
$('b[style="color:darkmagenta;"]:contains("' + nickname + '")').html("Я")
$('.comment_date').html($('.comment_date').html().replace(/\[/,'').replace(/\]/,''))
})
}