是否有可能在我工作的Chrome扩展程序中添加个人黑名单? [英] Is it possible add an personal blacklist to the chrome extension iam working on?

查看:157
本文介绍了是否有可能在我工作的Chrome扩展程序中添加个人黑名单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试开发一个Google Chrome扩展程序来阻止不需要的iframe和广告,我想添加类似个人黑名单的内容,以便用户可以通过扩展程序将网站添加到黑名单。如果Javascript中有任何此类代码,请分享。



我尝试过:



找到将个人黑名单添加到chrome扩展名的代码。

I have been trying to develop an google chrome extension that blocks unwanted iframes and ads,and I would like to add something like an personal blacklist so that users can add websites to the blacklist via the extension.Please share if any such codes are available in Javascript.

What I have tried:

find the code for adding an personal blacklist to a chrome extension.

推荐答案

你的错误就是你需要将它与你的用法混淆。

您需要一个可由用户保存,重新加载和更改的字符串列表。

您的使用无关紧要。加载列表后,将其用作黑名单。
Your mistake is that you confound what you need with its usage.
You want a list of strings that can be saved, reloaded and changed by user.
Your usage do not matter. Once the list is loaded, you use it as a black list.


这篇关于是否有可能在我工作的Chrome扩展程序中添加个人黑名单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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