PageSourceSearch

http://phonesonbudget.com/js/wpo-minify-footer-7dd9086f.min.js

js phonesonbudget.com collected 2026-10-08 01:27:27 UTC 2,754 bytes, 22 lines download raw bytes

1
2"use strict";function woof_get_submit_link(){jQuery('.woof_seo_text').remove();if(woof_is_ajax){woof_current_values.page=woof_ajax_page_num}
3if(Object.keys(woof_current_values).length>0){jQuery.each(woof_current_values,function(index,value){if(index==swoof_search_slug){delete woof_current_values[index]}
4if(index=='s'){delete woof_current_values[index]}
5if(index=='product'){delete woof_current_values[index]}
6if(index=='really_curr_tax'){delete woof_current_values[index]}})}
7if(Object.keys(woof_current_values).length===0){if(woof_is_ajax){history.pushState({},"",woof_current_page_link)}
8let tmp_url=woof_current_page_link.split('/'+swoof_search_slug+'/');return tmp_url[0]}
9let hash=window.location.hash;let vars=window.location.search;let url=woof_current_page_link.replace(new RegExp(/page\/(\d+)\//),"");let all_vars=new URLSearchParams(vars);if(all_vars.has('product-page')){all_vars.delete('product-page');vars="?"+all_vars}
10let url_obj=new URL(url);url=url_obj.origin+url_obj.pathname
11let url_params=new URLSearchParams(url_obj.search);let tmp_url=url.split('/'+swoof_search_slug+'/');let new_url=tmp_url[0];var link="";if(new_url.slice(-1)!='/'){new_url+='/'}
12let url_array=[];const ordered_data=Object.keys(woof_current_values).sort().reduce((obj,key)=>{obj[key]=woof_current_values[key];return obj},{});for(let j in ordered_data){if(typeof url_parser_data.special[j]!='undefined'){url_array.push(url_parser_data.special[j])}else if(j=='min_price'||'max_price'==j){if(j=='min_price'){url_array.push('price-'+woof_current_values.min_price+'-to-'+woof_current_values.max_price)}}else if(typeof url_parser_data.filters[j]!='undefined'){let request=woof_current_values[j]+'';request=request.replaceAll(',','-and-');request=request.replaceAll('^','-to-');request=request.replaceAll(/\s+/g,'+');url_array.push(url_parser_data.filters[j]+'-'+request)}}
13let search_request_url="";if(url_array.length){search_request_url=swoof_search_slug+'/'+url_array.join('/')+'/'}
14if(url_params.size){let search_url_params=new URLSearchParams(vars);let result_url_params=new URLSearchParams({...Object.fromEntries(search_url_params),...Object.fromEntries(url_params)});vars="?"+result_url_params}
15if(typeof woof_current_values.orderby!='undefined'){let searchParams=new URLSearchParams(vars);if(searchParams.has('orderby')){searchParams.delete('orderby')}
16searchParams.append("orderby",woof_current_values.orderby);vars="?"+searchParams.toString()}
17link=new_url+search_request_url+vars+hash
18link=link.replace(new RegExp(/page\/(\d+)\//),"");if(woof_is_ajax){if(typeof woof_current_values.page!='undefined'&&woof_current_values.page>1){link=new_url+search_request_url+'page/'+woof_current_values.page+'/'+vars+hash}
19history.pushState({},"",link)}
20return link};
21
22

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.