Hello,
We are currently facing an issue with one of our customer that is complaining from the Forms Source Page (View Page Source) which displays reference to all Forms JS library.
Usually, the FORM displays the below in the HEAD section
<head>
<title>Preview</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/Forms/img/favicon.ico">
<link rel="stylesheet" href="/Forms/Styles/style.css?v=2" />
<link rel="stylesheet" href="/Forms/Content/themes/base/jquery.ui.all.css" type="text/css" media="all" />
<link rel="stylesheet" href= "/Forms/Styles/shared.css" />
<script>var absPath = "/Forms/";</script>
<script src="/Forms/handlers/LocalizationScript.ashx"></script>
<script src="/Forms/js/libs/json2.js"></script>
<script src="/Forms/js/libs/modernizr.custom.js"></script>
<script src="/Forms/js/libs/yepnope.1.5.4-min.js"></script>
<script src="/Forms/js/libs/jquery-1.7.2.min.js"></script>
<script src="/Forms/js/libs/jquery-ui-1.8.21.min.js"></script>
<script src="/Forms/js/libs/js-webshim/dev/polyfiller.js"></script>
<script src="/Forms/js/util.js"></script>
<script src="/Forms/js/libs/jquery.dateFormat-1.0.js"></script>
<script src="/Forms/js/libs/bootstrap.min.js"></script>
<link rel="stylesheet" href= "/Forms/Styles/form.css"/>
<script src="/Forms/js/currency.js"></script>
<script src="/Forms/js/libs/js-webshim/dev/extras/custom-validity.js"></script>
<script src="/Forms/js/fileupload.js"></script>
<script src="/Forms/js/forms.js"></script>
<script src="/Forms/js/lookup.js"></script>
<script src="/Forms/js/repeatable.js"></script>
<script src="/Forms/js/validationUtil.js"></script>
<script src="/Forms/js/libs/jquery.timeago.js"></script>
<!--[if lte IE 8]>
<script src="/Forms/js/libs/html5shiv.js"></script>
<![endif]-->
</head>
For security reasons, we need to hide all these references.
Is there any way to acheive this without affecting the FORM functionality & layout ? And which CSHTML file(s) should be edited ?
Regards,
Amine
Question
Question
Forms Script - Library References
asked on September 2, 2013
0
0
Answer
APPROVED ANSWER
replied on November 18, 2013
You would probably have to use Bundling and Minification for ASP.NET 4.0, but I believe you have to have access to the code behind file in order to do this, which means unless Laserfiche includes it as an option in the interface to turn bundling on or off, you more than likely would not be able to do it.
0
0
Replies
replied on October 31, 2013
If you want to hide them for security reasons, then you might wanna start by not posting them here.
Besides that, you would be best to look into aspx capabilities. As far as I was able to tell from the little bit of research, you could get away with something like this with PHP but using ASP.NET means no PHP usage.
I never found anything definitive regarding this question when searching for ASP information
2
0
You are not allowed to follow up in this post.