Title: Multiple Exit Notices &#8211; Solution
Last modified: September 13, 2018

---

# Multiple Exit Notices – Solution

 *  Resolved [straitdank](https://wordpress.org/support/users/straitdank/)
 * (@straitdank)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/multiple-exit-notices-solution/)
 * We remade a site that had this plugin previously installed. I was being lazy 
   and didn’t want to research and configure a new plugin to add some functionality
   for multiple exit notifications. This has been tested on Chrome and Internet 
   Explorer (the problem child).
 * Simply add the class “external-link” to any of your anchor `<a>` tags that require
   an alternative exit notifier and then paste the following snippet on the bottom
   of the page (requires a scripting area – I recommend SOGO Header and Footer):
 *     ```
       //Script to change external links
   
       var externalLinks = document.getElementsByClassName('external-link');
   
       for (var i=0;i<externalLinks.length;i++){
         externalLinks[i].addEventListener('click', function(){
          setTimeout(function(){
              document.getElementsByClassName("ja_title")[0].firstElementChild.innerText = 'Whatever title text you want';
              document.getElementsByClassName("ja_body")[0].firstElementChild.innerText = 'Whatever body text you want.'
          } ,100);
         })
       }
       ```
   
    -  This topic was modified 7 years, 8 months ago by [straitdank](https://wordpress.org/support/users/straitdank/).
    -  This topic was modified 7 years, 8 months ago by [straitdank](https://wordpress.org/support/users/straitdank/).
    -  This topic was modified 7 years, 8 months ago by [straitdank](https://wordpress.org/support/users/straitdank/).
    -  This topic was modified 7 years, 8 months ago by [straitdank](https://wordpress.org/support/users/straitdank/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Curtis V. Schleich](https://wordpress.org/support/users/cvscvstechcom/)
 * (@cvscvstechcom)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/multiple-exit-notices-solution/#post-10685930)
 * Excellent! Thanks so much for sharing! I’ll try to incorporate that change into
   the next (long overdue) version.
 *  Thread Starter [straitdank](https://wordpress.org/support/users/straitdank/)
 * (@straitdank)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/multiple-exit-notices-solution/#post-10686338)
 * No problem 🙂 Thanks for providing us a plugin
 *  Thread Starter [straitdank](https://wordpress.org/support/users/straitdank/)
 * (@straitdank)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/multiple-exit-notices-solution/#post-10686350)
 * Also I’m up for being a contributor if you need some help

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multiple Exit Notices – Solution’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/exit-notifier_f9f9f9.svg)
 * [Exit Notifier](https://wordpress.org/plugins/exit-notifier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/exit-notifier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/exit-notifier/)
 * [Active Topics](https://wordpress.org/support/plugin/exit-notifier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/exit-notifier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/exit-notifier/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [straitdank](https://wordpress.org/support/users/straitdank/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/multiple-exit-notices-solution/#post-10686350)
 * Status: resolved