I am developing and app using Cordova(phonegap) which uses HTML and CSS and javascript and jquery, in one of the pages of my app I have a button which opens a URL for a question from the user.by using this code:
var URL="https://question.com/q1";
var ref=window.open(URL,'_parent','location=no,clearcache=yes,toolbar=no,titlebar=no');
now because I don't want to show the user the URL which they have been redirected I am removing the title bar which includes a close button.and now I don't have any button to close the page.I want to know if is it possible to add a close button to the parent page and show it when we open the new URL?