Skip to Content
Menu
This question has been flagged
1 Atsakyti
7134 Rodiniai

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


Portretas
Atmesti
Best Answer

Hello Gleb,


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


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
geg. 25
732
0
lapkr. 24
1383
0
kov. 24
1380
1
vas. 22
8421
1
kov. 20
4658