跳至內容
選單
此問題已被標幟
1 回覆
7200 瀏覽次數

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


頭像
捨棄
最佳答案

Hello Gleb,


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


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
5月 25
793
0
11月 24
1440
0
3月 24
1421
1
2月 22
8497
1
3月 20
4694