開いている輪郭のソースを取得するスニペット
(async ()=>{
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const fgParam=urlParams.get("fg");
const querySrcUrl=`/${fgParam}?dln&fmt=src`;
const url = `https://dlt.kitetu.com${querySrcUrl}`
console.log(url);
const response = await (await fetch(new Request(url))).text();
console.log(response);
})();