Bookmarklet insert parameter from URL into search url in new tab

  bookmarklet, crm, javascript, variables

A Customer relationship manager system that I use has the account numbers displayed in the URL in this format, "Get?accountNumber=" with the account number after the =. What I would like to do is be able to parse the account number from the URL and then search for it in other ticketing systems that we have where the account is a search operator.

I have tried to find something that I could just modify to to do this, but so far, I have not been successful.

Thank you for any help you can provide.

Source: Ask Javascript Questions