I want to open an image in a new tab. I am using the below given code
var win = window.open(url, '_blank');
win.focus();
My image url is "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB28AAATdCAYAAABosx2OAAAgAElE.....". Its working fine in firefox,but in chrome it just open a new blank tab. I tried with some other urls like 'http://www.stackoverflow.com", "http://www.google.com". Its woking fine in both chrome and firefox.
Can anyone help me on this.