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
官方網址 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"
}