I was wondering if this were possible.
I have a very complicated script, that runs on .click.
I want to run the same script without the user clicking as-well – in the instance that the user clicks to a new page with the correct content open – I have done this a thousand times but in this case the normal wont work..
so my question is, can you have a conditional statement that will do something (run a function) if the user has come from a specific page?
or
set off the .click function if in the query string say URL.client_id is present..?
You could do something like: