Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7446 มุมมอง

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


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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
พ.ค. 25
997
0
พ.ย. 24
1612
0
มี.ค. 24
1548
change URL of default module แก้ไขแล้ว
1
ก.พ. 22
8688
1
มี.ค. 20
4860