Monday, August 31, 2009

[jQuery] Re: trying to talk to googleadservices via $.getScript()

aha! adbock?? maybe...

2009/8/31 Jan Limpens <jan.limpens@gmail.com>
firebug gives me this in html view:
<script src="http://www.googleadservices.com/pagead/conversion.js?_=1251741522425">
</script>

the qs is not mine, if jq adds is to prevent caching it is actually doing a bad service to me.
the given address works just fine.



2009/8/31 Jan Limpens <jan.limpens@gmail.com>
in chrome and ie that is. firefox still eats it.


2009/8/31 Jan Limpens <jan.limpens@gmail.com>
magic! the second, I wrote this post, it started to work.

2009/8/31 Jan Limpens <jan.limpens@gmail.com>

Hello,

miraculously enough, this call

$.getScript('http://www.googleadservices.com/pagead/conversion.js', function() { confirm('g'); });

does nothing and this one

$.getScript('http://tracker.webtraffic.com.br/statistic.js', function() {confirm('w')});

gives me the dialog. On firefox and IE (didn't test the others).

This is completely weird, but it does not surprise me from a company, that gives this kind of noop code to us:

if (1) {
  var google_conversion_value = 1;
}

I mean, seriously (taken from
http://www.google.com/adwords/learningcenter/text/19216.html)!

But - anyone did come around this somehow, or maybe test this in his/her firebug console?

--
Jan



--
Jan



--
Jan



--
Jan



--
Jan

No comments: