Support » Plugin: Exit Notifier » Exit Notifier On All but One Link Not Working

  • Resolved steve2017

    (@steve2017)



    I’m having the opposite issue as dnoble94. I have unchecked “Apply to all offsite links”, I have set the “jQuery Selector” to a[href*=”//”]:not([href*=”http://camino.kwsmdesign.com/”]):not([href*=”https://onlinebanking.caminofcu.org/caminofederalcredituniononline_41/uux.aspx#/login”]), saved changes and the exit notifier is still showing up when I click on the login link at the top right of the header. According to the custom code, there should be no notification.

    http://camino.kwsmdesign.com/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    Try taking out the http:// and https:// and tell me if that works. The *= means essentially “is in,” so the protocol part of the URL doesn’t need to be in there.

    Hi Curtis, thanks very much that worked. I changed the code to the snippet below and the one offsite link does not show the EN. However, now we do get the exit notifier when we click on our logo that links to the homepage? Of course, that’s not what we want. Any thoughts?

    Code I have added to the Exit Notifier settings:

    a[href*="//"]:not([href*="camino.kwsmdesign.com/"]):not([href*="onlinebanking.caminofcu.org/"])

    Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    Ha! This one had me stumped for far too long. Check out your selector:

    a[href*="//"]:not([href*="camino.kwsmdesign.com/"]):not([href*="onlinebanking.caminofcu.org/"])

    And then the link for the logo:

    <a class="brand logofont exitNotifierLink" href="http://camino.kwsmdesign.com" title="Camino Federal Credit Union">

    Take out the trailing / in the selector and you’ll have what you’re looking for.

    Let me know if that does it for you!

    • This reply was modified 1 year, 6 months ago by  Curtis V. Schleich. Reason: Formatting

    Haha!! I’m so sorry, I copy / pasted the link into sublime text and checked and double checked for anything that looked weird before posting too! It’s always the small things, huh?

    It works perfect, and that was our last task before client review. Yew!

    Thanks very much for your help!
    Steve

    Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    Awesome! Good luck with the client review. Glad I could be of help. Blessings!

    CVS

    Hi Curtis,
    just found this discussion. I´m looking for a solution the other way.
    So only active popup for one external domain that i link to. I guess i have to do this within the first part of the code, but can´t get it to work.

    It would be awesome if you could help me out 🙂
    Nikolas

    Example: a[href*=”URLTOSHOWPOPUP”]:not([href*=”MYWORDPRESS”])

    Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    Hi, Nikolas! I’m glad to help! If you start a new support request rather than adding onto a resolved thread, I’ll see it faster. Just FYI for the future…

    Your basic idea is right. Can you tell me the URL of the site so I can take a look?

    Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    Make sure you’re not including the http:// or https:// part of the URL…

    THX Curtis! It´s working now 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Exit Notifier On All but One Link Not Working’ is closed to new replies.