Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
7153 Prikazi

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


Avatar
Opusti
Best Answer

Hello Gleb,


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


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
maj 25
747
0
nov. 24
1392
0
mar. 24
1389
1
feb. 22
8448
1
mar. 20
4666