Skip to main content
Known Participant
September 24, 2010
Question

Adding Javascript code to every RoboHelp page

  • September 24, 2010
  • 2 replies
  • 658 views

Hi, I have a tracking software that generates a javascript code that I need to add the web pages. Does anyone know how to automatically add this code to the hundred plus pages in RoboHelp? Is there a global setting that can apply this code to every page or is the only option to manually add the code?

Thanks Much

This topic has been closed for replies.

2 replies

Known Participant
September 2, 2021

Thanks for sharing this solution - I also took that way for a cookie management tool embedding but during output generation, that script is put into the <head> twice.

Does anyone know how to avoid that?

 

RoboHelp 2020 on Windows, Frameless output (HTML5).

Captiv8r
Legend
September 24, 2010

Hi there

You could create a Master Page/Topic Template and define a Header or Footer that contains the code. Then you could select all the topics and associate the Master Page/Topic Template with all the topics to rapidly propagate the code.

Cheers... Rick

Helpful and Handy Links

RoboHelp Wish Form/Bug Reporting Form

Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!

Adobe Certified RoboHelp HTML Training

SorcererStone Blog

RoboHelp eBooks