Open a URL in a new tab (and not a new window) using JavaScript -


i'm trying open url in new tab, opposed popup window. i've seen related questions responses like:

window.open(url,'_blank'); window.open(url); 

but none of them worked me, browser still tried open popup window.

nothing author can can choose open in new tab instead of new window. user preference.

css3 proposed target-new, the specification abandoned.

the reverse not true; specifying dimensions window in third argument of window.open, can trigger new window when preference tabs.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -