Chrome Mouse Gesture Extension 鼠标手势扩展用法:在网页上,按住鼠标右键,拖动鼠标,划出对应的轨迹后,松开右键即可执行对应的动作。 如:按下右键,划出“下右”轨迹,松开右键 - 关闭当前标签目前由于Chrome对扩展功能的一些限制,鼠标手势仅能在http, https协议的网页上生效,在空白页,Chrome功能页上无效。另外,鼠标手势扩展自身还有很多小问题,我们会在后续逐步改进。 Read more
Source Manifest.json { "background": { "page": "background_page.html" }, "content_scripts": [ { "all_frames": true, "js": [ "js/gestures.js" ], "matches": [ "http://*/*", "https://*/*" ], "run_at": "document_start" } ], "default_locale": "en", "description": "Use mouse gesture in chrome browser.", "icons": { "128": "img/logo_128.png", "16": "img/logo_16.png", "32": "img/logo_32.png", "64": "img/logo_64.png" }, "name": "Chrome Mouse Gesture", "options_page": "options.html", "permissions": [ "tabs", "http://*/*", "https://*/*" ], "update_url": "http://clients2.google.com/service/update2/crx", "version": "2.0.1.1", "manifest_version": 2, "minimum_chrome_version": "18", "web_accessible_resources": ["img/down.png", "img/left.png", "img/right.png", "img/top.png", "img/topbg.gif", "img/up.png", "img/logo_128.png", "img/logo_64.png", "img/logo_32.png", "img/logo_16.png", "img/logo_en.gif", "img/logo_zh_cn.gif"]} Read more