Focal Point
[SOLVED by case] doBeforeLoad() error

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/140100644

May 19, 2010, 02:17 PM
NewUser24
[SOLVED by case] doBeforeLoad() error
I get the 'This Page Contains Both Secure and Non-Secure Items' Error Message for a javascript routine called doBeforeLoad.

I've searched the site for it and indeed other people show it in their source code, I'm not sure where to find this routine.

It's written on all HTML pages.

  
<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.8
Windows XP
HTML
May 19, 2010, 02:54 PM
Francis Mariani
Through some method or another, the JavaScript library C:\ibi\WebFOCUS76\ibi_html\javaassist\ibi\html\js\ibirls2.js gets linked to in the HTML that's generated by the GUI tool in Dev Studio. function doBeforeLoad is in this library. You should not make any changes to this file or function. The message you get is probably due the security settings in your web browser, or because you're using a secure server URL (https instead of http). I'm not sure anything can be done about this warning message.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
May 19, 2010, 03:55 PM
NewUser24
Thank you. I am using HTTPS and it seems to not like this code...

function addHiddenIFrame(iframename)
{
if(!usehiddeniframe)
document.write('<iframe id=' + hiddenlayoutframe + ' name=' + hiddenlayoutframe + ' src = "about:blank" style="position: absolute; top: 0px; left: 0px; display: none; width: 0px; height: 0px; z-index: 10000">');
usehiddeniframe = true;
if(iframename && !document.getElementById(iframename))
document.write('<iframe id=' + iframename + ' name=' + iframename + ' src = "about:blank" style="position: absolute; top: -100px; left: -100px; display: none; width: 50px; height: 50px;">');
}

with the src="about:blank"


WebFOCUS 7.6.8
Windows XP
HTML
May 20, 2010, 07:32 AM
David Glick
The message occurs because "about:blank" is loaded from the local machine instead of from the SSL site so you get unsecured items. This is not really a problem though. Anything that is coming from the web server is under SSL. We have made changes in later releases to get an "about:blank"-like item from the web server so this message will no longer occur.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
May 25, 2010, 05:03 PM
NewUser24
IBI has fixed this issue in 7.6.10 and we will be upgrading soon to resolve this issue.


WebFOCUS 7.6.8
Windows XP
HTML