User:Mpaa/Scripts

Sandbox for scripts

=Language=

javascript
<!DOCTYPE html>  Java    var pippo=[]; function process_json(data){ $.each(data['query']['backlinks'], function(i, item){			pippo.push(item['title']);		}); }	function write_data{ $('body').append(' ' + pippo.join(' ')); }

function go{ $.getJSON(           'http://en.wikisource.org/w/api.php?action=query&list=backlinks&bltitle=Popular_Science_Monthly/Volume_42&bllimit=500&format=json&callback=?',            function (data) {				process_json(data);                write_data;            }        ) }   Click!