Open PDF as Stream Ressource in new tab and stay on current tab

I want to open a PDF as Stream Ressource in an new Tab. The code i have so far looks like:

getUI().getPage().open(projectStreamResource,"_blank",true); The function works fine, but i want to stay in the current tab. The Browser we use is allways Google Chrome - is there a simple approach to realize remaining in the actual tab and open a new one?

I do not think there is a reliable, cross-browser solution for this. Maybe you let the user download the pdf instead, that way not interrupting their flow.

Bernd