79494866

Date: 2025-03-08 18:56:44
Score: 1.5
Natty:
Report link

we can take advantage of the base parameter of the URL constructor

window.location.href = (new URL("/newQS?string=abc", window.loaction)).href
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RoboProgramer2012