ผลต่างระหว่างรุ่นของ "ผู้ใช้:Ans/script"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Ans (คุย | ส่วนร่วม)
+https://www.thairath.co.th/tags/เมนูทีวี
Ans (คุย | ส่วนร่วม)
เมนูทีวี
บรรทัด 13:
"mode": "cors"
})).json()) } console.log('break', a.minTs); return a; })(1500760860)).minTs</source>
<source lang=js>await (async function(a) { a={minTs:a}; let b=[]; for(let i=0; i<100 && 'minTs' in a && a.minTs>0; ++i) { a=await (await fetch("https://www.thairath.co.th/api-tags?tags=%E0%B9%80%E0%B8%A1%E0%B8%99%E0%B8%B9%E0%B8%97%E0%B8%B5%E0%B8%A7%E0%B8%B5&before="+a.minTs, {
"credentials": "include",
"referrer": "https://www.thairath.co.th/tags/%E0%B9%80%E0%B8%A1%E0%B8%99%E0%B8%B9%E0%B8%97%E0%B8%B5%E0%B8%A7%E0%B8%B5",
"method": "GET",
"mode": "cors"
})).json(); console.log(a.minTs, b.push(...a.items.content)) } console.log('break', a.minTs); return b; })(1500760860)</source>
 
== convert date to <nowiki>{{start date|...}}</nowiki> for ==