Support » Plugin: Exit Notifier » A way to "Whitelist" a site

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

    (@cvscvstechcom)

    Yes there is. On the Behavior tab in settings, uncheck “Apply to all offsite links” and then add the exception to the end of the default selector. For example if your wordpress installation is http://example.com, your default selector should be:

    a[href*=”//”]:not([href*=”example.com”])

    So, if the link you don’t want the exit notification on is google.com, you can simply add that exception to the end like this:

    a[href*=”//”]:not([href*=”example.com”]):not([href*=”google.com”])

    Then no links containing google.com in the URL will have the notifier on it.

    Hope that helps!

    I need this too. I have followed the instructions as outlined here. If I add the code to include the whitelist address it strips everything and doesn’t notify on any of the outside links.

    a[href*=”//”]:not([href*=”myURL.com/”]):not([href*=”theirsecure.URL.com”])

    Any advice? Would really love this to work.

    Thanks.

    Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    Double check the quotes! If you copy/paste from a website, you can get the unicode quotes that don’t work in javascript. So try re-typing your quotes in the field and see if that makes the difference. I have that same variation working on a number of sites, so I believe it should work for you too. If that doesn’t fix it, please let me know and I’ll see what else we can do to get you going.

    Genius, Curtis! That was the problem. I appreciate your help. Love the plugin by the way!

    Plugin Author Curtis V. Schleich

    (@cvscvstechcom)

    So glad you got it working! Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A way to "Whitelist" a site’ is closed to new replies.