ebay - how to stop a scrolling ad?

Ask for help about NoScript, no registration needed to post
troubled

ebay - how to stop a scrolling ad?

Post by troubled »

I want to stop the scrolling ads on ebay before they fry my cpu.

Ideally I would like an ebay site-wide rule.

To give you an example of what I am finding annoying please go to http://www.ebay.co.uk/ and search for item # 380648406267. (Sorry, I did paste the exact web page here but when I hit the preview button it had shortened the link.

I have all the scripts on the page enabled except for ebayrtm.com (I don't remember why I don't allow this one but I don't appear to have broken anything).

I only want to stop/remove/hide the scrolling part of the ad. I want the main body of the advertisement to remain (i.e. to see description relating to the ebay item, but not what else the advertiser has for sale).
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20121207 Iceweasel/3.5.16 (like Firefox/3.5.16)
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: ebay - how to stop a scrolling ad?

Post by Thrawn »

You'll need to try writing a surrogate script if you want to do this. You can go to about:config and search for 'surrogate' to find examples.

By the way, to post a longer link, you can use [ url ] tags.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0
troubled

Re: ebay - how to stop a scrolling ad?

Post by troubled »

Thrawn wrote:You'll need to try writing a surrogate script if you want to do this. You can go to about:config and search for 'surrogate' to find examples.

By the way, to post a longer link, you can use [ url ] tags.
Thanks for the reply. I did take a look in about:config (and often make small adjustments there), however looking at the volume of surrogate variations I wouldn't know where to start.

I'm hoping someone has a solution using noscript, abp or one of the others fx addons.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20121207 Iceweasel/3.5.16 (like Firefox/3.5.16)
User avatar
Giorgio Maone
Site Admin
Posts: 9557
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: ebay - how to stop a scrolling ad?

Post by Giorgio Maone »

Just create the following two about:config string preferences:

noscript.surrogate.ebayscroll.replacement
window.setInterval=function(f,t) f.name=="move"?-1:window.__proto__.setInterval.call(window,f,t);

noscript.surrogate.ebayscroll.sources
@.ebay*
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
troubled

Re: ebay - how to stop a scrolling ad?

Post by troubled »

Giorgio Maone wrote:Just create the following two about:config string preferences:

noscript.surrogate.ebayscroll.replacement
window.setInterval=function(f,t) f.name=="move"?-1:window.__proto__.setInterval.call(window,f,t);

noscript.surrogate.ebayscroll.sources
@.ebay*

Thanks for personally replying Giorgio - appreciated.

Unfortunately, still the scrolling ad stubbornly refuses to bulge.

http://www.ebay.co.uk/itm/380648406267
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20121207 Iceweasel/3.5.16 (like Firefox/3.5.16)
User avatar
Giorgio Maone
Site Admin
Posts: 9557
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: ebay - how to stop a scrolling ad?

Post by Giorgio Maone »

troubled wrote: Unfortunately, still the scrolling ad stubbornly refuses to bulge.

http://www.ebay.co.uk/itm/380648406267
It works for me. Could you double check your preferences and/or PM me your prefs.js file?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
troubled

Re: ebay - how to stop a scrolling ad?

Post by troubled »

Hi Giorgio,

I tried your settings using a live linux cd with firefox 19 - it works beautifully!

The OS I am using at the moment is dated and uses an older version of firefox - I will soon be replacing it.

BTW, I also tried your solution using a live cd (with a fresh copy of firefox 3.5.16). The solution does not work on Firefox 3.

That's ok I don't expect legacy support.

I will use your fix in my next OS build and I can adapt it for other sites should the need arise.

Thanks for all the fine work your doing with noscript.

Martin
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20121207 Iceweasel/3.5.16 (like Firefox/3.5.16)
Post Reply