What is this script in wp_footer? Can I remove it and how?
-
Hey, trying to figure out what this script is that is showing up in wp_footer. Is this normal WP stuff? Can I remove it? I don’t think it is being used.
<script type="text/javascript"> jQuery(document).ready(function ($) { //$( document ).ajaxStart(function() { //}); for (var i = 0; i < document.forms.length; ++i) { var form = document.forms[i]; if ($(form).attr("method") != "get") { $(form).append('<input type="hidden" name="QFSCLTy" value="Fm@REVn" />'); } if ($(form).attr("method") != "get") { $(form).append('<input type="hidden" name="VXHSeh" value="QuPV0H" />'); } } $(document).on('submit', 'form', function () { if ($(this).attr("method") != "get") { $(this).append('<input type="hidden" name="QFSCLTy" value="Fm@REVn" />'); } if ($(this).attr("method") != "get") { $(this).append('<input type="hidden" name="VXHSeh" value="QuPV0H" />'); } return true; }); jQuery.ajaxSetup({ beforeSend: function (e, data) { //console.log(Object.getOwnPropertyNames(data).sort()); //console.log(data.type); if (data.type !== 'POST') return; if (typeof data.data === 'object' && data.data !== null) { data.data.append("QFSCLTy", "Fm@REVn"); data.data.append("VXHSeh", "QuPV0H"); } else { data.data = data.data + '&QFSCLTy=Fm@REVn&VXHSeh=QuPV0H'; } } }); }); </script>
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘What is this script in wp_footer? Can I remove it and how?’ is closed to new replies.