I have a site I\'m working on. I need to be able to perform a specific function if the URL matches a specific URL. Here\'s an example of what I\'m trying to do:
If
You seem to be looking for the location object, which contains information about the URL of the current page.