首页 生产工具 ScriptSnap

ScriptSnap

用户数 : 18 分类 : 生产工具 扩展大小 : 102KiB 最后更新时间 : 2013-04-07 版本 : 1.4.2
prev extension banner next extension banner
                            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.
                        
查看更多
下载 如何离线安装? Chrome store

分享

全部评论

    展开更多评论

    错误提示保存失败
    成功提示保存成功
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功
    下载遇到问题?请添加QQ群:398095333
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“脚本”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功