头部文件中这段代码是什么意思可以删除吗?
<script type="text/javascript">
var oQueryKeyword=document.getElementById("searchwordbox");
var searchInstallDir='{$installdir}';
var oSearchForm = document.searchform;
var dataQueryParam = "&channelid=0&l=32"; /*参数说明,channelid=频道ID,l=限制标题长度,n=最多查询结果数*/
if (navigator.cookieEnabled && !/sugAutoComplete=0/.test(document.cookie)) {
document.getElementById('searchwordbox').setAttribute('autocomplete', 'off');
document.write('<s'+'cript src="{$installdir}js/searchsug.js"><\/s'+'cript>'); (function initAutoQuery() {
if (!window.newasp) {
setTimeout(initAutoQuery, 10);
} else {
window.newasp.init()
}
})()
}
window.onunload = function() {};
</script>
这篇转载于www.vvery.com更多请参考本站.