You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a crawler. In order to crawl to the jumps in js, I used regular expressions to extract the jump information in js. However, this matching method cannot obtain complex js jumps, so I want to improve it through js semantic recognition. Accuracy
The text was updated successfully, but these errors were encountered:
chushuai
changed the title
How to obtain the values of jump related variables such as window. location. ref?
How to obtain the values of jump related variables such as window.location.href?
Nov 8, 2023
I wrote a crawler. In order to crawl to the jumps in js, I used regular expressions to extract the jump information in js. However, this matching method cannot obtain complex js jumps, so I want to improve it through js semantic recognition. Accuracy
Below is my regex:
For the following piece of JS code, it is obvious that the jump cannot be extracted through regular expressions:
<script>window.onload=function(){ url ='/webui';window.location.href=url;}</script>
The text was updated successfully, but these errors were encountered: