Page 1 of 1
ebay - how to stop a scrolling ad?
Posted: Sun May 26, 2013 8:59 am
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).
Re: ebay - how to stop a scrolling ad?
Posted: Mon May 27, 2013 4:47 am
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.
Re: ebay - how to stop a scrolling ad?
Posted: Mon May 27, 2013 1:28 pm
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.
Re: ebay - how to stop a scrolling ad?
Posted: Tue May 28, 2013 9:51 am
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*
Re: ebay - how to stop a scrolling ad?
Posted: Thu May 30, 2013 8:29 am
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
Re: ebay - how to stop a scrolling ad?
Posted: Thu May 30, 2013 9:16 am
by Giorgio Maone
It works for me. Could you double check your preferences and/or PM me your
prefs.js file?
Re: ebay - how to stop a scrolling ad?
Posted: Fri Jun 07, 2013 10:06 am
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