Well I'm working on a government website that needs a lot of security insurances! the security thingy guys keep saying that there are couple of Drupal name in the source that shouldn't be there!
So far I changed Drupal Meta Generator but still there are some javascript files and Drupal. Settings that still shows up in the source code. Here's what I'm referring to:
jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"stme","theme_token":"tytMMj0EavWD-6KgUbjQYEmSyk35cF3mwLTcqBKhO5U","js":{"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"misc\/ui\/jquery.ui.core.min.js":1,"misc\/ui\/jquery.ui.widget.min.js":1,"misc\/ui\/jquery.ui.button.min.js":1,
this is just a part of the code between tag, What I need is to change jQuery.extend(Drupal.settings
to something else and also change the name of drupal.js .
I have no idea that could it have any side effects if I manage to make it? and before all how am I be able to do these changes?
Drupal
JS object. You'll also need to edit every single other Javascript file in the system, including all custom/contrib JS files.