Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
7196 Visualizações

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
Cancelar
Melhor resposta

Hello Gleb,


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


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mai. 25
788
0
nov. 24
1433
0
mar. 24
1410
1
fev. 22
8492
1
mar. 20
4692