- card-click v2: ตรวจว่าคลิกอยู่ใน parent ของลิงก์ "ดูรายละเอียด" (= กล่อง bg-[#1B1B1B]) · คลิกรูป/พื้นที่ด้านบนการ์ด → ไม่ทำอะไร · คลิกกล่องข้อความ (km./ชื่อ/ที่ตั้ง/tag/ช่องว่าง) → เปิดหน้าโรงหนัง · ปุ่มแชร์ยังทำงานเอง - cursor: pointer เฉพาะกล่องข้อความ (article = auto) - ลบ card-click.v1.js · อัปเดตแท็กใน 64 หน้า · sw VERSION v2.1.4 + precache v2 - docs/card-clickable.md: อธิบายขอบเขตการคลิกด้วยโครงสร้าง DOM จริง
15 lines
963 B
HTML
15 lines
963 B
HTML
<!doctype html><meta charset="utf-8"><title>กำลังพาไป…</title>
|
|
<link rel="canonical" href="/cinema/wednesday-shine">
|
|
<meta http-equiv="refresh" content="0; url=/cinema/wednesday-shine">
|
|
<script>location.replace("/cinema/wednesday-shine")</script>
|
|
<a href="/cinema/wednesday-shine">ไปที่หน้าโรงหนัง</a>
|
|
<script data-static-export-nav>(()=>{
|
|
document.addEventListener("click",(event)=>{
|
|
if(event.defaultPrevented||event.button!==0||event.metaKey||event.ctrlKey||event.shiftKey||event.altKey)return;
|
|
const anchor=event.target instanceof Element?event.target.closest("a[href]"):null;
|
|
if(!anchor||!anchor.getAttribute("href").startsWith("/")||anchor.target&&anchor.target!=="_self"||anchor.hasAttribute("download"))return;
|
|
event.preventDefault();
|
|
event.stopImmediatePropagation();
|
|
location.assign(anchor.getAttribute("href"));
|
|
},true);
|
|
})();</script><script src="/assets/card-click.v2.js" defer></script> |