我有一个页面不是我的服务器,在特定的页面加载在Chrome中DevTools如何防止脚本从执行
...other stuff...
<script src="http://someserver.com/script.js"></script>
...other stuff...
中运行,引发了一些问题上。
我需要调试,所以首先我想阻止加载脚本。
我该怎么做?我发现的所有内容都是在页面已加载后,我可以删除,编辑或添加脚本。但那不是我需要的。我需要加载整个页面,但跳过加载这个脚本。
您是否尝试擦除/评论脚本标记? – Seano666
它是*不是*在我的服务器上,我无法编辑原始html – xaxa
我的错误,我误读。试试这个http://superuser.com/questions/278590/is-there-a-way-to-disable-a-specific-js-script-from-a-specific-website – Seano666