0

How can I show the done button when I open a link(page) using inappbrowser in android and phone gap 3.4

I installed the inappbrowser plugin, and this how my link looks:

<a onclick="window.open('https://www.google.com/', '_blank);">Google</a><
Jan Leon
  • 176
  • 1
  • 14

1 Answers1

8

onclick="window.open('https://www.google.com/','_blank', 'location=yes,closebuttoncaption=Done');

This will do the wonder.

João Mosmann
  • 2,884
  • 19
  • 25
Mohammed Imran N
  • 1,279
  • 1
  • 11
  • 26
  • hi did you figure out how to show done button on Android at the end? – mkto Jul 14 '17 at 06:12
  • **Update - Jan 2018:** My PR to implement a native Android "Done" button in the footer has now to been merged to the official inappbrowser plugin: https://stackoverflow.com/a/47636289/777265 – DaveAlden Jan 25 '18 at 09:03