Requesting syntax help for new yahoo mail banner

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
xtcmax
Posts: 39
Joined: Mon Apr 27, 2015 11:47 am
Location: CA,USA
Contact:

Requesting syntax help for new yahoo mail banner

Post by xtcmax »

Hello.
There is a new Tax banner in yahoo mail, which drops down/opens down/scrolls down as page is visited. I have failed to find a way to block it. I blocked the div, but the empty space still appears as on the provided image.
Please help.

max.

Image
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Requesting syntax help for new yahoo mail banner

Post by mapx »

I can't reproduce that ad
Did you try using EHH ?
xtcmax
Posts: 39
Joined: Mon Apr 27, 2015 11:47 am
Location: CA,USA
Contact:

Re: Requesting syntax help for new yahoo mail banner

Post by xtcmax »

I can't get this add to come down. I will update with more screenshots and info when it does.

What is EHH ?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Requesting syntax help for new yahoo mail banner

Post by mapx »

EHH = element hiding helper (works together ABP and helps you creating your own hiding filters)
https://addons.mozilla.org/firefox/addo ... idehelper/
xtcmax
Posts: 39
Joined: Mon Apr 27, 2015 11:47 am
Location: CA,USA
Contact:

Re: Requesting syntax help for new yahoo mail banner

Post by xtcmax »

Hello agian.
I do use EHH, but that empy space keeps coming back. Here is the screenshot:

Image

This "use EHH" brings another question.
When I want to select Narrower DIVs , I have to press N, but N in yahoo mail starts a new e-mail. How can I stop yahoo from using shortcuts?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Requesting syntax help for new yahoo mail banner

Post by mapx »

I was able to reproduce that placeholder only temporarily and only using a us ip. I can't find a filter even using EHH.
Anyway you can use EHH in advanced view (and edit the hiding filters) and press the ABP icon on the left.
denmarks
Posts: 20
Joined: Wed Apr 04, 2007 7:40 pm

Re: Requesting syntax help for new yahoo mail banner

Post by denmarks »

The ad does not always appear. Yahoo somehow keeps track of your viewing it and then hides it for a while. I have not been able to find a div to hide with EHH. Please clarify what advanced view is?

Now I can't even get the ad to appear to experiment with it.

If anyone has managed to hide it permanently please list the actual filter.
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Requesting syntax help for new yahoo mail banner

Post by smed79 »

@xtcmax install Greasemonkey https://addons.mozilla.org/fr/firefox/a ... asemonkey/
create text file named y.mail.empty.space.remover.user.js
copy/past/save this code:

Code: Select all

// ==UserScript==
// @name Yahoo mail empty space remover
// @namespace Yahoo mail empty space remover
// @description https://adblockplus.org/forum/viewtopic.php?f=1&t=43654#p146548
// @author ABP
// @version 1.0
// @encoding utf-8
// @include https://*.mail.yahoo.com/*
// @run-at document-start
// @grant none
// ==/UserScript==

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('#shellcontent { right: 0px !important; }');
addGlobalStyle('#uhWrapper { margin-top: 0px !important; }');
drag and drop this .js fale to Firefox (install script) and refresh yahoo mail page and see if help.
xtcmax
Posts: 39
Joined: Mon Apr 27, 2015 11:47 am
Location: CA,USA
Contact:

Re: Requesting syntax help for new yahoo mail banner

Post by xtcmax »

Thank you all for the replies.
Here are a couple of more screenshots, perhaps it would help?

1.

Image


2.
Image

p.s. I will try the greasemonkey, but I really don't want to clutter my PC with extra stuff just because of 1 annoying add. I hope we can find a solution.
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Requesting syntax help for new yahoo mail banner

Post by smed79 »

Try disabling adblock acceptable ads : acceptable-ads#optout
xtcmax
Posts: 39
Joined: Mon Apr 27, 2015 11:47 am
Location: CA,USA
Contact:

Re: Requesting syntax help for new yahoo mail banner

Post by xtcmax »

Smed,
I installed the Greasemonky with the provided JS. The empty space still appears.
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Requesting syntax help for new yahoo mail banner

Post by smed79 »

xtcmax wrote:Smed,
I installed the Greasemonky with the provided JS. The empty space still appears.
can you send me (or to @mapx) via MP the the page html code source when you get this blank space ?

copy/past on http://nopaste.linux-dev.org/
Locked