I’m utilizing Safety package module to boost safety for my web site. In that I’ve enabled Allow JavaScript + CSS + Noscript safety
possibility. This setting is obstructing one among Jquery name that’s .load
performance. Drupal Development description of this feature is right here:
Allow safety through JavaScript, CSS and Noscript tag. That is Drupal Development most effective Clickjacking prevention approach. If webiste isn’t being framed, seckit.document_write.js begins commenting with doc.write() and stops when reaches cease SecKit safety. Thus seckit.no_body.css, which units physique show to none, is ignored. If notably this JavaScript file is being blocked (with XSS filter of Web Explorer 8 or Safari), seckit.no_body.css units show: none to physique. If JavaScript is disabled inside browser, it reveals a particular message.
Beneath is Drupal Development js code:
$("[name='dest-target']").click on(operate(e){ jQuery("#test_file_download").load(Drupal.settings.basePath + Drupal.settings.pathPrefix + "node/hit/ajax", {'path': filenodeurl}); return false; });
Please counsel me any alternate options i can use for this.