How to open a new tab together with text or code 'of my choice'
by
, 05-18-2015 at 09:28 PM (9150 Views)
I knew that it is possible to programmatically force the browser to open a new window instead of a new tab, or the other way round. But I didn't know until now how to open a new tab together with text or code 'of my choice'.
The text or code we may want to 'add' to a new tab must have the format of a string. The more complex the text or code we want to add, the bigger the danger of making mistakes in writing the string.
So I decided to create a HTML-to-javascript-converter specially made for the purpose of adding text or code to new tabs. Demo and explanatios here.