IE Window close issue with linkedin javascript SDK - linkedin

I am using the sign in with LinkedIn javascript SDK on a site. However, some IE and Edge users are experiencing an issue with the login popup. Instead of seeing the login screen, they get a window that says "The webpage you are viewing is trying to close the window. Do you want to close this window? Yes/No".
If yes is clicked, the window closes. If no is clicked, there is a 404 error.
I believe this has something to do with IE/Edge security and privacy settings or, the SDK may be calling a close() function without an open().
Maybe the linkedIn SDK needs to be edited or, is there a way for me to check for the security settings with js prior to showing the login with LinkedIn button?
Has anyone experience this?

Related

Power BI Iframe: Issue with IE and Edge

We have an Application Developed in ASP.NET inside which we have added an embedded Power Bi Dashboard using iFrame.
The Dashboard is working as expected in Chrome but facing the following issues with IE and Edge.
On IE the Dashboard is not being Displayed when viewed from the Embedded Application and upon clicking the power bi Sign-In button (shown within the Iframe), the application as a whole gets redirected to app.Powerbi.com/.... When you click the back button and refresh, still the sign-in prompt is shown in the iframe.
On Edge, the behavior is same as in IE, except that you click the back button from the app.powerbi.com website and then refresh the page, then the report renders correctly within the Iframe.
I tried clearing the Cache and Cookies, tried adding *.microsoft.com site and *app.powerbi.com to trusted sites list(per power bi forums) but still not working.
I suggest you check for the latest Windows updates and try to install it. Then after again try to test this issue on your side.
If the issue persists then hard refresh the page. Clear all the data for that site and again try to load the page.
I tested the issue with IE 11.1.18362.0 and Microsoft Edge 44.18362.1.0. As per my testing results, both browsers display the Power BI dashboard in ASP.NET site without any issue.
Output in IE 11:
Output in MS Edge:
If the issue persists then try to check the console to see whether there is any error or warning message. It can help to narrow down the issue.

Integrating the Skype Web Control into your own website

I'm recently trying to integrate the Microsoft Skype (Skype Web Control) into my own website. (See demo here)
It's quite simple actually, use the 'Web Control Generator' you will get the code, and then put them into a pure HTML file, it's done! Just like this:
<span class="skype-button bubble" data-contact-id="my-skype-id"></span>
<script src="https://swc.cdn.skype.com/sdk/v1/sdk.min.js"></script>
It's very simple! you clicked on the 'Bule Bubble' on the bottom right corner of the screen, Skype window popups up, you sign in with your Skype account and then you're good to go!
Chat is ok, you can send messages, even files(didn't try it)! But every time I click on the Video call button which I marked on the attached image, the error message popup up!
It spent me days, asking for Skype support team, googling around and got nothing, PLEASE, any ideas, suggestions will be greatly appreciated!
UPDATE:
My testing environment already install a Skype application [Skype 12.1807.264.0]
The testing browser is Chrome [Version 64.0.3282.186 (Official Build) (64-bit)]
UPDATE:
I already put an SSL Certificate (https://) on my testing environment, doesn't work either.
All calls must be facilitated through HTTPS. This is a security guideline that needs to be enforced for using Skype Web Control. As told Here https://github.com/Microsoft/BotBuilder/issues/4044

Custom tab does not close, different behavior for Android versions

My app is opening a custom tab to connect to my server. My server processes user input and then returns to the app using a javascript intent and extras - the intent is set to open an activity with the needed browsable intent filter.
The browser is retaining focus. How do I get the anchor on the HTML button to correctly open the app and disappear the browser window when the user triggers the javascript Android intent with the button on the HTML page?
The behavior is not consistent. Android 4.2 can work correctly with the custom tabs while Samsung Android 6 works once and then fails when the user returns to the browser. Tabs fail in an inconsistent way on the newer versions of Android. If I disable tabs to workaround and use the system browser for Android 6, then the Android 4 system browser fails in the same way that the tabs fail. This makes me think there is some obvious gap in the html. When the javascript intent is called I see that the app getting the intent and extras -> the deep link works. The browser window, however, stays on top. Is there some trick to the HTML programming on such an intent? The user gesture is there. What else do I need? Can I leverage the callbacks and request focus?
Thanks in advance for your kind assistance.
Turns out the issue was just that the Activity opened by the javascript intent had no UI and immediately finished. For some reason, I thought that Android would stay inside my app but the backstack just did what it usually does.
The answer was to start the app's MainActivity before finishing the activity started with the javascript intent. Finishing it without intentionally coding the app to go to another activity inside the app meant that I would return to the custom tab, return to the browser. It looked as if the browser was retaining focus when in fact the javascript intent started the activity and returned to my app but the activity finished and focus returned to the custom tab that called that activity.

Spotify Play Button - spotilocal.com Error - ERR_CONNECTION_REFUSED

The integration of the Spotify Play Button widget, causes more then 29 errors on page load. The script (md.b6ade05.js) causes ERR_CONNECTION_REFUSED errors, when trying to connect.
Is there a solution for this issue?
Screenshot:
That is how the Spotify Play Button tries to find the running Spotify webhelper to communicate with it, so there isn't any way to prevent those requests.
I was having this issue and tried opening up my page in a private window, with extensions disabled - and it worked. Looks like an ad blocker is preventing connection ~

Asp.net to Facebook Apps( Any Button Working)

I trying to do app on facebook and All(.net button html button javascript button ) buttons dont work. I looked for another button which but it didnt used anymore! which buttton can ı use or how can add working button asp.net to facebook app??
Please help me.
If your Facebook app lives in an iframe then all buttons/controls including asp.net ones are supported. My recommendation is to test your app outside of the Facebook iframe on the server which your page lives and ensure that the event handlers are firing as expected.
If that works as expected on your server, then I would use a browser developer tool [F12 -IE/Chrome/Firefox] to see if there are any errors are present which would prevent the page from loading correctly and resolve those and you should be fine.

Resources