• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
    JavaScript
  • Created over 11 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[UNMAINTAINED] Remote JavaScript console for Firefox

fxconsole

fxconsole is a remote Javascript console for Firefox that runs in your terminal:

fxconsole in Terminal

Install

With node.js and the npm package manager:

npm install fxconsole -g

You can now use fxconsole from the command line.

Connecting

Desktop Firefox

  1. Enable remote debugging (You'll only have to do this once)

  2. Open the DevTools. Web Developer > Toggle Tools

  3. Visit the settings panel (gear icon)

  4. Check "Enable remote debugging" under Advanced Settings

  5. Listen for a connection

  6. Open the Firefox command line with Tools > Web Developer > Developer Toolbar.

  7. Start a server by entering this command: listen 6000 (where 6000 is the port number)

Firefox for Android

Follow the instructions in this short Hacks video

FirefoxOS Simulator

This one is a bit hacky right now, and object inspection doesn't work yet, but feel free to try. The .tabs command lists the currently open apps in the simulator.

  1. Install FirefoxOS Simulator in Firefox
  2. Start the Simulator with Tools > Web Developer > Firefox OS Simulator
  3. Get the port the Simulator is listening on with this terminal command: lsof -i -P | grep -i "b2g" in Linux/Mac, or using fx-ports.
  4. Start fxconsole and with the --port argument.

Usage

fxconsole --port 6000 --host 10.251.34.157

Commands

There are two extra REPL commands available beyond the standard node.js commands. .tabs lists the open tabs in Firefox. .switch 2 switches to evaluating in a tab. The argument is the index of the tab to switch to.

More Repositories

1

brain

Simple feed-forward neural network in JavaScript
JavaScript
8,006
star
2

kittydar

Face detection for cats in JavaScript - demo for TXJS 2012 talk
JavaScript
1,419
star
3

replace

Command line search and replace utility
JavaScript
748
star
4

classifier

Bayesian classifier with Redis backend
JavaScript
625
star
5

clustering

K-means and hierarchical clustering
JavaScript
498
star
6

nomnom

Option parser for node with generated usage and commands
JavaScript
470
star
7

hog-descriptor

[UNMAINTAINED] Histogram of Oriented Gradients (HOG) descriptor extractor
JavaScript
169
star
8

glossary

[UNMAINTAINED] Extract terms and keywords from a piece of text
JavaScript
168
star
9

firefox-client

[UNMAINTAINED] Node.js remote debugging client for Firefox
JavaScript
100
star
10

costco

UI for bulk editing CouchDB docs
JavaScript
56
star
11

js-select

[UNMAINTAINED] Traverse and modify objects using JSONSelect selectors
JavaScript
56
star
12

rainbow

Color tools for Firefox
JavaScript
39
star
13

txjs-slides

dzslides deck for my txjs talk
CSS
14
star
14

mac-sounds

Play default OS X sounds from node
JavaScript
9
star
15

bzhome

Bugzilla dashboard
JavaScript
8
star
16

passion-project-slides

Slides for my Passion Projects talk on Machine Learning and JS
JavaScript
7
star
17

tcm

Mozilla's new testcase manager
JavaScript
5
star
18

detect-indent

CSS
5
star
19

searchbugs

Search for Bugzilla bugs by component
JavaScript
4
star
20

test-pages

Testcase websites for devtools
JavaScript
3
star
21

devtools-guide

3
star
22

showsearch

Jetpack that shows search terms in Firefox's awesomebar
JavaScript
3
star
23

firefontfamily

A Firebug extension that highlights the rendered font-family
JavaScript
2
star
24

contextfont

Firefox addon to find fonts on websites
JavaScript
2
star
25

celestial-snips-app

Snips voice assistant that answers celestial questions
Python
2
star
26

mini-devtools

mini in-content devtools
JavaScript
2
star
27

artfulimage

The Artful Image fine printing
2
star
28

bztweaks

mirror of Bugzilla Tweaks Firefox addon (https://bitbucket.org/ehsan/bugzilla-tweaks)
JavaScript
2
star
29

fluent-talk

JavaScript
1
star
30

bugidhelper

Bugzilla bug id linkifier and tooltipifier extension
JavaScript
1
star
31

brooklynjs-slides

Write your own in-content devtools with web APIs
CSS
1
star
32

test-snips-calc

Test Snips Calc Action
Python
1
star
33

harth

harth's no.de code
1
star
34

wwcode

A small website for Women Who Code SF
JavaScript
1
star
35

celestial-jupyter

Jupyter Notebook
1
star
36

test.js

Whatever's in my ~/test.js
JavaScript
1
star