In Facebook app browser site doesn't work well

I have a coupon website www.ekuponi.com. Coupons open a new tab in background when clicked and show a coupon code on the current tab. In Facebook app browser it doesn't work because Facebook doesn't allow opening more tabs. I found a code that can check if the user is using Facebook app browser:


function isFacebookApp() {

var ua = [login to view URL] || [login to view URL] || [login to view URL];

return ([login to view URL]("FBAN") > -1) || ([login to view URL]("FBAV") > -1);



I want to change the code to just show a coupon code, not to open the tab in background if user is using FB app. But when I use isFacebookApp() the site loads endlessly like there's some kind of a conflict. Why isn't this code working?

Compétences : PHP, JavaScript, HTML, CSS, Design de site internet

En voir plus : virtuemart doesn`t work move hosting server, joomla administrator menu doesn`t work mootools, facebook app full site, freelancer com doesn t work, I want you to develop an iPhone app written on swift for my website www.goliax.com, onenote copy text from picture doesn't work, final cut pro trial doesn t work, create react native app doesn't work with npm 5 yet, autohotkey doesn't work in game, instant app doesn t work, flash player doesn't work in chrome, website doesn't work without www godaddy, restorative justice in schools doesn't work, lightroom edit in photoshop doesn't work, website doesn't work with www, facebook search friends by city doesn't work, css that doesn t work in ie, facebook marketplace sort by doesn t work, google translate doesn't work in chrome

Concernant l'employeur :
( 5 commentaires ) Zagreb, Croatia

Nº du projet : #32236354

Décerné à:


sir message me i can fix this now .... sir message me i can fix this now .... sir message me i can fix this now ....

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% EUR en 1 jour
(223 Commentaires)

8 freelances font une offre moyenne de 25 € pour ce travail


Hello. Hope you're doing well ! I am expert at various programming and designing skills having 8+ years of experience in PHP, HTML, CSS, WEBSITE DESIGN, JAVASCRIPT and many other. Please review our portfolio. I wou Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 2 jours
(308 Commentaires)

Hi There, Can you share the details of the error over chat so I can fix this issue in a quick turnaround Waiting for your response, Nayla R.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(40 Commentaires)

Hi there, I am an experienced website developer & Designer having 8+ years of experience in this field, I can change the coupon code just the way you need them in just few hours. Let's connect over the chat and have a Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(16 Commentaires)

we're an ICT service providing entity, providing services in all sectors of ICT including, web applications, website development, web designs, cross platforms mobile applications, database development and administratio Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% EUR en 1 jour
(8 Commentaires)

Hi there, I would like to invite you to come online so that we can discuss further the project requirements and proceed accordingly I think I can do an excellent job on your project and I'm ready to put my creative j Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 7 jours
(12 Commentaires)

Hi there, I can design an eye-catching layout for your Website. Let me know if you have any reference sites in mind? Look, you know that people usually scan the website rather than going through it. So the layout play Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 2 jours
(0 Commentaires)

Hi, Sounds like an ideal project for me. I have reviewed the job details carefully and I am sure that I can do the project as per your requirements. We have a team of 20+ seasoned Mobile Application developers (A Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% EUR en 7 jours
(0 Commentaires)