我编辑WordPress的PHP页面,我想在页面加载如何阻止加载页面上的DIV资源?
这里阻止特定的外部脚本是脚本:
<script>
(function(document,script,id)
{
var js,
r=document.getElementsByTagName(script)[0],
protocol=/^http:/.test(document.location)?'http':'https';
if(!document.getElementById(id))
{
js=document.createElement(script);
js.id=id;js.src=protocol+'://widgets.changetip.com/public/js/widgets.js';r.parentNode.insertBefore(js,r)
}
}(document,'script','changetip_w_0'));
</script>
有没有一种方法,我可以影响这个脚本不加载count_box?或者在块之后立即放置一个脚本''?
何时何地脚本被“入队”? – rnevius 2015-02-24 06:50:04
这到底意味着什么?脚本靠近页面的末尾,但似乎有可能在阻止DIV显示后放置脚本。 – 2015-02-24 06:53:53