Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By fieldway on
Hi
I'm trying to add SpeakPipe to my site. It say you must enter the codes before the code of the html page. I create a block and selected the source code and add as below, but didn't work. i also selct the full html in text format.
have anybody got this working on Drupal
(function(d){ var app = d.createElement('script'); app.type = 'text/javascript'; app.async = true; var pt = ('https:' == document.location.protocol ? 'https://' : 'http://'); app.src = pt + 'www.speakpipe.com/loader/oetsrgy8b223ymxy1ysz4n4x7r2o9yx7.js'; var s = d.getElementsByTagName('script')[0]; s.parentNode.insertBefore(app, s); })(document);
test
Thanks