Load index file

Run Settings
LanguageJavascript
Language Version
Run Command
console.log("scriptus.js it's simple script"); console.clear(); console.log("scriptus.js it's simple script"); console.log("It's for working with VKontakte API"); console.clear(); console.log("scriptus.js it's simple script"); console.log("It's for working with VKontakte API"); console.log("Using this script u'll see the photos of your friends in this 'Social Network'"); console.log("Using JSON requests u can easily use this API"); console.clear(); console.log("scriptus.js it's simple script"); console.log("It's for working with VKontakte API"); console.log("Using this script u'll see the photos of your friends in this 'Social Network'"); console.log("Using JSON requests u can easily use this API"); console.log("Follow me in Twitter: http://twitter.com/mrcat323"); console.log("I'm in VK: http://vk.com/mrcats_empire");
function doIt(){ /* VK.api('метод', {параметр: "значение"}, callback функция{ // работаем с полученными данными }); */ VK.api("friends.get", {fields: "photo_medium"}, function(data) { // Действия с полученными данными for(c=0;c<data.response.length;c++){ $("body").append("<img src='"+data.response[c].photo_medium+"'>"); } }); } $(document).ready(function(){ doIt(); });
Editor Settings
Theme
Key bindings
Full width
Lines