AS3 & Facebook Connect : popup not showing - actionscript-3

I've got a strange bug when trying to use facebook connect with actionscript3.
I checked everything, couldn't find a way to resolve this.
Look at this :http://tinyurl.com/FBas3test-2
When clicking on "login", the facebook popup appears.
But within this swf (click on the "facebook" logo),
http://tinyurl.com/FBas3test-1
It does not work.
This is almost the same actionscript code; and it IS the same HTML.
You can check some debug informations with the firebug console.
Seems the javascript & HTML code is OK.
When clicking the Facebook logo, the HTML is updated. Guess facebook IS contacted; but then no popup is shown.
Any idea ?
Thanks a lot

The popup is not showing for me at first because the popup blocker is blocking it. In Chrome, I had to click the icon in the upper right to allow popups and then it worked. I don't know exactly how ActionScript facebook sdk works, but if it is using Facebooks javascript sdk, try changing display mode from popup to dialog so that it shows in the same window. Otherwise, you will need to figure out how to get actionscript to show a popup window without the browser popup blocker blocking it.

Related

Browser Extension pop-up when I access a particular URL

I'm developing a Browser extension. Almost completed the project.
But,
I want that extension to pop-up automatically (without clicking the icon), when I access a particular website in a browser
And I want to make the pop-up page visible on the tab until I close the tab.
I have no idea on how to do this.
It would be helpful, if any of you guys share your ideas!
Thanks in advance.

Clicking link with target _blank makes browser close new tab immediatly

Clicking on a link to our webpage using
Link
opens a new tab and closes it immediatly. This happens on all browsers apparently. Deactivating adblock and alike does not change anything.
Using the url without target="_blank" or right click -> open in new Tab however works fine.
The web page is an angular project and does not use any sort of trackers. Furthermore this behavior started only recently, so I assume it's due to some change in the page.
Any hint why this happens or where to start debugging this?
Found it.
I had a line window.close(); due to a workaround for a popup for facebook login, implementing this:
Facebook Login not working in PWA app if app is in stand alone state

Chrome can't see images that require username/password

So this is a weird problem, I am attempting to embed a video stream from a D-Link DCS-930L into a web page. My embed looks like this:
<img alt="" src="http://guest:password#192.0.0.10/video.cgi">
The problem is that Chrome displays a broken link image when I load the page, while Firefox and IE load it perfectly the first time.
But the really strange part is that if I right click on the broken image > Open link in new tab the stream loads, and then if I close the tab and refresh the page with the embed it loads there too! So it's definitely something to do with the username/password requirement.
I have also tried creating a user without a password but I see the same issue. There is no setting to disable this requirement in the 930L's control panel that I can find.
Does anyone know how to fix this? If not, is there a way to use PHP to execute a login automatically for the above kind of URLs?
This appears to be intentional behavior on Chrome's part since v19. Bummer.

How to open page in chrome app via html link

I am trying to convert my html webpage to chrome app, and have found this error:
When trying to click a link to another page within my app, it does not work. I click it and nothing happens. I had a look around, and read that I need to include target="_blank", but that just comes up with an error saying that there is no application set to open that file. I would like the page to open within the chrome app wrapper.
Here is my code: Click here to play

WebSite Loading Issue In Chrome

i have created a website.
its admin panel is same like Admin Panel Link
The problem is when i click on each link in
Firefox : it loads all contents smoothly.but in
Chrome : Some camera flash type effect occur on click of Link
So, whats solution of to remove that camera flash type effect in Chrome.
(i don't want to use Loader for Content Load)