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
La domanda è stata contrassegnata
1
Rispondi
9542
Visualizzazioni
Hello Gleb,
In Js you can get the current url by window.location.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
System redirect to a wrong url
Risolto
|
|
1
feb 26
|
1968 | |
|
|
0
nov 24
|
3497 | ||
|
|
0
mar 24
|
2950 | ||
|
change URL of default module
Risolto
|
|
1
feb 22
|
10591 | |
|
|
1
mar 20
|
6342 |