禁用带有插件或扩展名的单个 javascript 文件 [英] Disable single javascript file with addon or extension

查看:28
本文介绍了禁用带有插件或扩展名的单个 javascript 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个 Firefox 插件或 Chrome 扩展程序,它可以让我禁止运行特定的 javascript 文件.有许多用于禁用特定 CSS 文件的方法,似乎找不到对 JS 文件执行相同操作的方法.是否有一些限制,或者我应该在发布前更好地搜索?

I am looking for a Firefox addon or Chrome extension that would allow me to disable particular javascript file from running. There are many of those for disabling particular CSS file, cannot seem to find one that does the same with JS files. Is there some limitations or I should have searched better before posting?

推荐答案

AdBlock for Chrome 可用于拦截 JS 文件.....
https://chrome.google.com/webstore/detail/gighmmpiobklfepjocnamgkkbiglidom
...单击 AdBlock 图标并选择显示资源列表",然后查找您要阻止的 JS 并勾选它旁边的框并进行选择.
注意
在设置中,我是高级用户,请显示高级选项".应该被选中.

AdBlock for Chrome can be used to block JS files.....
https://chrome.google.com/webstore/detail/gighmmpiobklfepjocnamgkkbiglidom
...Click on the AdBlock icon and select "Show the resource list" and look for the JS you want to block and tick the box next to it and make your selections.
Note
In settings, "I'm an advanced user, show me advanced options." should be selected.

这篇关于禁用带有插件或扩展名的单个 javascript 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆