Re:LinksOnHN[n].setAttribute('target',"_blank");
by river_styx on Sunday December 21, 2008 @12:41PM
(#405518)
Please don't make this change. My #1 pet peeve on the web is a page that opens new browser windows.
[ Parent
| on HN ]
Re:LinksOnHN[n].setAttribute('target',"_blank");
by diN0bot on Sunday December 21, 2008 @02:36PM
(#405646)
maybe it could be a preference. i personally run a greasemonkey script that not only opens links in a new tab, but inserts a topbar so i can vote and get to comments from the article page.
Re:LinksOnHN[n].setAttribute('target',"_blank");
by jackowayed on Sunday December 21, 2008 @05:26PM
(#405788)
First thing I thought was "greasemonkey" when I read this. But the extra features of your script sound pretty sweet.
Is it online somewhere?
Re:LinksOnHN[n].setAttribute('target',"_blank");
by ardell on Sunday December 21, 2008 @10:14PM
(#406019)
Try Hacker News OnePage for Greasemonkey. I love it so far.
Re:LinksOnHN[n].setAttribute('target',"_blank");
by RossM on Monday December 22, 2008 @07:44AM
(#406322)
I agree. I use the scroll button to open links in new tabs, but sometimes I really want to open a page in the same tab.
This is only seconded by links that are something like: <a href="javascript:void(0);" onclick="someStuff();">
I sure do love opening a tab for javascript:void(0).
Re:LinksOnHN[n].setAttribute('target',"_blank");
by daleharvey on Sunday December 21, 2008 @01:11PM
(#405548)
just curious, why?
I mean this isnt 5 years ago and sites are opening obtrusive windows that fill up the taskbar and ruin your history
Re:LinksOnHN[n].setAttribute('target',"_blank");
by river_styx on Sunday December 21, 2008 @01:17PM
(#405553)
It's just annoying. If I want to open a new window, I'll do that myself by cmd-clicking or some variant of that.
Re:LinksOnHN[n].setAttribute('target',"_blank");
by clint on Sunday December 21, 2008 @02:10PM
(#405619)
Correct. Best practices are that you do not force your users into any particular browsing habit. Keep it consistent and do not open things in _blank that do not absolutely require it.
There are a million tools for users to control their browsing experience ... in the browser. Do not force it in your application.
Re:LinksOnHN[n].setAttribute('target',"_blank");
by cabalamat on Sunday December 21, 2008 @03:56PM
(#405711)
> Best practices are that you do not force your users into any particular browsing habit.
Agreed. Is there a plugin in Firefox that ignores target directives and does it the way I want?
Re:LinksOnHN[n].setAttribute('target',"_blank");
by Zak on Sunday December 21, 2008 @05:21PM
(#405782)
Try Tab Mix Plus
https://addons.mozilla.org/en-US/firefox/addon/1122
It has a whole bunch of features, one of which is to force all links to open in the current tab.