Fixed: ignores counter and runs in child frame/window.