1

Does anyone know of any console emulator (preferably made in javascript or jquery) that would allow me direct access to the browsers javascript console that would be found in the developers tools in chrome for example? I have been using jq-console but that only emulates a terminal, very useful so far. However it only emulates a terminal and doesn't provide access to the browsers js console. I need this so that users have a front-end web based access to the console without having to open the developer tools or something similar, so they have access to the variables and objects available in the browsers js console. I had thought of loading the data into the memory of the jq-console instance however i think this would be a cumbersome process and i don't really know how to go about doing it without the information being directly entered into the jq-console instance. any help or guidance would be greatly appreciated. thanks in advance!

12
  • 2
    Any reason you can't actually use the dev console itself? Commented Jan 7, 2013 at 15:50
  • Did you look into the console instance and what methods it has? Commented Jan 7, 2013 at 15:52
  • 1
    What are you trying to achieve? Commented Jan 7, 2013 at 15:54
  • What's a javascript terminal? Do you mean console? Commented Jan 7, 2013 at 15:55
  • 3
    I would hope that any user capable of learning javascript is able to press F12 or Ctrl-Shift-J in any modern browser. :) Commented Jan 7, 2013 at 16:14

1 Answer 1

1

direct access to the browsers javascript console

No. Not without opening the console manually, and also you cannot do much more than logging messages. Any emulator will not use the native console.

web-based front end console at CodeAcademy.com

Have you looked at their source code? You can write such one yourself, too. Or have a look at EloquentJavaScript's console script (using Mochi and Codemirror).

a browser console

…is not possible without only emulating it. However, you can use FirebugLite for that, which promises the same look-and-feel as the native Firebug. Also, Opera's Dragonfly is written in JS, and it is released as open source so you might adapt (parts of) it.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.