Skip to Content
Menu
This question has been flagged
1 Reply
7680 Views

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
Discard
Best Answer

Hello Gleb,


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


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Discard
Related Posts Replies Views Activity
1
May 25
1183
0
Nov 24
1811
0
Mar 24
1656
1
Feb 22
8888
1
Mar 20
5039