PageSourceSearch

https://photo-monster.ru/template/2/js/utils.js

js photo-monster.ru collected 2026-10-02 11:06:19 UTC 644 bytes, 24 lines download raw bytes

1$(function (){
2
3	$('a').each(function(){
4         var href = $(this).attr('href');
5		 if(href){
6             if(href.indexOf(location.host) < 0 && href.indexOf('//') >= 0){
7               $(this).attr('target', '_blank');
8             } 	  
9		 }
10	})
11});
12$(function (){ 
13    //$('.listLessons-item a').click(function(){return false});
14	$('.listLessons-item').click(function(event){
15	      var url = $(this).find('.read_more').attr('href');
16          window.location.href = url; 
17	});
18    $('.listLessons-item a').click(function(event){
19       if(event.shiftKey || event.which == 2) {
20            event.stopPropagation();
21       }
22    });   
23
24});

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.