How do i prevent the outlook logout from redirecting to msn?

Anonymous
2013-06-29T05:05:34+00:00

At some point signing out of Outlook started redirecting to MSN. This is really frustrating - especially when accidently clicking anywhere on the screen that is NOT the login field causes the login form to disappear.

How do I disable this redirect? I would like to see the outlook login page when I sign out - not the MSN news page.

Outlook | Web | Outlook.com | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

116 answers

Sort by: Newest
  1. Anonymous
    2016-11-25T07:52:49+00:00

    Hey fellow sufferees,

    so this issue is seriously annoying and the fact that (as pointed out somewhere in this Thread) the dnsapi.dll actually contains a "msn.com" entry somewhere is just unbeleivable. Its a mystery how they had to remove their own products from windows a few years ago but do not need to remove that msn.com exception from an API (Aplication Programming Interface).

    Well for those of you who have some extension on their browser which just injects JavaScript to pages (instead of getting a full blown redirection plugin) here is another really short solution. It is derived from some 'insider' who replied earlier with a link that logs you out and redirects to the login page (thx to you):

    $('a[aria-label="Sign out"]').attr('href', 'https://login.live.com/logout.srf?ru=##encoded-url##').click(function() {});

    The above will find the logout button on outlook.com and insert a link to the logout web site with the redirect url option set to ##encoded-url##. So you can use the provided logout function and still  wont end up on that cancerous crime of a web page (Of course the ##encoded-url## will need to be replaced!!!).

    DOES NOT WORK, the menu containing the logout button is created each time the menu is opened, so the above would only work with an open menu!

    THIS WORKS in outlook.live.com at least:

    window.replaceRedirect = function() {

        $('a[aria-label="Sign out"]').attr('href', 'https://login.live.com/logout.srf?ru=##encoded-url##')[0].onclick = function() {};

    };

    $('button.o365cs-me-nav-item').click(function() { setTimeout(window.replaceRedirect, 500); });

    A little explaining (i feel like ppl are just throwing plugins in each other faces in here and do not in the slightest try to clear things up for noobish users): 

    The "https://login.live.com/logout.srf?ru=" is the actual logout. It will call the logout service of "Windows live" and provide the redirect URL (ru -> Redirect Url) to the service as well. Normally the service is called with the msn.com or no Redirect URL and therefore redirects to msn.com.

    Step by Step:

    However you access the Microsoft product (mail, account... whatever), just before you type in your name in the user box, copy the complete path in the AddressBar of your browser (it will show only login.live.com/login.srf, but if you click the address bar a complete path should be presented, that's the one you should copy).

    Then go to "http://urlencode.org/" and paste that copied address in there and hit the "encode button" (this will convert all characters on the given text into representations of those characters so the service won't  try to actually parse them, for example the colon sign must be encoded so that it won't be "translated into a command" [the easiest way i can put it]).

    Then take the result and paste it behind https://login.live.com/logout.srf?ru=

    The result would be https://login.live.com/logout.srf?ru=##pasted-text## where ##pasted-text## obviously is replaced with the text you pasted. This address can then be used as a mean to log out of the microsoft service you logged in to.

    (side note: You somehow cannot remove the ID= part from the url, it will then always redirect to the msn.com page)

    Of course you can also just use the above created URL and make a bookmark on your browser, if you do not have a possibility for javaScript injection.

    (JavaScript injection is nothing to be concerned about here, the above code only affects the html element itself and JavaScript is executed on the client (your own PC) Browser only, so you cannot do anything wrong with that and it will not harm your PC in any way (it wouldnt even be possible).

    I hope these instructions are clear for everyone.

    PS: do not bother to ask me which java script injection i use or what's it called or whatever, if you dont know how to find it yourself, you're probably better off using a bookmark anyways.

    PSS: The actual redirection does not seem to be done by the logout service, only if the presented ru is a login.live url. Otherwise the service will just redirect to: https://login.live.com/gls.srf?**urlID=msnhome**&lc=1033 (marked the part redirecting to the MSN Home Page bold)

    PSSS: FFS it's unbeleivably difficult to edit texts in here, one doesn't even notice that the text is not updated after submitting the 1st edit, so the 2nd edit reverts it all!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-10-26T15:44:28+00:00

    Sugiero usar los add-on para redireccionar o seguir alguna de tantas sugerencias citadas en este hilo.

    I suggest to use the redirectin add-ons or follow one of the many sugestions in this thread.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-10-26T15:16:24+00:00

    The Brazilian msn.com page has a lot of virus, my antivirus McAfee always blocks something there and when I use my email in others computers, pop-ups appears on msn.com with a lot of adds, even porns, after the sign out.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-10-25T01:14:12+00:00

    I Have ABP And it didn't work, Redirect Remover did

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2016-10-25T01:11:44+00:00

    If your using Firefox Go to add-ons and install Redirect Remover It Worked for me

    Was this answer helpful?

    0 comments No comments