PageSourceSearch

https://mowhotels.com/sites/mow-hotels1607/js/custom.js?timestamp=1674659277

js mowhotels.com collected 2026-10-08 10:59:51 UTC 1,497 bytes, 66 lines download raw bytes

1var announcementInterval = 0;
2
3function _annoucementBar()
4{
5    var bar = $('.block-header ' + (window.screen.isSmall() ? '.headersm' : '.headerlg') + ' .announcement-bar');
6    
7    if(!bar.find('.animation-wrapper').length)
8        bar.wrapInner('<div class="animation-wrapper"></div>');
9    
10    var wrapper = bar.find('.animation-wrapper');
11    var total = wrapper.find('p').length;
12    var i = 1;
13    var width = bar.width();
14    
15    wrapper.find('p').css('display', 'block');
16        
17    wrapper.css('width', total * parseInt(width));
18    wrapper.find('p').css('width', width);
19    
20    clearInterval(announcementInterval);
21    
22    announcementInterval = setInterval(function() {
23        if(i == total)
24            i = 0;
25
26    	wrapper.css('transform', 'translateX(' + (i * width * -1) + 'px)');
27        
28        i++;
29    }, 4000);
30}
31
32function _blockGallery()
33{
34    if(!$('ul.tags').length)
35        return;
36    
37    let interval = 0;
38    
39	$('ul.tags li:first-child').addClass('hidden');
40    
41    interval = setInterval(function() {
42    	if($('.grid-items.shown').length)
43        {
44            $($('ul.tags li:not(.hidden)').get(0)).find('a').click();
45            clearInterval(interval);
46        }
47    }, 500);
48}
49
50$(document).ready(function() {
51    
52    _annoucementBar();
53    
54    if(window.screen.isSmall())
55    {
56    	setTimeout(function() {
57        	$(window).resize();
58        }, 750);
59    }
60    
61    _blockGallery();
62});
63
64$(window).on('resize', function() {
65	_annoucementBar();
66});

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.