Author Topic: Have links in omnom not open in a new tab by default?  (Read 3733 times)

0 Members and 1 Guest are viewing this topic.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Have links in omnom not open in a new tab by default?
« on: November 04, 2012, 04:05:53 pm »
I always end up with like 50 omni tabs open, then I have to close them all. And if someone wants to open in a new tab, that's what the middle mouse button/ctrl-click is for. Thoughts on this, anyone?
« Last Edit: November 04, 2012, 04:06:08 pm by squidgetx »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Have links in omnom not open in a new tab by default?
« Reply #1 on: November 04, 2012, 05:38:30 pm »
Browsers will do this because the link is on another domain. You might be able to force it though with some code.
Can't check now, as I'm about to go and sleep.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Have links in omnom not open in a new tab by default?
« Reply #2 on: November 04, 2012, 06:56:10 pm »
OmnomIRC actually checks for whether to open in a new tab or not, links on omnimaga.org and omniurl.tk opens in same tabs and the rest in a new tab, Netham just didn't added ourl.ca to the list when we switched to it.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Have links in omnom not open in a new tab by default?
« Reply #3 on: November 04, 2012, 10:44:16 pm »
Normally OmnomIRC stayed in the same tab when clicking an Omni link or an Omni URL link, but I'm unsure if that changed. ALl I know is that external links are supposed to open in a new tab like when putting them in posts, though, so that people don't constantly inadverdently lose their only Omni tab open and stuff like that like on Wikipedia.

By the way it would be nice if the affiliate links on the front page opened in a new window/tab.