Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
7146 Visualizzazioni

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
Abbandona
Risposta migliore

Hello Gleb,


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


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mag 25
743
0
nov 24
1390
0
mar 24
1389
1
feb 22
8447
1
mar 20
4666