Difference between revisions of "User:Fbstj/gadget/history-test.js"

Jump to navigation Jump to search
m (try this)
m (try this)
const entry = page_name.split('-')[1];
const url = 'https://wob.coppermind.net/api/entry/'+ entry +'/';
fetch(url).then(reps =>function(resp){return resp.json();}).then(function (json) {;
// deal with response;
console.log('fetched '+url);