Can anyone help with a bit of code?
In work, I access our internal ordering system regularly throughout the day. I have to search for an invoice number and then when it returns the line in the system, I have to click it and then view the invoice in the customer's currency of order.
I've found that the URL, once I eventually get to where I want to be, is standardised. It looks something like this:
https://mycompany.com/secure/order/64128647?currency=customerI'd like to make a bookmarklet which, when I click it:
1. Gives me a pop-up asking which invoice I'd like to view
2. Once I enter the invoice number in the popup, will populate the URL with the relevant number, taking me to where I need to be (saving me loads of clicks)
Hope that makes sense.
Would anyone know the javascript which could help me do this?
EDIT: Never mind, my first ever use of ChatGPT solved this for me. Amazing stuff.