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
Denna fråga har flaggats
1
Besvara
9660
Vyer
Hello Gleb,
In Js you can get the current url by window.location.
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
1
feb. 26
|
1968 | ||
|
|
0
nov. 24
|
3603 | ||
|
|
0
mars 24
|
3041 | ||
|
|
1
feb. 22
|
10658 | ||
|
|
1
mars 20
|
6386 |