avatar

网页锁

应用简介

网页锁扩展应用程序的主要功能是在页面右键菜单添加一个菜单想为“设置页面访问密码”的菜单项,用户单击此菜单后,会在用户浏览的当前页面弹窗一个输入对话框,对话框主要用于用户输入访问页面的密码,当用户设置好密码,并点击弹窗框的“锁定网页”按钮后,扩展讲记录用户输入的密码和网站,当用户后续再次访问网站后,网站将首先弹窗一个验证框,只有在用户正确输入了密码后,用户才能继续浏览网页,否则将屏蔽网页内容。


此扩展的目的在于在个别情况下,用户可能在浏览了一个网页后,希望后续其他人不能查看到此页的内容,而此时,用户就可以通过此扩展来对网站添加一个密码。只有正确输入了密码后,用户才能继续访问

配置文件

Code
1
{"background":{"scripts":["background.js"]},"options_page":"options.html","content_scripts":[{"css":["css\/ui-lightness\/jquery-ui-1.10.2.custom.css"],"js":["jquery-1.8.0.min.js","jquery-ui-1.10.2.custom.js","lookup.js"],"matches":["http:\/\/*\/*","https:\/\/*\/*"],"run_at":"document_start","all_frames":true}],"description":"\u63d0\u4f9b\u7f51\u9875\u8bbf\u95ee\u5bc6\u7801\u529f\u80fd\uff0c\u901a\u8fc7\u6dfb\u52a0\u7f51\u7ad9\u5bc6\u7801\uff0c\u9650\u5236\u4ed6\u4eba\u8bbf\u95ee\u60a8\u4e0d\u60f3\u8ba9\u4ed6\u4eec\u6d4f\u89c8\u7684\u7f51\u9875","icons":{"128":"png-128.png"},"key":"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyBZXkrigr0Nc5qMtMkHeWh7Co9PseMNBVn1EmFXVIyjTmyJILeVf+tTB\/yhmEcMNrdUBiOvojzZ2+jcnRzY39RX9KF9zevJm+KN7JTSSam9oIQ8hu60GOsqbzuYJiUICNvhNjKxTvCKDVYoUeZpJGkXpWZkYxlJZjn7ydVqrdLOT2ub3XCkirQ+TwEakKzqbBpjBRTrPj0FSHYLeXP1dh\/TOVvugfVwmC0Xs5u7DCEVRoftJEwDdWCGgRFafYU+yd2d0tDsCuQvVx6bgONdrSdRljIwei5iWOv6ks\/aloHAtBHMWyl4UvOZXs9IAWaYSCbn1jSkfij1bRdba7MPPsQIDAQAB","manifest_version":2,"name":"\u7f51\u9875\u9501","permissions":["notifications","http:\/\/*\/*","https:\/\/*\/*","tabs","cookies","contextMenus"],"version":"1.1"}
文章作者: Shaven
文章链接: http://soxiazai.com/2015/07/24/efjjjgonggmihbgljpmnfhgimakiaadc/
下载(右键另存为)