Fareed
Fareed

Reputation: 560

Open my url page in the same tab

is there a html code or some magic do it ? if i sent my url page to some one in facebook Message,i want my url page to open in same tab directly not on a new tab .

Upvotes: 0

Views: 96

Answers (3)

vikas agrahari
vikas agrahari

Reputation: 406

try this. <br/>window.open("www.youraddress.com","_self")

Upvotes: 1

Dagan Bog-Computers
Dagan Bog-Computers

Reputation: 608

You can't control the target attribute on Facebook, there for... it is not possible.

Just need to add that on Facebook api there is target attribute under Share Button, and they let you choose target, default is _blank.

Upvotes: 1

Islam El-shazly
Islam El-shazly

Reputation: 147

i think it's not possible because face book not let you do this .

Upvotes: 2

Related Questions