[WebDialog writer's tool] JavaScript Console
-
This is earning its keep.
Bet you wouldn't guess some of the answers its giving in this screenshot.
This is a fragile little hack that does not respond well to malformed JavaScript. Reload after errors.
To install, extract to any handy directory and open the HTML with Chrome, Firefox or Opera.
PC only. Mac? Can be done. Ask here.
-
Theres a javascript console built in to chrome if you were just looking for something for personal use (developer->javascript console, i think.)
If not, a cool little utility
-
@martinrinehart said:
Bet you wouldn't guess some of the answers its giving in this screenshot.
Wasn't aware JS returned
infinity
. -
@remus said:
Theres a javascript console built in to chrome
I've looked at it. Especially looked for the Help button. Have you figured out how to use it?
@thomthom said:
Wasn't aware JS returned
infinity
.That makes two of us.
And if Jim stops by, maybe he could tell me how to synch the textarea size to the page size. Jim?
-
No idea how it works myself, my javascript skills can currently be summed up with the phrase 1+2, so i dont really know hows its meant to work. having said that it looks fairly fully featured compared to the ruby console options available for SU.
-
@remus said:
No idea how it works myself, my javascript skills can currently be summed up with the phrase 1+2...
Later this weekend, maybe tomorrow!, I'll announce Chapters 18 and 19 of my tutorial: 18==HTML/CSS, 19==JavaScript/WebDialogs. Recruiting people who want to learn more.
@remus said:
it looks fairly fully featured compared to the ruby console options available for SU.
It looks great. It also looks like they forgot that only in their offices can you just lean over and ask the person in the next cube how to use it. I leaned over and asked my pet Python, Monty. He just said, "If you waste your time writing Ruby, you'll never learn."
-
Again, I have to recommend Firebug Lite. It has a full featured Javascript console plus HTML DOM and CSS browsers. It works on IE, Safari, Firefox and Chrome and you can add it to any HTML doc with only one (long) line:
<a href="javascript:var firebug=document.createElement('script');firebug.setAttribute('src','http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug);">Firebug Lite</a>
Advertisement