Suoritettu

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:

<script>

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);

}

</script>

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?

Taidot: PHP, JavaScript, HTML, CSS, Verkkosivujen suunnittelu

Näytä lisää: 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

Tietoa työnantajasta:
( 5 arvostelua ) Zagreb, Croatia

Projektin tunnus: #32236354

Myönnetty käyttäjälle:

glennwilkins

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

€30 EUR 1 päivässä
(223 Arvostelua)
6.5

8 freelanceria on tarjonnut keskimäärin €25 tähän työhön

mascotindia123

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 Lisää

€30 EUR 2 päivässä
(308 arvostelua)
7.8
devupfree

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.

€30 EUR 1 päivässä
(40 arvostelua)
5.8
FarhanaGaglani

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 Lisää

€30 EUR 1 päivässä
(16 arvostelua)
5.1
webdevaf

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 Lisää

€8 EUR 1 päivässä
(8 arvostelua)
3.6
verma7084

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 Lisää

€19 EUR 7 päivässä
(12 arvostelua)
3.1
rameezsallahudd2

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 Lisää

€30 EUR 2 päivässä
(0 arvostelua)
0.0
abdulhaseebbasit

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 Lisää

€19 EUR 7 päivässä
(0 arvostelua)
0.0