Page 1 of 1

[Resolved] googletag surrogate broken on ebay kleinanzeigen

Posted: Tue Nov 17, 2015 12:37 pm
by bgmnt
Hey,
I noticed that on ebay-kleinazeigen.de, I have to allow googletagservices.com in order to see the pictures in full.
Example link:
http://www.ebay-kleinanzeigen.de/s-anze ... 6-217-2053

If you click on the picture you are supposed to see them in big, however with not allowed googletagservices.com, one just sees a blank pop-up.


So something might not work with the surrogate here, can someone take a look?
Thanks!

Re: googletagservices surrogate not working on ebay kleinanz

Posted: Tue Nov 17, 2015 1:03 pm
by barbaz
Just to make sure, are you using latest development build or NoScript 2.6.9.39 (both should be the same atm)?

Re: googletagservices surrogate not working on ebay kleinanz

Posted: Tue Nov 17, 2015 2:29 pm
by bgmnt
barbaz wrote:Just to make sure, are you using latest development build or NoScript 2.6.9.39 (both should be the same atm)?
I'm using 2.6.9.39 .

Re: googletagservices surrogate not working on ebay kleinanz

Posted: Tue Nov 17, 2015 3:23 pm
by barbaz
OK, looking into it in just a moment...

UPD I can confirm the problem.

Re: googletagservices surrogate not working on ebay kleinanz

Posted: Tue Nov 17, 2015 3:49 pm
by barbaz
fixed surrogate:

Code: Select all

if(typeof googletag==='undefined'){googletag={slots:{},cmd:$S({__noSuchMethod__:function()this,push:function(f){return f()}})};} googletag.defineSlot=function(){return $S({__noSuchMethod__:function(){},addService:function(){return $S({__noSuchMethod__:function(){return googletag.addService();}})}})};let _gt=googletag;googletag=new Proxy(_gt,{get:function(s,w,e){return w in s?s[w]:function(){return $S({__noSuchMethod__:function(){return googletag;}})};}});let _renderedAds=new Proxy({},{get:function(a,b){return b in a?a[b]:{size:[729,90]};},set:function(a,b,c){a[b]=c}});let _adsRenderedInfo=new Proxy({get:function(n){return _renderedAds[n];}},{get:function(x,c){return c in x?x[c]:function(){};},set:function(x,c,v){}});Object.defineProperty(googletag,'adsRenderedInfo',{enumerable:true,set:function(){},get:function(){return _adsRenderedInfo;}});

Re: googletagservices surrogate not working on ebay kleinanz

Posted: Tue Nov 17, 2015 7:00 pm
by bgmnt
barbaz wrote:fixed surrogate:
...
Cool, thanks!
So I just wait for the update?

Re: googletagservices surrogate not working on ebay kleinanz

Posted: Tue Nov 17, 2015 7:07 pm
by barbaz
Basically yes, but in the mean time you could set about:config > set noscript.surrogate.googletag.replacement to the above code (but if you do that, remember to reset it to default value after the update so that you receive further updates to the surrogate).

Re: googletagservices surrogate not working on ebay kleinanz

Posted: Mon Nov 23, 2015 5:50 pm
by barbaz
Fix included in 2.7rc1