HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/biblioteka/wp-content/plugins/better-search/includes/js/better-search-tracker.js
document.addEventListener('DOMContentLoaded', function() {
    fetch(ajax_bsearch_tracker.ajax_url, {
        method: 'POST',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
            'Cache-Control': 'no-cache'
        },
        body: new URLSearchParams({
            action: 'bsearch_tracker',
			bsearch_search_query: ajax_bsearch_tracker.bsearch_search_query
        }).toString()
    })
    .then(function(response) {
        return response.json();
    })
    .then(function(data) {
        // handle the response data
    })
    .catch(function(error) {
        console.error('Error:', error);
    });
});