-2

It seems like adblock for Chrome is preventing jquery's $.load() command from being executed. I looked around the web a little and couldn't find anything about this. It doesn't seem to block other jquery, such as $.ajax. I threw a little message on the main page of my site to warn users, but I'd rather find a fix or workaround. Anyone heard of this problem before?

Richard
  • 167
  • 3
  • 12
  • 1
    showing some code might do you some good since I've never encountered any problems between using `$.load` and chrome's adblock. – rgin Sep 26 '11 at 17:13

2 Answers2

2

Maybe what you're retreiving with .load() is injected in a div named publicity, advertising or something similar that get blocked by adblock.

Simon Arnold
  • 15,849
  • 7
  • 67
  • 85
  • fwiw this is what the problem turned out to be – Richard Jul 29 '12 at 00:02
  • 1
    this just saved my life. i had a container named "popup" - even though it was a simple div overlay opened on user event (mouse click), adblock did not open it. renamed it, works fine now. thank you! :) – andyrandy Jul 22 '14 at 16:49
1

jQuery .load() is just shorthand for an Ajax load, so if Ajax is worknig but not .load(), it's probably something you did wrong.

adeneo
  • 312,895
  • 29
  • 395
  • 388