Haha.  I thought that was odd.

Bryon

________________________________
From: Sean Donohue <[email protected]>
Sent: Monday, October 8, 2018 11:04:30 AM
To: apache/cordova-plugin-inappbrowser
Cc: bbending626; Comment
Subject: Re: [apache/cordova-plugin-inappbrowser] InAppBrowser unable to handle 
nested content? (#285)


Hello skrawn
I am working on integrating MadCap flare help into an ionic-cordova project for 
both Android and Windows. I have the same issues.

Do you have a resolution?

Here is what I found so far:
Android:
target=_blank
url=help/Default.htm
Default.htm does not work, shows a bank page. The page doesn't redirect to 
Contents/Home.htm. If you open Contents/Home.htm directly then the help page is 
displayed but menu from hamburger menu don't navigate. This is some path issue, 
but I have not found the solution yet.
I am able to get the help page to display and navigate using iframe in a 
webview. It's a solution but I would like to use inappbrowser for both 
platforms.

Windows:
target=_blank
url=help/Default.htm
Default.htm and Contents/Home.htm open the help page and hamburger menu links 
work. The issue is in MadCap flare. You will need to unminify MadCapAll.js to 
make the mods. If you have MadCap software your modifying Xhr.prototype.Load 
function in MadCapXhr.js to evaluate document.location.prototype values equal 
to ms-appx: and ms-appx- web:.
prototype == 'ms-appx:' || prototype == 'ms- appx-web:'

Hope this helps.

Stop working today Bryon :)

—
You are receiving this because you commented.
Reply to this email directly, view it on 
GitHub<https://github.com/apache/cordova-plugin-inappbrowser/issues/285#issuecomment-427909217>,
 or mute the 
thread<https://github.com/notifications/unsubscribe-auth/AgV5m1XR3q2YUibFV7MFdkgUmwx1PGZMks5ui4WegaJpZM4WGQjF>.


[ Full content available at: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/285 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to