Jump to content

Checking to see if URL includes something... how do I do this?


Snorkel

Recommended Posts

I need a simple script that checks if the URL includes a specific string of text, and if it does, do something, if it doesn't, do something else. I know this can be accomplished with an if/else function, which I can do, but I don't know how to do the checking the URL part.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.