I would like to disable the toolbar via a link in my HTML. I've tried:
<a href="window.open(URL, '', 'toolbar=no,menubar=no...')">Click</a>
But it is not working. Could somebody provide some direction here?
I would prefer to not use Javascript.
I would like to disable the toolbar via a link in my HTML. I've tried:
<a href="window.open(URL, '', 'toolbar=no,menubar=no...')">Click</a>
But it is not working. Could somebody provide some direction here?
I would prefer to not use Javascript.
This is not possible without the use of JavaScript and it is also not possible without opening the target page in a new window.
Something like this will work if you want to open the page in a new window and JavaScript is acceptable:
<a href="#" onClick="window.open('example.html', '', 'toolbar=no,menubar=no')">Click</a>
I think could be no possible for security reasons, but you can open the new window and then
window.opener = self;
window.close();
but this will work unless client (browser) security is set to very low.