1

I'm trying to hide only the url field of the InAppBrowser. But need to keep close button.

Using following codes I can display the html pages on the full screen with both url field and the close button.

window.open(path, '_blank', 'location=yes');

Or

window.open(path, "_blank", 'toolbar=yes', "location=no", "closebuttoncaption=My Button Name");

And Using following code I could hide the toolbar at all.

window.open(path, '_blank', 'location=no,closebuttoncaption=Close Window');

I just want to remove/ hide Url Field and just show the close button and text on the top header. Also If there is a way to put InAppBrowser into a div that also fine.

1 Answers1

0

I could make it work using cordova-plugin-themeablebrowser custom plugin which is Fork of org.apache.cordova.inappbrowser. It is more themeable and configurable to add some custom actions.

Dumindu Madushanka
  • 434
  • 1
  • 7
  • 18