PageSourceSearch

https://photo-monster.ru/forum/extensions/monster_ignore_users/assets/js.js

js photo-monster.ru collected 2026-10-02 11:06:16 UTC 1,149 bytes, 31 lines download raw bytes

1$(function (){ 
2	$('.ignore-user').on('click', function(){
3	    if(!confirm('Вы действительно хотите игнорировать сообщения и темы этого пользователя? ')) return false;  
4        
5        var $self = $(this);  
6        var id = $self.data('poster'); 
7        
8        $self.text('...');
9        
10        $.getJSON($self.attr('href'), function(data){
11            $('a[data-poster="'+id+'"]').parents('.post').remove(); 
12            createPopupMessage('success', 'Сообщения и темы этого пользователя больше показываться не будут. Удалить пользователя из игнора можно в настройках.');    
13        });
14         
15        
16        return false; 
17	});
18    
19    
20    $('.unignore-user').on('click', function(){
21        var $self = $(this);  
22        $self.text('...');
23        
24        $.getJSON($self.attr('href'), function(data){
25            console.log('Холоп прощен)');  
26            $self.parents('li').remove(); 
27        }); 
28        
29        return false;        
30    }); 
31});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.