Need help with condition

Support
  • Hello, I need some help with conditions.

    How can I do to create a script that makes :

    If URL is google.com : do "serie of actions number 1"
    If URL is facebook.com : "serie of actions number 2"
    If URL is youtube.com : "serie of actions number 1"

    My script is about a link that is opened and open a random page, and I need to create a script that detect the page and do different action on different pages.

    Please help me :)
    Thank you

  • @Gotgot99 said in Need help with condition:

    Hello, I need some help with conditions.

    How can I do to create a script that makes :

    If URL is google.com : do "serie of actions number 1"
    If URL is facebook.com : "serie of actions number 2"
    If URL is youtube.com : "serie of actions number 1"

    My script is about a link that is opened and open a random page, and I need to create a script that detect the page and do different action on different pages.

    Please help me :)
    Thank you

    if [[URL]] == "https://www.google.com"
    if [[URL]] == "https://www.facebook.com"
    if [[URL]] == "https://www.youtube.com"