如何将其他页面都引用的js提取到公共的一个js
举例如下// 通用js和css(function (){ var strFullPath=window.document.location.href; var strPath=window.document.location.pathname; var pos=strFullPath.indexOf(strPath); var prePath=strFullPath.substri...