PageSourceSearch

https://mentalhealthfirstaid.org/app/mu-plugins/mhfa-theme-must-us…/scripts/intercom-prompt-trigger.js?ver=1.0

js mentalhealthfirstaid.org collected 2026-09-24 08:35:55 UTC 393 bytes, 11 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function() {
2    document.querySelectorAll('a.intercom-trigger').forEach(el => {
3        el.addEventListener('click', function(e) {
4            e.preventDefault();
5            const prompt = this.dataset.prompt;
6            if (prompt && window.Intercom) {
7                Intercom('showNewMessage', prompt);
8            }
9        });
10    });
11});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.