I've had occassion recently to put the SPScriptAudit to work in a new position I'm assigned to....trying to get a handle on the current environment I'm taking over. I noticed a couple things that I thought you might like to know about:
I'm using SPServices v0.7.1a so if these have already been addressed in later version, my apologies.
Geoff
I'm using SPServices v0.7.1a so if these have already been addressed in later version, my apologies.
- The webURL must be within the current site collection if you choose to use that argument. That may be a good add in the Docs section.
-
When specifying a webURL within the current site collection that is not the current site and showSrc = true, the script reference column is creating an invalid URL in the anchor tag, i.e. thisSrcPath = "/sites/1472/pages/https://org4.eis.afmc.af.mil/sites/1472/pages/jquery-1.6.1.min.js"
if(thisPageUrl.indexOf(".aspx") > 0 || thisPageUrl.indexOf(".htm") > 0) {
SPScriptAuditPage(opt, listXml, "Page", thisPageType, SLASH + thisPageUrl);
}
Thanks,Geoff