Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7650 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
1
thg 5 25
1157
0
thg 11 24
1774
0
thg 3 24
1639
1
thg 2 22
8874
1
thg 3 20
5026