In js and in python, it will return the previous url all time, but when I display this in the console, I can look at the current address stored in the class. How do I get the current page address, or is it a security restriction?
Python
http.request.httprequest
JS
window.location.href
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
9557
มุมมอง
Hello Gleb,
In Js you can get the current url by window.location.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
System redirect to a wrong url
แก้ไขแล้ว
|
|
1
ก.พ. 26
|
1968 | |
|
|
0
พ.ย. 24
|
3507 | ||
|
|
0
มี.ค. 24
|
2959 | ||
|
change URL of default module
แก้ไขแล้ว
|
|
1
ก.พ. 22
|
10596 | |
|
|
1
มี.ค. 20
|
6344 |