Skip to main content
adganguly
Participant
Aug 17, 2018 9:05 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

    7 replies

    Inspiring
    Aug 23, 2018 2:00 PM UTC

    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.

    Translate
    Known Participant
    Dec 12, 2018 3:42 PM UTC

    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

    Translate
    Legend
    Dec 12, 2018 4:42 PM UTC

    Hi Susan,

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

    *Stefan.

    Translate
    Peter Grainge
    Community Expert
    Community Expert
    Aug 17, 2018 9:46 AM UTC

    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

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