Open main menu
Home
Random
Log in
Settings
About The Coppermind
The Coppermind
Search
Difference between revisions of "User:Fbstj/gadget/history-test.js"
← Older edit
Newer edit →
User:Fbstj/gadget/history-test.js
(view source)
Revision as of 11:41, 22 June 2018
16 bytes added
,
6 years ago
m
try this
Revision as of 11:40, 22 June 2018
(
view source
)
Fbstj
(
talk
|
contribs
)
m
(try this)
← Older edit
Revision as of 11:41, 22 June 2018
(
view source
)
Fbstj
(
talk
|
contribs
)
m
(try this)
Newer edit →
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);
Fbstj
Synod
,
Interface administrators
,
Keepers
40,275
edits