PageSourceSearch

https://flecs.tech/wp-content/cache/min/1/5f15071a4971/wp-content/…/js/custom-dos-script.js?ver=1787429564

js flecs.tech collected 2026-10-09 22:40:15 UTC 1,030 bytes, 13 lines download raw bytes

1jQuery(document).ready(function($){$('#dos-button').on('click',function(e){e.preventDefault()
2const $button=$(this)
3const originalText=$button.text()
4$button.prop('disabled',!0).css('pointer-events','none').text('Creating your deployment...')
5$.ajax({url:dos_ajax_obj.ajax_url,method:'POST',data:{action:'dos_button_action',security:dos_ajax_obj.nonce},success:function(response){if(response.success){const jsonBlob=new Blob([JSON.stringify(response.data,null,2)],{type:'application/json'})
6const link=document.createElement('a')
7link.href=URL.createObjectURL(jsonBlob)
8link.download='apps.json'
9document.body.appendChild(link)
10link.click()
11document.body.removeChild(link)}else{console.error('Error details:',response.data)
12alert('Error: '+(response.data.message||'An unknown error occurred.'))}},error:function(xhr,status,error){console.error('AJAX Error:',error)
13alert('Something went wrong. Check the console for details.')},complete:function(){$button.prop('disabled',!1).css('pointer-events','auto').text(originalText)}})})})

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.