Scripts


Styles


Plugins


Users


Forum


Developer
Username:
Password:
User Scripts
Title:

Windows Live Hotmail Right-side Ad Remover

Date Added:
2009-08-04 07:59:21 Installs: 3016
Description: Removes right-side ad in Windows Live Hotmail and fills out area.

Note: also removes 'Quick Add'-pane.
Preview of Windows Live Hotmail Right-side Ad Remover
View script source of Windows Live Hotmail Right-side Ad Remover
Comment of Windows Live Hotmail Right-side Ad Remover
[2009-06-10 09:49:38]langware says:
@jme0001:

I sent you email with the other script I wrote and instructions for installing it into IE7Pro.

Let me know if that script works for you (i.e., removes the ad on the right of your Hotmail inbox).

langware

[2009-06-20 17:58:42]cyterx says:
hello
this is very useful
i was trying but i can figure out how to redirect that "Windows Live Hotmail Right-side Ad " to www.games.com, i dont want to be removed, i want to be redirected
thanks
would some one tell me the script thanks

[2009-06-24 21:11:41]langware says:
@cyterx:

I do not understand your question. Please elaborate.

[2009-08-04 08:00:34]Protector0ne says:
Version 4.8 prevents a Javascript error that started appearing recently.

[2009-08-17 04:56:12]jiu2k says:
I installed the script and it is working like charm with one little problem. I have a blank area at the bottom. Anyone knows how to remove it? I tried switching view of reading pane and found out with reading pane set at bottom, most spaces were wasted.

[2009-08-17 14:00:31]langware says:
@jiu2k
Below is my version of the script. It not only removes the ads, but also removes the reading pane. You can give it a try and see if it solves the problem you are having with a blank area at bottom ... note that some of the comment lines may get wrapped in the text below ... make sure all comment lines begin with //

// ==UserScript==
// @author langware
// @version 4.1.1
// @name Langware Hotmail Ad Remover V4.1.1
// @description Remove ads and other annoyances from Windows Live Mail
// @include http://*.mail.live.com/*
// @include https://*.mail.live.com/*
// @include http://mail.live.com/*
// @include https://mail.live.com/*
// @date May 8, 2009
// @injectframes 1
// ==/UserScript==


// This script removes the ads on the right,
// the Quick Add pane, and the "Add to Network" button.

// This script also expands the folder list (on left) downward
// (covering Today, Contacts, Calendar - use icons at top to reach these functions).

// This script expands the inbox to cover the Reading Pane.
// You may need to slightly modify the code below to fine tune the
// amount that the inbox expands.

// If you want to use the Reading Pane, you will need to delete some
// code below.


var x;
var mydiv = new Array();

mydiv[0] = "cAdBannerContainer";
mydiv[1] = "FooterContainer";
mydiv[2] = "RadAd_Today300";
mydiv[3] = "cRadAds";
mydiv[4] = "cToolsCustomerCommunication";
mydiv[5] = "c120x60CustomerCommContainer";
mydiv[6] = "CustComm_120x60";
mydiv[7] = "dSideAds";
mydiv[8] = "dapIfM0";
mydiv[9] = "RadAd_Banner";
mydiv[10] = "RadAd_TodayPage_Banner";
mydiv[11] = "RadAd_Skyscraper";
mydiv[12] = "IAPWrapper";
mydiv[13] = "SideAdCol";
mydiv[14] = "AddToNetworkBtn";

for (x=0;x<=14;x++)
{
var DD=document.getElementById(mydiv[x]);
if(DD!=null)
{
DD.style.display='none';
}
}

mydiv[0] = "TodayDefault";
mydiv[1] = "cContentInner";

for (x=0;x<=1;x++)
{
var DD=document.getElementById(mydiv[x]);
if(DD!=null)
{
DD.style.marginRight="0px";
}
}


mydiv[0] = "MainContent";
mydiv[1] = "ManagedContentWrapper";

for (x=0;x<=1;x++)
{
var DD=document.getElementById(mydiv[x]);
if(DD!=null)
{
DD.style.right="0px";
DD.style.marginRight="2px";
}
}

// ----------------------------------------------------

// expand Folder pane downward

// first try element for inbox
var FP=document.getElementById("folderListContainer");
if(FP!=null)
{
var FP_Parent=FP.parentNode;
FP_Parent.style.bottom="0px";
}
else
{
// if not in inbox, see if new message window is displayed
var FP2=document.getElementById("folderList");
if(FP2!=null)
{
var FP2_Parent=FP2.parentNode;
FP2_Parent.style.bottom="0px";
}
}

// ---------------------------------------------






// ---- Delete code in this block if you want to use the Reading Pane



// if reading pane enabled, then remove reading pane


var RPCC=document.getElementById("readingPaneContentContainer");
if(RPCC!=null)
{
var ReadPane=document.getElementById("readingPaneSplitter");
if(ReadPane!=null)
{
var RP_Parent=ReadPane.parentNode;
RP_Parent.removeChild(ReadPane);
}
}

// expand inbox pane downward and to right

var MsgPane=document.getElementById("messageListSplitPane");
if(MsgPane!=null)
{
// The following percents may have to be modified to fit user's screen size
MsgPane.style.width='100%';
MsgPane.style.height='94%';
}

// ------ End of code block that should be deleted if you want to use the Reading Pane

[2009-08-19 04:18:20]jiu2k says:
Thanks so much for sharing, langware. It didn't make much differnce to the original script on this post, blank space still appears. I suppose if its because I am using the outdated IE6.

[2009-08-19 14:23:25]langware says:
@jiu2k,

If/when you consider upgrading to a newer browser ... consider FireFox. I have made FireFox my default browser mainly because IEPro is no longer being supported, and FireFox has many many supported and free extensions including GreaseMonkey (which will run user scripts) and Adblock Plus (which blocks ads).

[2009-08-28 07:22:07]Protector0ne says:
Langware, I believe you are incorrect in your assumption that IEPro is no longer supported. A new version was released not that long ago.

[2009-08-28 20:12:33]langware says:
@ProtectorOne:

Yes, you are correct ... a new version of IEPro was released not long ago. So, in theory, IEPro is still supported. My apologies to anyone that was confused by my post.

But let me clarify my position .... IE8 has been out for quite some time and (to my knowledge) there is no version of IEPro that is documented to be compatible with IE8. I've read many posts in these forums from people who have managed to get the current version(s) of IEPro to work with IE8, but usually some hack is required (by the user). That, plus the apparent absence of posts/activity from the IEPro developers, is what lead me to state (incorrectly) that IEPro was no longer supported. I should have qualified my statement to say that there is no official version of IEPro that is documented to work with IE8, and no announcement from the IEPro developers of a timeframe when such an IE8 compatible release will be made available.

I think IEPro is a wonderful product. Unfortunately, the apparent lack of response from the IEPro developers (on the status of an IE8 compatible version) has resulted in my moving to Firefox and its various extensions (which are being actively supported).

[2009-09-16 21:33:59]ish says:
THIS THING IS A BLESSING

win7 and IE8 and IEPro , this script installed

-skyscrapper banner on the right went away and the reading pane expanded out of the box.
- but not the QuickAd under the FolderList, so thnx to Langware i added his block of code for the small QuickAd...its just perfect..

----------thnx again Langware-------------------




// ==UserScript==
// @author ProtectorOne, langware
// @version 4.8
// @name Hotmail Ad Remover
// @description Removes ad and Quick Add pane from Windows Live Mail
// @include http://*.mail.live.com/*
// @include https://*.mail.live.com/*
// @include http://mail.live.com/*
// @include https://mail.live.com/*
// @date 4 August 2009
// @injectframes 1
// ==/UserScript==
// This script removes the ads on the right,
// the Quick Add pane, and the "Add to Network" button.

// This script also expands the folder list (on left) downward
// (covering Today, Contacts, Calendar - use icons at top to reach these functions).

// This script expands the inbox to cover the Reading Pane.
// You may need to slightly modify the code below to fine tune the
// amount that the inbox expands.

// If you want to use the Reading Pane, you will need to delete some
// code below.


var x;
var mydiv = new Array();

mydiv[0] = "cAdBannerContainer";
mydiv[1] = "FooterContainer";
mydiv[2] = "RadAd_Today300";
mydiv[3] = "cRadAds";
mydiv[4] = "cToolsCustomerCommunication";
mydiv[5] = "c120x60CustomerCommContainer";
mydiv[6] = "CustComm_120x60";
mydiv[7] = "dSideAds";
mydiv[8] = "dapIfM0";
mydiv[9] = "RadAd_Banner";
mydiv[10] = "RadAd_TodayPage_Banner";
mydiv[11] = "RadAd_Skyscraper";
mydiv[12] = "IAPWrapper";
mydiv[13] = "SideAdCol";
mydiv[14] = "AddToNetworkBtn";

for (x=0;x<=14;x++)
{
var DD=document.getElementById(mydiv[x]);
if(DD!=null)
{
DD.style.display='none';
}
}

mydiv[0] = "TodayDefault";
mydiv[1] = "cContentInner";

for (x=0;x<=1;x++)
{
var DD=document.getElementById(mydiv[x]);
if(DD!=null)
{
DD.style.marginRight="0px";
}
}


mydiv[0] = "MainContent";
mydiv[1] = "ManagedContentWrapper";

for (x=0;x<=1;x++)
{
var DD=document.getElementById(mydiv[x]);
if(DD!=null)
{
DD.style.right="0px";
DD.style.marginRight="2px";
}
}

// ----------------------------------------------------

// expand Folder pane downward

// first try element for inbox
var FP=document.getElementById("folderListContainer");
if(FP!=null)
{
var FP_Parent=FP.parentNode;
FP_Parent.style.bottom="0px";
}
else
{
// if not in inbox, see if new message window is displayed
var FP2=document.getElementById("folderList");
if(FP2!=null)
{
var FP2_Parent=FP2.parentNode;
FP2_Parent.style.bottom="0px";
}
}

// ---------------------------------------------

// remove Quick Add
var i, mc, QAPane = document.getElementById('IAPWrapper'),
ids = ['MainContent','ManagedContentWrapper'];
if(QAPane) QAPane.parentNode.removeChild(QAPane);

// expand panes
for (i in ids){
mc = document.getElementById(ids[i]);
if (mc){
mc.style.right = '0px';
mc.style.marginRight = '1px';
}
}





-------------------------------------

[2009-09-16 23:36:55]langware says:
@ish,

Looks like you used a bit of my code and a bit of ProtectorOne's code ... so thanks also go out to ProtectorOne.

  • <<
  • 1
  • 2
  • >>

  • Join Iescripts for a free account, or Login if you are already a member.
    Username: Password:

    Written by
    Name:Protector0ne
    Scripts:19
    Styles:1
    Plugins:0
    Tags
    Windows, Live, Mail, Ad, Hotmail
     
      About IE7Pro
    IE7Pro is a plugin for the Internet Explorer web browser. It allows you to change how your favorite pages behave and look. There are many scripts that have already been written, and if you know javascript you can easily create your own! This site is a repository to download and install IE user scripts.
      How to install user script

    1 . First you should have install IE7Pro 0.9.12 and above which support IE user scripts.

    2. Check if IE7Pro "Preference" - "User Scripts" - "EnabLe User Script" is enabled.

    3. Find your favorite scripts on iescripts.org and click "Install This Script" .

     

    iescripts.org