Working web site is not the one that looks the same in a few graphical browsers, but the one that adequately delivers its content to any device accessing it.
Which will cause "somepage.html" to open in a separate window if Javascript is disabled
Yeah because that makes it a lot more accessible, now everyone can have a pop-up and a broken browser back button. (We need a sarcastic looking smiley for occasions such as this.)
You have to seriously ask yourself "does this link need to pop-up in a new window?" if the answer is yes then your current code will do just fine but if the answer is no just make a normal link.
By using this.href and return false you are catering for non-JavaScript browsers because the link would behave as nomal for them.
You should also be aware of pop-up blockers though, if the window.open command is not actually inside the onlick event itself then the pop-up will be blocked, therefore will need to move just the window.open part of the code from the function and put it into the link.
Every fight is a food fight when you’re a cannibal.
Bookmarks