Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nisaacson/imacros-get-to-first-tab
Switches to the first tab in iMacros for firefox and loads all others
https://github.com/nisaacson/imacros-get-to-first-tab
Last synced: about 1 month ago
JSON representation
Switches to the first tab in iMacros for firefox and loads all others
- Host: GitHub
- URL: https://github.com/nisaacson/imacros-get-to-first-tab
- Owner: nisaacson
- Created: 2013-03-16T02:02:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-31T13:59:41.000Z (almost 11 years ago)
- Last Synced: 2024-10-04T12:38:27.213Z (about 1 month ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Switches to the first tab in iMacros for firefox and closes all others
# Usage
Load the `./dist/get-to-first-tab.js` javascript file in the iMacros window inside Firefox.
# Developing
The source uses `require(...)` statements to simplify the code structure. To make changes and load the new file in Firefox, the javascript source must first be bundled into a single file. An easy way to do this is to use the `browserify` module
```bash
npm install -g browserify # install browserify globally
cd /path/to/this/repo
make bundle
# or execute directly, skipping the makefile
# browserify index.js -o ./dist/get-to-first-tab.js
```