stefanwalther / qvWebPageViewer2

Improved WebPageViewer Object Extension for QlikView (QV11)
Other
1 stars 3 forks source link

Remove restricted attribute from iframe #3

Open dgeissl opened 9 years ago

dgeissl commented 9 years ago

Hi,

we r using your component in a single sign on environment (siteminder) that needs to share cookies between QlikView and the WebPageViewer2 iframe. This works well for Firefox and Chrome but did not for various versions of Internet Explorer. It took us a while to figure out that the security="restricted" attribute on the iframe was the cause of this (no cookies where handed over).

As the attribute is not in the html standard and is not supported by other major browsers i would suggest to remove it (or at least make it optional).

iframe-reference: http://www.w3schools.com/tags/tag_iframe.asp security-attribute: https://msdn.microsoft.com/en-us/library/ms534622(v=vs.85).aspx

sleslie5656 commented 8 years ago

I had to make the same change (remove line 72 in script.js) to work around this as it was causing similar issues to what is described above.

stefanwalther commented 8 years ago

OK, get it, will update the solution. Thx for your contribution!

firyah commented 8 years ago

How do we call a local html page from extension?