Avatar 孙宁 / Sun Ning / Sunng

Web developer, Java software developer, Linux desktop user, OpenSource commiter, FOSS fan;

Main Techniques: Java(EE) / Python / Groovy / JavaScript / HTML / CSS ...

My Blog ->

map

? loading in progress

Sunng's JavaScript Console

This is a simple javascript console. The default environment is Mootools1.2 and your current browser ().
You can type javascript expression in the text field and press 'enter' to execute. Some build-in functions are provided, see the description below and click each. Enjoy this small tool !

Classicning7.blog()
Display my blog rss content.
Classicning7.lifeStream()
Display a mixed message list from yahoo pipe.
Classicning7.fanfou(count, id, friends)
@param count(optional, default:10) message count per fetch
@param id(optional, default:'classicning') whose fanfou messages
@param friends(optional, default:false) display friends messages or not
Display fanfou messages. In fact I cannot display some users because their privacy settings.
Classicning7.twitter()
Display my twitter messages.
Classicning7.douban(startIndex, maxResults, id)
@param startIndex(optional, default:0) the first message index in this fetch
@param maxResults(optional, default:15) message count per fetch
@param id(optional, default:'classicning') whose douban messages
Display douban miniblog messages.
Classicning7.yahoo(key, start, results)
@param key(required) the key to search
@param start(optional, default:0) the first item's index
@param results(optional, default:10) results count
Search yahoo.
Classicning7.geoname(placename, maxResults)
@param placename(required) the key to search
@param maxResults(optional, default:15) results count
Find a place by free and open data service "GeoNames" & "OpenStreetMap".
Classicning7.clifu()
Retrieve cool commands from commandlinefu.com
Classicning7.shortenurl(url)
@param url(required) url to shrink
Shrink long url to a portable length, using bit.ly
Classicning7.load(url)
@param url(required) your script url
Load your own javascript file into the environment, then you can do everything in your familiar way.
Classicning7.clear()
Clean the content box and hide it as beginning.
Classicning7.enableDnD()
Enable drag and drop behavior of the main box .

© 2004-

Updated at