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?

Beceriler: PHP, JavaScript, HTML, CSS, Web Sitesi Tasarımı

Daha fazlasını gör: 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

İşveren Hakkında:
( 5 değerlendirme ) Zagreb, Croatia

Proje NO: #32236354



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

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% EUR
(223 Değerlendirme)

Bu iş için 8 freelancer ortalamada €25 teklif veriyor


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 Daha Fazla

€30 EUR in 2 gün içinde
(308 Değerlendirme)

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.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(40 Değerlendirme)

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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(16 Değerlendirme)

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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(8 Değerlendirme)

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 Daha Fazla

€19 EUR in 7 gün içinde
(12 Değerlendirme)

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 Daha Fazla

€30 EUR in 2 gün içinde
(0 Değerlendirme)

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 Daha Fazla

€19 EUR in 7 gün içinde
(0 Değerlendirme)