Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/plugins/post-views-counter/js/counter.min.js
Arrière
PostViewsCounterManual={init:function(a){let b={action:"pvc-view-posts",pvc_nonce:a.nonce,ids:a.ids},c=Object.keys(b).map(function(a){return encodeURIComponent(a)+"="+encodeURIComponent(b[a])}).join("&").replace(/%20/g,"+"),d=this;return fetch(a.url,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"},body:c}).then(function(a){if(!a.ok)throw Error(a.statusText);return a.json()}).then(function(a){try{"object"==typeof a&&null!==a&&d.triggerEvent("pvcCheckPost",a)}catch(b){console.log("Invalid JSON data"),console.log(b)}}).catch(function(a){console.log("Invalid response"),console.log(a)})},triggerEvent:function(a,b){let c=new CustomEvent(a,{bubbles:!0,detail:b});document.dispatchEvent(c)}}
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages