Skip to main content
adganguly
Participant
August 17, 2018
Question

When I am trying to open some of my books in Google Chrome some topics are not opening, how to I resolve this?

  • August 17, 2018
  • 2 replies
  • 900 views

When I am trying to open some of my books in Google Chrome some topics are not opening, how to I resolve this?

    This topic has been closed for replies.

    2 replies

    Inspiring
    August 23, 2018

    What output are you using? Is it Webhelp? If so, it's a known issue in Chrome that was introduced by an update to the browser earlier this year. You can resolve it via the following steps:

    1. Open C:\Program Files (x86)\Adobe\Adobe RoboHelp 2017\RoboHTML\WebHelp5Ext\template_stock

    2. Make a backup copy of whthost.js

    3. Edit original file with Notepad++

    4. Replace (line 872):

        sText = sText.replace("\n", "");

        with:

       

        sText = sText.replace(/\n/g, "");

    5. Save the changes. No restart necessary; the fix will be included the next time Webhelp is generated.

    Known Participant
    December 12, 2018

    I have the same issue, using RH 2017.  I tried changing whthost.js with the above, and no luck.  Our help is called from the web server, and when we click the Show link from the topic in Chrome, it is then that the TOC books do not open. And the Contents pane does show the dreaded "javascript:void" error.

    Here's a clue that we found out  -  the TOC behaves correctly in Chrome version 56 but NOT in Chrome version 71. Very interesting - but not necessarily an answer, since we can't ask our system's users to use an older version of Chrome just to get the TOC to work!

    I am now experimenting with changing various options on the WebHelp generation window - such as turning off Synchronizing Table of Contents.  So far nothing has corrected the issue. An RH Tech Support spent some time with my issue here, and as much as we tried (also changing whthost.js) we couldn't get it to work in Chrome.

    Thanks!

    Susan

    Community Manager
    December 12, 2018

    Hi Susan,

    just to go sure: Are we talking about the very old WebHelp output option here, or about the modern HTML5 output?

    *Stefan.

    Peter Grainge
    Community Expert
    Community Expert
    August 17, 2018

    I can't check right now but I think there was a similar post recently.

    It would help to know your version of RoboHelp and the output.

    Peter Grainge

    www.grainge.org

    @petergrainge

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.