I am using Security kit module to enhance security for my website. In that I have enabled Enable JavaScript + CSS + Noscript protection
option. This setting is blocking one of Jquery call that is .load
functionality. The description of this option is here:
Enable protection via JavaScript, CSS and Noscript tag. This is the most efficient Clickjacking prevention technique. If webiste is not being framed, seckit.document_write.js starts commenting with document.write() and stops when reaches stop SecKit protection. Thus seckit.no_body.css, which sets body display to none, is ignored. If particularly this JavaScript file is being blocked (with XSS filter of Internet Explorer 8 or Safari), seckit.no_body.css sets display: none to body. If JavaScript is disabled within browser, it shows a special message.
This is the JavaScript code.
$("[name='dest-target']").click(function(e){
jQuery("#test_file_download").load(Drupal.settings.basePath + Drupal.settings.pathPrefix + "node/hit/ajax", {'path': filenodeurl});
return false;
});
Please suggest me any alternatives I can use for this.