PageSourceSearch

https://funfuni.com/wp-content/cache/autoptimize/autoptimize_single_9b5bbaec4e3a64500fe71f0ce7facb94.php

js funfuni.com collected 2026-10-02 00:49:46 UTC 1,717 bytes, 10 lines download raw bytes

1(function(){'use strict';const l10n=window.wpPostRatingsL10n||{};const inFlight=new Set();function vote(control,rating){const postId=Number(control.dataset.postId);if(!postId||!rating){return;}
2if(inFlight.has(postId)){window.alert(l10n.textWait);return;}
3const container=document.getElementById('wp-postratings-'+postId);if(!container){return;}
4const nonce=container.dataset.nonce||container.getAttribute('data-nonce');inFlight.add(postId);container.setAttribute('aria-busy','true');const body=new URLSearchParams();body.append('action','wp_postratings');body.append('pid',postId);body.append('rate',rating);body.append('wp_postratings_'+postId+'_nonce',nonce);function finish(html){if('string'===typeof html){container.innerHTML=html;}
5container.removeAttribute('aria-busy');inFlight.delete(postId);}
6window.fetch(l10n.ajaxUrl,{method:'POST',credentials:'same-origin',headers:{'Content-Type':'application/x-www-form-urlencoded; charset=UTF-8',},body:body.toString(),}).then(function(response){return response.text();}).then(finish).catch(function(){finish();});}
7function start(){document.addEventListener('change',function(event){const input=event.target.closest('.wp-postratings-scale input[type="radio"]');if(!input){return;}
8const control=input.closest('.wp-postratings-vote');if(control){vote(control,Number(input.value));}});document.addEventListener('click',function(event){const button=event.target.closest('.wp-postratings-updown button');if(!button){return;}
9event.preventDefault();const control=button.closest('.wp-postratings-vote');if(control){vote(control,Number(button.dataset.rating));}});}
10if('loading'===document.readyState){document.addEventListener('DOMContentLoaded',start);}else{start();}}());

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.