Inserting something before </body> tag

Core Freedom

Well-known member
I would like to insert the speakpipe "call me" button on every page of the forum. The instructions say to insert this code before the </body> tag but I don't know where to find that tag or if it would mess with the templates. I have successfully installed it on a page when creating a new node and it works but I'd like to install it once so it shows up on every page. Can this be done?

<!-- Begin SpeakPipe code -->
<script type="text/javascript">
var app = d.createElement('script'); app.type = 'text/javascript'; app.async = true;
var pt = ('https:' == document.location.protocol ? 'https://' : 'http://');
app.src = pt + '';
var s = d.getElementsByTagName('script')[0]; s.parentNode.insertBefore(app, s);
<!-- End SpeakPipe code -->


in memoriam 1991-2020

This isn't guaranteed to work in every page if an add-on you use decides to use a different page. This template, I believe, is in use for all standard XF pages

Core Freedom

Well-known member
So cool! It works, it shows up on every page now! People were complaining that they didn't know how to contact me (the 'contact us' button at the bottom right is too small for htem).

You can check it here, right side. So proud. Thanks for your help!