Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6376 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Gleb,


In Js you can get the current url by window.location.


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 24
599
0
thg 3 24
771
1
thg 2 22
7622
1
thg 3 20
3968
0
thg 3 15
3939