GoToAnywhere is Chrome extension that allows you to launch actions quickly using auto-complete pop-up. Actions include switching tabs, opening browser links, etc.
- Install
npm install
gulp
Or...
npm install
npm run dev
npm run prod
The resulting app will be in webapp/
folder.
- Open chrome://extensions, then Drag and Drop
webapp/
folder into it. - Click
Ctrl+Shift+A
and type something (e.g. a browser tab name). - Enjoy!
The extension consists of two entry points:
popup.js
: contains code that exposes auto-complete field and syncs it with the db. Also includes the logic of populating the db with the global browser actions like tab names, etc.page.js
: content script, which is injected into each browser tab by Chrome. Its goal is to parse tab's content and populate the db.
The permissions and set-up of the extension are specified in manifest.json
(used by Chrome to properly integrate the extension).
To debug extension code (popup.js
etc.), right-click on the browser extension icon and choose Inspect popup
.
The content scripts (page.js
) are debugged from main browser console: go to Sources > Content Scripts tab.
- webpack + gulp
- jQuery, select2 widget
- lodash templates
- Native chrome.* APIs
- Jan. 16, 2017: First prototype. Added basic support for browser tab switching.