Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
7137 Näkymät

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
Hylkää
Paras vastaus

Hello Gleb,


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


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
toukok. 25
733
0
marrask. 24
1384
0
maalisk. 24
1383
1
helmik. 22
8425
1
maalisk. 20
4659