This project is read-only.

Script appearing before the final </form> tag on DNN


Hi Will -
I've installed the script injector ok and its working fine - however its not putting the script just before the </body> tag correctly.
If you see here: (a test form)
When looking at the source there is a final </form</body> at the end of the html which i believe breaks my script:
<script type="text/javascript" src=""></script> <script type="text/javascript">__sfga();</script>
Salesforce needs this script to be before the </body> and not in a form... Any ideas?
Kind regards


hismightiness wrote Sep 17, 2009 at 4:16 PM

I want to create a handler to allow this to happen, which would also give us more control over where in the page ANY injection can happen.

wrote Sep 17, 2009 at 4:19 PM

hismightiness wrote Jul 21, 2011 at 1:15 AM

Does it matter to you if the injection happens client or server side? For example, can the injection move positions after the page loads, but before the code executes?

wrote Jul 21, 2011 at 1:21 AM

wrote Feb 22, 2012 at 5:48 AM

wrote Feb 14, 2013 at 1:35 AM

hismightiness wrote Aug 31, 2015 at 6:16 AM

If this is still an issue, please create a new one at the location below, and include any screenshots, versions, and errors as necessary.

wrote Nov 29, 2017 at 11:51 PM