Advertisement
Chriser_

Untitled

Apr 27th, 2023
693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var body = $respone.body;
  2.  
  3. function getQueryString(pfurl) {
  4.   const url_string = window.location.href;
  5.   const url = new URL(url_string);
  6.   return url.searchParams.get(pfurl);
  7. }
  8. $done({body:location.href=getQueryString('pfurl')})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement