ScriptSnap

Reduce time spent on mundane tasks by assigning execution of any JavaScript code to keystrokes.

什么是ScriptSnap?

ScriptSnap是由keleran开发的Chrome扩展程序,该扩展的主要功能是“Reduce time spent on mundane tasks by assigning execution of any JavaScript code to keystrokes.”。

扩展截图

screenshot
screenshot
screenshot
screenshot
screenshot

下载ScriptSnap扩展crx文件

下载ScriptSnap扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        With this extension you can execute any JavaScript code by pressing a few buttons on your keyboard. Those JS snippets can be arranged into groups with unlimited nesting, and there is a nice UI to navigate through. Convinient editor and jQuery-like syntax for your code are another cool features.

It would be easier to understand how these JS shortcuts works, if you just install extension, take a look at it's settings and try out default config.

Quick start: install, then open any page (http://example.com is a good one) and press "E", "O", "Enter" on your keyboard.

Please note: it will not work on any special pages, like new blank page, extensions list, etc., and Chrome Webstore - it's a browser restriction.

Permission to read your data on all websites needed solely for inserting keypress listener.

This extension has an open source code, it can be found at https://github.com/dchekanov/scriptsnap.

Suggested usage:

1. Bookmarks: simple (just static URL), smart (URL dependent on current URL and/or page content), parameterized (URL with parameters values taken from user input), mixed (parameterized with extra logic).
2. Page content and look modification: transform page in any way you may need to simplify your job.
3. Small helping scripts, like calculations based on predefined formulas with variables dependent on page properties and user input.
4. Server interaction via AJAX.

Details on how it works:

Keystroke may be a sequence of any english letters and numbers 0-9. Each step in that sequence can have a JS code binded (optionally with field for user input) or serve as a container.

There is an UI to aid orienting in available keystrokes. It will be shown at left top corner. Keystokes will be represented in a nested lists, with each element consisting of title and corresponding key. Ones having code binded to them will have an ↳ symbol. If there is an input field, there will be an ↦ symbol, as well as some tip for what you are expected to type in. Branches will expand dynamically as you press keys. Current keystoke will be highlighted. Binded code can be executed and input be passed by pressing Enter.                    

扩展基本信息

名称 ScriptSnap ScriptSnap
ID mcbohdalkkoclbhddnpnjbknlcmjkcep
官方URL https://chromewebstore.google.com/detail/scriptsnap/mcbohdalkkoclbhddnpnjbknlcmjkcep
简介 Reduce time spent on mundane tasks by assigning execution of any JavaScript code to keystrokes.
文件大小 103 KB
安装次数 22
当前版本 1.4.2
更新时间 2013-04-07
上架时间 2013-04-07
评分 5.00/5 共1次评分
开发者 keleran
电子邮箱 [email protected]
付费类型 free
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "description": "Reduce time spent on mundane tasks by assigning execution of any JavaScript code to keystrokes.",
    "background": {
        "scripts": [
            "background\/js\/background.js"
        ]
    },
    "name": "ScriptSnap",
    "permissions": [
        "storage",
        "tabs"
    ],
    "options_page": "options\/options.html",
    "icons": {
        "48": "icons\/icon48.png",
        "128": "icons\/icon128.png"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "content\/js\/zepto.js",
                "content\/js\/content-script.js"
            ],
            "css": [
                "content\/css\/ui.css"
            ]
        }
    ],
    "manifest_version": 2,
    "version": "1.4.2"
}