How to open links in the same window, without changing preferences?

What I want to know is if there's a way to force a click on a link to open in the current window just one time, if the page was using target=_blank or other methods to open a new tab/window.
The context menu doesn't have an option for that, was hoping for a modifier key option or something, or perhaps a plugin that would add such an option.
I know there's an advanced pref to change the behaviour of clicking on links to control new tabs, windows, etc. I don't want to change the default, I just for certain links want to prevent the new tab on a one-up basis.
(currently on Firefox 30 for Mac)

Firefox actually doesn't have any built-in preference for overriding the target attribute. If you are on a site where you know the link is coded to open in a new tab, currently, the best workarounds are:
* drag and drop the link on the address bar
* right-click > Copy Link Location and then paste in the address bar
Neither is convenient...
You might be able to find an add-on for this. For example, Tab Mix Plus, Tab Utilities, and other multi-functional tab-related extensions might have an option to force links into the same tab. In a brief search, I saw one called TargetKiller that is more focused on this but recent reviews mention conflicts with other extensions. If this is a frequent pain point, you could search further on the add-ons site.
* https://addons.mozilla.org/firefox/addon/tab-mix-plus/
* https://addons.mozilla.org/firefox/addon/tab-utilities/
* https://addons.mozilla.org/firefox/addon/targetkiller/
Let us know the progress of your search.
Another possibility is to solicit someone to write a userscript. A userscript is a JavaScript add-on that can modify web pages, but not the user interface (for example, it cannot add a right-click context menu item). You need the Greasemonkey extension to run userscripts, and you need to evaluate them carefully because they are not formally reviewed by anyone.
You can contact userscript authors through these sites, and if someone is interested, they'll usually write the script for free and post it for everyone's benefit:
* https://greasyfork.org/forum/categories/script-requests
* https://openuserjs.org/corner

Similar Messages

  • Open link in the same Window

    Hello,
    i want to open a link from a WDA Action Method, in order to open a bsp applikation. The new page should appear in the same window (no popup, no new window). Here the code which i have at the moment, but the BSP Applikation starts always in a new window. What can i do ?
    data:
    lt_parameters TYPE TIHTTPNVP,
    ls_url               type string,
    lo_window_manager type ref to if_wd_window_manager,
    lo_api_component      type ref to if_wd_component,
    lo_window                type ref to if_wd_window.
    CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
          EXPORTING
            bsp_application       = 'ZHRMPBA004'
            bsp_start_page       = 'ZHRMPBPTI006.htm'
            bsp_start_parameters = lt_parameters
          IMPORTING
            abs_url              = ls_url.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    CALL METHOD lo_window_manager->CREATE_external_WINDOW
              EXPORTING     URL            = ls_url
             RECEIVING     WINDOW         = lo_window.
    lo_window->open( ).
    thanks for replays

    You are calling CREATE_external_WINDOW. That API is designed to open the application in a new window.  So that isn't appropriate for what you want.  If you want to navigate in place then you should use an Exit Navigation Plug.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm

  • How to open BSP in the same window of WD?

    Hi,
    I have a WD that I would like to link to a BSP.
    I added a link and put the relative path to the BSP.
    Once I click on that link, the BSP is opened in a new window.
    I want the BSP to open in the same window, replacing the WD.
    I tried putting in the TARGET of the link: '_self', frame name and more but it does not work.
    (BTW, I am trying to call SRMSUS BSP).
    Any ideas?
    Thanks,
    Itay

    You need to use an Exit Navigation Plug instead:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm

  • Opening .pdfs in the same window/tab.

    I look at a lot of .pdfs (Journal Articles) in my browse. Generally, I only download a fraction of the ones I look at. Recently, Firefox has stopped opening .pdfs in the same window/tab. Instead, it prompts me to download every .pdf I want to look at. I then have to save them, open them on my desktop, look at them, and then delete the ones I do not want to keep. Does anyone know how to get Firefox 10.0.2 to start opening .pdfs in the same window/tab again?

    Adobe PDF Reader is not on your list of Plug-ins submitted with your question (click on "More system details" to the right of your original question). If it is disabled on the Plug-ins list (''Add-ons > Plugins''), click "Enable". If it is not installed on your system (in your Programs folder), then download the installer and run the installer after it is saved to your hard drive (install with Firefox closed).
    *See --> [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox] ('''''NOTE:''''' un-check any items on the Adobe download page that you do not want installed on your system)
    *Also see --> [https://support.mozilla.org/en-US/kb/Opening%20PDF%20files%20within%20Firefox Opening PDF files within Firefox]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *'''''Adobe Shockwave for Director Netscape plug-in''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Opening URL in the same window

    Hello,
    I have a webdynpro Java Application which is opened on the click of the iview which is created for it.....now i want to specify a URL for it which should open it in the same window.....rather than an external window.....how can i achieve the same...? how can i specify the URL in the Default Plug (event handler) of the Interface View Controller.....so that it opens up...
    Any help would be highly appreciated...
    Regards,
    Shikhil

    Hi Shikil,
    use this
    String navigateto="ROLES://portal_content/";
    WDPortalNavigation.navigateAbsolute(
                                                 navigateto,
                                                 WDPortalNavigationMode.SHOW_INPLACE,
                                                 (String) null,
                                                 (String) null,
                                                 WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                                                 (String) null,
                                                 (String) null,
                                                 (String)null);
    navigateto is the pcd of your iview.
    thanks,pkv

  • How to create links to the same page, how to create links to the same page

    How to create link to the same page with iweb?
    Thanks

    You're referring to anchors.  There are a couple of ways. These topics discuss them:
    iWeb FAQ - Anchors
    How do i hyperlink to certain portion...: Apple Support Communities
    OT

  • TS1424 I downloaded a song that I purchased from the ITunes store, but the song does not play properly.  How can I re-download the same song without having to purchase it a second time?

    I downloaded a song that I purchased from the ITunes store, but the song does not play properly.  How can I re-download the same song without having to purchase it a second time?

    I could not find an option to "report a problem".
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the entry, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.
    (Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.)

  • How do I make my page links open up within the same window?

    I am completely stumped. By default for some reason, every single link I have on all my pages opens up in an external window rather than within the same window. I can't find anywhere to turn this off. I have my hyperlinks open to my other pages not an external page. Please help!

    Are these text based hyperlinks that you created?  If so then go to the Inspector/Link/Hyperlink pane and make sure the checkbox to Open link in new window is unchecked.
    Click to view full size
    What's the URL of your site so we can examine it first hand? 
    OT

  • Opening the link in the same window in WAD

    Hi,
    I have a view when I run it dispalys th data in the same view I have link when I click on the link it should own in the same window instead of opening it in the new window ,how can this be done in WAD3.5
    Regards,
    Priya

    Priya,
    This opens up another template in the same IE session for us:
    "<SAP_BW_URL CMD='CHANGE_TEMPLATE' TEMPLATE_ID='Ztrad_Ww005'>">Cash Targets by Branch"
    Note: Start the link with <Ahref="   .... and end with </A>.  When I put these into the link all you see is the Cash Targets text.
    Regards
    Gill

  • How to force to open link in the same tab ?

    Hi Guys,
    I am sure this question has been asked many times, but I wasn't successful finding an answer...
    In Safari, how do I force to open a link in the same tab (not open in a new tab in same window!)
    There must be a way to do it...
    Thanks for answering (again).
    Ray

    Hi Ray
    I'm still on Tiger, not Leopard.... but I guess you mean how to stop a link that opens a new window from doing so? Like This one ?
    In Tiger, the only way I know other than some 3rd party add-on is to drag the link to the address bar.... although that assumes you know it tries to open a new window by checking the status bar.

  • Open a URL link in the same window as SWF file in indesign CS5

    Hello,
    I am trying to create a SWF file using indesign CS5.  I have created buttons and placed in URL links but they always open another window.  I would like to know if there is a way to have the URL open in the same window that the SWF file has been created.  I tried, putting "_self" to target it in the URL bar, but nothing works.
    Thanks in advance
    TK

    Okay, I found the code but I can't get it to work locally.  If you have a web server maybe you can upload the files (swf and html) after you Publish them:
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    var myURL:URLRequest = new URLRequest ("http://www.google.com");
    testlink.addEventListener(MouseEvent.CLICK, clickText);
    function clickText(myevent:MouseEvent):void {
    navigateToURL(myURL, "_self");
    you have to have on the stage a link element called "testlink" (see the code above) which would be a Movie Clip with the label testlink.  It can be anything from InDesign:  a button, a rectangle, a circle, a graphic, you get the idea.  Just select that object in Flash and label it testlink or anything you choose but if you change the name from testlink also change the name in the code snippet where the line "addEventListener" is.

  • Can I set Firefox to open a page link in the same window (not a new tab) so I can just go back to the page instead of having to close the window?

    When I am on some pages, clicking on a article/picture link opens a new tab instead of continuing in the same window. By staying in the same window, I can back click on my mouse and continue on with other reading/links on the original page without manually having to move the mouse and click to close the tab. For example: on news pages, if I click on a financial article, a new tab opens with that linked article on the website's financial site. If I keep going back to the original page w/o closing tabs, I end up with too many tabs open.

    yeah, instead of using multiple windows, you can use multiple tabs inside one window. That way, you can browse multiple websites at once without having to flick back and forth between multiple windows.
    To open tabs of the websites you want to browse, just right-hand click on whatever website you want to visit (For example a site from your bookmarks or a site from a Google search result) and select 'open link in tab'.

  • How do I set Firefox to open items in the same window instead of a new tab or window?

    I want to be able to open items (such as click on the results of a search) and not have it open in a new tab or window, just open in the same window (as the search results).

    See:
    *http://kb.mozillazine.org/browser.link.open_newwindow
    *1: current tab; 2:new window; 3:new tab;
    For links opened via JavaScript you can look at this pref:
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • Anyone know how open slideshow in the same window?

    Does anyone know how to make the slideshow open in the same window as the as the site instead of a new window? I'm looking for the location and code that would make it happen on a .mac site.

    Yes, of course, you can do this! You just have to know the address for the slideshow page directly....
    http://web.mac.com/username/iWeb/sitename/photopagename_files/slideshow.html
    username = your .Mac username
    sitename = your site name
    photopagename = whatever you named your photo template page
    Example:
    http://web.mac.com/jwtseng/iWeb/kate/art_files/slideshow.html
    Once you find this URL, then all you have to do to get it to appear as part of your page is to specify an iframe tag with the URL...
    <iframe src="http://web.mac.com/jwtseng/iWeb/kate/art_files/slideshow.html" width="980" height="760" scrolling="no" border="0" style="border:none;" frameborder="0"></iframe>
    This is the little bit of code that you will need to insert into your iWeb pages in order to make the slideshow appear "inside" a frame on the page. Just change the underlined URL to your own slideshow URL.
    To prepare the page in iWeb, you'll need to make a textbox on a page that is 980x760 in dimension (you'll need to adjust the default width of the page). Then type in some placeholder text, like "SLIDESHOWHERE". Publish the page. Then go into your iDisk/Web/Sites/iWeb/sitename folder and find the pagename.html file. Open it with TextEdit (make sure to tell TextEdit to "ignore rich text format"). Then find the part of the code where your placeholder text is. Replace the placeholder text with the iframes code. Then save your work.
    When you check your page in Safari, you should see the slideshow appear inside the page exactly where you positioned the textbox in iWeb.

  • Key shortcut to force opening link in the same tab?

    Is there any specific key shortcut to open any link in the same tab (even if the website specifies it should be opened in a new tab/window)? Like Ctrl+Mouse click forces every link to be opened in a new tab and Shift+Mouse click - new window.
    I have already seen this question: https://support.mozilla.org/pl/questions/970999 but I'd like to be able to choose manually every time whether I want to open the link in the same tab or not.

    HI the.real.nps,
    Thank you for your question. I understand that you would like the option to choose whether or not to open a url in a new tab or the same tab each time a link is clicked.
    Currently this can be done by right clicking on a link. Each of these options are provided.

Maybe you are looking for

  • Message appears when trying to connect to itunes.

    Hi, I just bought myself an ipod shuffle, and using the CD downloaded itunes, eveerything was working perfectly. I set up an account with itunes, signed in, but as yet I haven't bought and dowloaded any music. Only from a CD I had. I have been trying

  • Excel 2010 - Can't Save File Becasue It's Opened By Another User

    Hi All, I'm using excel 2010, I can create an excel doc, update it, save it on the network, then close it. Then go out of the folder its saved in, go back in and open the file but it flags up as read only as its 'opened by another user'. I can confir

  • Computer won't recognise 2nd ipod

    hi, i'm having issues adding another ipod to my system. I already have an ipod mini that i've had for nearly a year now, my brother has just bought an ipod with iphoto. for some reason the computer we share just will not recognise his ipod. it seems

  • Oracle Text - Compressed (ZIP) documents support

    Is it possible for Oracle Text to index files of various formats like DOC, PDF, HTML compressed in the ZIP archives? I have read some Oracle text documentation and it seems that this feature is not available out-the-box? Does anyone have any idea how

  • 8310 PDF Reading - Not Solved

    Contrary to what my ham-fisted fingers hit (the Solved Button), I still can't read PDF files.   I am unable to read PDF files unless they are sent as actual email as attachments.  I intend to use the 8310 to read service manuals instead of my compute