Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
7301 Переглядів

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 Відповіді Переглядів Дія
1
трав. 25
895
0
лист. 24
1489
0
бер. 24
1484
1
лют. 22
8559
1
бер. 20
4757