Regex.Replace of SharePoint elements for non-admins users
$30-250 USD
已完成
已发布大约 13 年前
$30-250 USD
货到付款
Hello!
I need to remove some certain SharePoint JS, CSS and text like VIEWSTATE for visitors (basically non-admins) in order to optimize the speed of SharePoint. My SharePoint is coded in C# and version 2007.
I've attached some code I've made myself. I think I need some sort of variable to check if the file is read-only (visitor) or admin (read and write), or is [login to view URL] etc. not admin files for SharePoint?? In the code I've attached I had some problems removing some of the JavaScript like init.js.