Login

russian armor

Open new tab when clicking on a trending topic

20 Jun 2014, 14:43 PM
#1
avatar of Pepsi

Posts: 622 | Subs: 1

All in the topic.
When I click on a pic on the trending page, it opens the pic in the same page. It's maybe better to open it in a new tab.
20 Jun 2014, 14:48 PM
#2
avatar of hicksi
Admin Black Badge

Posts: 983 | Subs: 3

By default? No! But we have somewhere in your user settings an option that gives you the choice if new links should be open in a new tab or not. As far I know it's not build in for trending, so it's probably not working there. But on the other hand, if you want so. I think a javascript solution would be better, because:

a) It's your choice. So use your own hardware power to do it. :p
b) It's much easier for coders, because we don't need to put a function or check over every link.

javascript code
Code
var target = openBlank ? "_blank" : "_self";
var links = document.links;

for (var i=0; i < links.length; i++)
{
if (links[i].href.search("coh2.org") == -1)
c[i].target = target;
}


So if another coder is faster than me, feel free to build the js solution in.
20 Jun 2014, 15:11 PM
#3
avatar of armatak

Posts: 170

Imho coh2.org side it should make it open in a new tab so we don't have to back to coh2.org everytime you click something in trending on front page.
20 Jun 2014, 15:17 PM
#4
avatar of hicksi
Admin Black Badge

Posts: 983 | Subs: 3

Sure, but there are also users who think the other way even if they are hardly to find. You have tons of ways to make sure to open a window in a new tab. Like:
CTRL + click
Middlemouse click
Set it in the settings of your browser
The same doesn't work if you (as a user) want to be sure, that a link should be open in the same tab.
20 Jun 2014, 20:13 PM
#5
avatar of maskedmonkey2

Posts: 262

Easy fix, just middle mouse click. Your finger is literally right next to the solution to your "issue"
20 Jun 2014, 20:51 PM
#6
avatar of Hirmetrium
Patrion 14

Posts: 179

seriously I use middle mouse more than I do right button.
20 Jun 2014, 21:09 PM
#7
avatar of Kreatiir

Posts: 2819

Indeed.. Just middlemouse / ctrl.
20 Jun 2014, 22:05 PM
#8
avatar of Sarantini
Honorary Member Badge
Donator 22

Posts: 2181

Middle mouse is awesome, it opens links in new tabs plus you can close tabs with it!
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

491 users are online: 491 guests
0 post in the last 24h
2 posts in the last week
28 posts in the last month
Registered members: 49389
Welcome our newest member, Haruta446
Most online: 2043 users on 29 Oct 2023, 01:04 AM