File manager - Edit - /home/u478019808/domains/bb7gam.xyz/public_html/wp-content/plugins/hostinger/src/js/global-scripts.js
Back
document.addEventListener('DOMContentLoaded', function() { const pluginSplitClose = document.getElementById('plugin-split-close'); if(pluginSplitClose) { pluginSplitClose.addEventListener('click', function () { let nonceElement = document.getElementById('hts_close_plugin_split_nonce'); if (!nonceElement) { console.error('Nonce element not found.'); return; } let nonce = nonceElement.value; fetch(ajaxurl, { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: new URLSearchParams({ 'action': 'hostinger_dismiss_plugin_split_notice', 'nonce': nonce }), }) .then(response => { if (!response.ok) { throw new Error('Network response was not ok ' + response.statusText); } return response.json(); }) .then(data => { document.getElementById('hostinger-plugin-split-notice').style.display = 'none'; }) .catch(error => { console.error('Error:', error); }); }); } });
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings