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
This question has been flagged
1
Odpovědět
9508
Zobrazení
Hello Gleb,
In Js you can get the current url by window.location.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
System redirect to a wrong url
Vyřešeno
|
|
1
úno 26
|
1968 | |
|
|
0
lis 24
|
3397 | ||
|
|
0
bře 24
|
2914 | ||
|
change URL of default module
Vyřešeno
|
|
1
úno 22
|
10552 | |
|
|
1
bře 20
|
6334 |