I am modifying whtbar.js and need an alternative to top.frames.bsscright.location that would work in Chrome.
// opens the current topic htm file in a new window for printing
var strCurPage = top.frames.bsscright.location;
strCurPage += "?print=true"
var newWindow = window.open(strCurPage, newWindow, "toolbar=no,location=no,status=no,menubar=yes,scrollbars=yes");
This works fine in IE/FF but does not work in Chrome.
I could change that to something like document.location and then the code works and the window actually opens but with the wrong HTM file: whskin_tbars.htm.
The issue seems to be that Chrome does not allow access to other frames as a security measure. The Print View button is in the top bar so can only access the location of the skin HTM file.
I have a Show/Hide TOC + To Top persistent floating icons at the left middle of the topic pane. So in Chrome the user can hide the RoboHelp framework and show only the topic if they need to print.
I've verified that this is an issue related to Chrome as opposed to RoboHelp, the newer/newest versions do not help. The help is designed to be run locally or from a network share.