$(document).ready(function () { $.ajax({ dataType: "json", url: "http://"+window.location.hostname+"/db.json", headers: { "Accept": "application/json"}, success: function (res) { let strCatalog = ""; res.forEach(manga => { strCatalog += '
'+manga["title"]+'
\Scanlation: ?
\Status: ?
\Chapters: ?
\Last update: ?
\\ Link:\ reader\
\