PageSourceSearch

https://g.fashiontimes.com/sys/js/4ac5e8d1ebf4eca6877fc3d91e8d42d7.js?v=1790187682

js fashiontimes.com collected 2026-09-24 18:47:04 UTC 2,741 bytes, 11 lines download raw bytes

1doFir.push(function(){doFir.push(function(){(function($){$(document).ready(function(){var body=$('body');$('.icon-menu').click(function(){if($(this).hasClass('active')){$(this).removeClass('active');body.removeClass('showMenu')}else{$(this).addClass('active');body.addClass('showMenu')}});$('.icon-search').click(function(){if(body.hasClass('showSearch')){body.removeClass('showSearch')}else{body.addClass('showSearch')}});$('.sclose').click(function(){body.removeClass('showSearch')});$('.mclose').click(function(){body.removeClass('showMenu')})})})(jQuery)});var lemon={};(function($){lemon={elements:{},attach:function(context,settings){this.init();if(this.elements.body.el.hasClass('logged-in')){return}
2this.fixedHeader()},init:function(){console.log('lemon init');if(!this.elements.length){var thisObj=this;this.elements.window={el:$(window)};this.elements.body={el:$('body')}
3this.elements.header={el:$('header')}
4this.elements.header_nav={el:$('header nav')}
5$(document).on('recalculate',function(){thisObj.recalculateElements()});$(window).on('scroll',function(){$.event.trigger({type:'reposition'})});$(window).on('resize',function(){$.event.trigger({type:'recalculate'});$.event.trigger({type:'reposition'})});$.event.trigger({type:'recalculate'});$.event.trigger({type:'reposition'})}},recalculateElements:function(){var el,fixed=!1;this.elements.window.height=this.elements.window.el.height();this.elements.window.width=this.elements.window.el.width();this.elements.header=this.setItemAttributes(this.elements.header);this.elements.header_nav=this.setItemAttributes(this.elements.header_nav)},setItemAttributes:function(item){var el;var fixed=!1;var absolute=!1;el=item.el;if(!el.length){return item}
6if(el.hasClass('fixed')){fixed=!0;el.removeClass('fixed')}
7if(el.hasClass('absolute')){absolute=!0;el.removeClass('absolute')}
8item.height=el.length?el.outerHeight(!0):0;item.width=el.length?el.width():0;item.outerwidth=el.length?el.outerWidth():0;item.left=el.length?el.offset().left:0;item.top=el.length?el.offset().top:0;if(fixed){el.addClass('fixed')}
9if(absolute){el.addClass('absolute')}
10return item},fixedHeader:function(){var lastScrollTop=0,thisObj=this,body=thisObj.elements.body.el,header=thisObj.elements.header.el,header_t=thisObj.elements.header_nav.top,offset=header_t+thisObj.elements.header_nav.height;$(document).on('reposition',function(e){var st=thisObj.elements.window.el.scrollTop();if(st>header_t){header.addClass('fixed');body.css('padding-top',offset)}else{header.removeClass('fixed');body.css('padding-top','')}})}};$(document).ready(function(){lemon.attach()})})(jQuery);lemon.attach=function(context,settings){this.init();if(this.elements.body.el.hasClass('logged-in')){return}
11this.fixedHeader()}})

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.