Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Regular Coder
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts

    firefox open in new tab

    is there any target attribute that will open a link in a new firefox tab?

    Similar to using _blank for a new window
    <a href="page.html" target="_blank">link</a>
    My body's a temple... and like those ancient Greek ones it's a ruin
    sweenster.co.uk

  • #2
    Senior Coder chilipie's Avatar
    Join Date
    Jul 2004
    Location
    Shrewsbury, UK Age: 16
    Posts
    1,117
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not that I've heard of. You could maybe do it with some JS magic though.

  • #3
    New Coder
    Join Date
    Dec 2004
    Location
    Ontario, Canada
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't believe there is a way. I was looking for it myself. Then i found on Firefox's Tricks and Tips page a way to get all external links to open in another tap.
    You can inform your viewers of this by adding this web address to your page.
    http://www.mozilla.org/support/firefox/tips#beh_reuse
    Once the changes are made any links with target="_blank" will open in a new tab.

    Nite.

  • #4
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Or, don't force new tabs or windows and let the user decide how they want to open links. Mozilla didn't add this functionality to give web pages more ways to annoy users, they did it because forcing links to open in new windows is annoying and most people want to stop it.

  • #5
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    I'm sure there's some javascript oriented way; after all, there are FF extensions that open windows in tabs rather than new windows.

    Which, I know, doesn't help you much, but at least I wouldn't give up hope quite yet

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I would - it's never gonna happen.

    There's undoubtedly lots of ways that you can set the preferences on your Firefox to open links with certain attributes in a new tab. xlink semantics offer authors the means to 'suggest' that the target of a link be a tab ... or another workspace within a multiple-document-interface ... or ... well, any number of things.

    But the day will never come when you can specify directly that a link on your page should open a new tab for someone else.

    Of course I might be wrong ... if there is a way, please let us know how it's done, so that I can report it as a security bug
    Last edited by brothercake; 01-08-2005 at 01:49 AM.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #7
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Quote Originally Posted by brothercake
    Of course I might be wrong ... if there is a way, please let us know how it's done, so that I can report it as a security bug
    lol. (I actually had to type that, jeez) Point taken.

  • #8
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by brothercake
    I would - it's never gonna happen.

    But the day will never come when you can specify directly that a link on your page should open a new tab for someone else.
    Never? ...don't count those chickens just yet mate

    http://www.w3.org/TR/2004/WD-css3-hyperlinks-20040224/

    The worst bit? If this actually made it through to REC. level, it would be a complete abomonation to the 3 tier client model (structure, presentation, behaviour). CSS dictating browser behaviour? Eeeewww... nasty!

    I take no responsibility for the above nonsense.


    Left Justified

  • #9
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh yeah that thing ... I've argued vehemently against that before. But I still think the day will never come - I don't believe that module will make it to rec - the functionality is redundent, and it doesn't belong in CSS either way.

    Hasn't this come up before ...?
    Last edited by brothercake; 01-12-2005 at 01:32 PM.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #10
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah it has, and it was you that time too -- http://www.codingforums.com/showthread.php?t=34101

    Something you're not telling us mate? Remember - once you start down the dark path, forever will it dominate your destiny
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #11
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i went to that site but im having a problem
    "Now, go to your profile folder and select File > New > Text Document. The default name "New Text Document.txt" should be displayed. Change the name to "user.js" (click Yes on the file type warning that appears)." (http://www.mozilla.org/support/firefox/edit#user)
    i know how to make the new document, but cant figure out how to change it from a .txt to a .js. any help would be appreciated
    Simulcrash
    Last edited by simulcrash; 01-13-2005 at 12:40 AM.

  • #12
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    once u have the new text document made and saved somewhere, open it with notepad, then click file save as, then change the file type to all files, then change the encoding to UTF-8 (correct me if im wrong) and then just save the file as user.js being sure to include that .js exstension

  • #13
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by brothercake
    Something you're not telling us mate? Remember - once you start down the dark path, forever will it dominate your destiny
    The force is strong with this one.

    I take no responsibility for the above nonsense.


    Left Justified

  • #14
    Regular Coder Graft-Creative's Avatar
    Join Date
    Aug 2004
    Location
    Web Designer - North East Lancashire U.K.
    Posts
    842
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Of course, Opera does this by default.....................SWEET

  • #15
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    This is how I did it

    Instead of target="_blank", I put target="_new". It worked for me.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •