ช่วยเรื่อง javascript redirect หน่อยครับ (เซียนๆเข้ามาตอบเลยครับ)

เริ่มโดย tae861, 23 มิถุนายน 2016, 14:03:37

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

tae861

จะใช้ javascript redirect
<META HTTP-EQUIV="Refresh" CONTENT="5;URL=loginbox.php">

คืออยากจะทำระบบ vip แต่ไม่อยากใช้ header redirect อะครับเพราะต้อง echo ข้อมูลมาแสดงก่อน
แต่ติดที่ว่าบางคนใช้วิธีการ block js ไม่ให้ code javascript ทำงาน เรามีวิธีแก้ไขยังไงได้บ้างครับ

tarllovemint

PHP
header("Location: http://www.target.xyz");

Javascrupt
<script type='text/javascript'>window.location.href = "http://www.target.xyz";</script>

HTML
<meta http-equiv="refresh" content="0; url=http://www.target.xyz" />

นึกออกเท่านี้ครับ
[direct=https://speed-manga.com]อ่านมังงะ[/direct]

rapiz

<noscript>
<meta http-equiv="refresh" content="5; URL=http://www.rapizhost.com" />
</noscript>

ปกติ Block Javascript โค๊ด Redirect ด้านบนยังใช้งานได้อยู่นะ ใน Chrome
Web Hosting,Reseller Hosting ราคาถูกเริ่มต้นแค่ 200฿ ต่อปีเท่านั้น!
VPS Linux, Windows (*ฟรี Direct Admin*) เริ่มต้นแค่ 700฿ ต่อเดือนเท่านั้น
รับเขียน Application บน Windows, Linux ด้วยทีมงานมืออาชีพ!!
สนใจ สมัครบริการด้านบน http://www.rapizhost.com
ติดต่อ 091-7733660 (24ชม.) Line ID : @rapizhost

toom32