Simple tool for easy markup testing with photoshop-like guides
glines chrome extension Extension
This tool adds photoshop-like guides to the page that makes alignment of blocks easier.
How to use:
1. Click on plugin button at Chrome panel
2. Use dropdown menu or shortcuts to add lines
3. Move lines using mouse or keyboard arrows
4. Drag lines with Ctrl to clone them
5. Delete lines by double click, or remove all using menu
There are some predefined shortcuts:
1. Alt+V to add vertical line
2. Alt+H to add horizontal line
3. Alt+C to add crossline
4. Alt+S to show/hide lines
Release notes
[Nov 23, 2015]
Small improvement: show/hide lines behavior is now more photoshop-like.
[Nov 09, 2015]
Now you can quickly show/hide guides using extension menu or \"Alt+S\" shortcut.
[Oct 30, 2015]
Now extension can ask to allow local files access.
Guide default style is totally photoshop-like.
Small bugfixes.
Read more
How to use:
1. Click on plugin button at Chrome panel
2. Use dropdown menu or shortcuts to add lines
3. Move lines using mouse or keyboard arrows
4. Drag lines with Ctrl to clone them
5. Delete lines by double click, or remove all using menu
There are some predefined shortcuts:
1. Alt+V to add vertical line
2. Alt+H to add horizontal line
3. Alt+C to add crossline
4. Alt+S to show/hide lines
Release notes
[Nov 23, 2015]
Small improvement: show/hide lines behavior is now more photoshop-like.
[Nov 09, 2015]
Now you can quickly show/hide guides using extension menu or \"Alt+S\" shortcut.
[Oct 30, 2015]
Now extension can ask to allow local files access.
Guide default style is totally photoshop-like.
Small bugfixes.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx",\t"manifest_version": 2,\t"name": "glines chrome extension",\t"short_name": "glines",\t"version": "0.0.8.3",\t"description": "Simple tool for easy markup testing with photoshop-like guides",\t"author": "Eugene Zadorin",\t"homepage_url": "https://github.com/eugenezadorin/glines-chrome-extension",\t"icons": {\t\t"16": "images/icon16.png",\t\t"32": "images/icon32.png",\t\t"48": "images/icon48.png",\t\t"128": "images/icon128.png"\t},\t"permissions": [\t\t"tabs",\t\t"storage",\t\t"activeTab",\t\t"" \t],\t"browser_action": {\t\t"default_title": "glines",\t\t"default_icon": "images/icon48.png",\t\t"default_popup": "popup.html"\t},\t"options_ui": {\t\t"page": "options.html",\t\t"chrome_style": true\t},\t"content_scripts": [\t\t{\t\t\t"matches": [""], \t\t\t"js": ["js/glines.js"],\t\t\t"css": ["css/glines.css"]\t\t}\t],\t"background": {\t\t"scripts": ["js/events.js"],\t\t"persistent": false\t},\t"commands": {\t\t"add-vertical-line": {\t\t\t"suggested_key": {\t\t\t\t"default": "Alt+V"\t\t\t},\t\t\t"description": "Add vertical line"\t\t},\t\t"add-horizontal-line": {\t\t\t"suggested_key": {\t\t\t\t"default": "Alt+H"\t\t\t},\t\t\t"description": "Add horizontal line"\t\t},\t\t"add-cross-line": {\t\t\t"suggested_key": {\t\t\t\t"default": "Alt+C"\t\t\t},\t\t\t"description": "Add cross line"\t\t},\t\t"show-hide-lines": {\t\t\t"suggested_key": {\t\t\t\t"default": "Alt+S"\t\t\t},\t\t\t"description": "Show/hide lines"\t\t}\t}}
Read more