views:

25

answers:

1

Hi there ,

i am just curious about one thing. Why isn't there something like an console in the Browser ? I mean such as an -tag or something like that.

This would enhance Web experience by far ( at least for developers ) :D

It should be (tecnically) possible. here are some examples : http://uni.xkcd.com/ ( this is exactly what i mean. but it should not cover the whole screen.. just a small part .. under the (stackoverflow ) questions . golang.org ( real life example,where you can compile your code without installing anything)

This could be a really awesome feature for Stackoverflow :)

A: 

Firebug adds an interactive console to Firefox. You can use JS to interact with the current page, inspect elements, and make dynamic changes on the fly.

Opera and chrome have built-in consoles too. Look in the menu under 'developer tools'

None of these act like a fake operating system like the XKCD one, but I'm not sure that would really be helpful.

If you want a text-like way to interact with web pages, try the lynx web browser. It's a blindingly-fast text only browser that works surprisingly well: http://lynx.browser.org/

Also, you can always 'view' web pages directly from your console. If you're in Linux, just use curl or wget to download the source of any page on the internet, and use your command line tools to view, analyse, and manage. For example, the following code snippet downloads one of my pages and displays all the h2 headers: curl http://www.aharrisbooks.net/pythonGame | grep "h2"

Two pi
-1 Thats absolutely not what i am looking for !
Jai Puri
Downvoting because I don't understand your question? I showed you several different kinds of console, and how to use the unix console to browse pages. If you want a console that actually has access to the operating system, I'm sure that could be created, but I don't think I'd want it, as it would allow direct access to my OS. I like there to be a level of separation between the browser and the OS.
Two pi
The goLang example isn't really a console. It's a text box that sends source code to a program on the server, which returns the result. That's pretty easy to do, and I'm happy to show you how to do that. Maybe if you clarified a little more what you're thinking of, people will be more likely to answer your question. It might also help to be a little more positive to those who do answer your question.
Two pi