This might not get you into your dream company. But it can get you a next job to grow from.
For one of my jobs I had no contacts in the industry so I emailed someone at the company who went to my school, mentioned we both went there, and could they meet for coffee. I then drove 2 hours to meet him. We discussed what was happening at his company, are there opportunities, and he referred me.
I moved here (the Valley) because I met my wife online. Reached out to anyone I was vaguely connected to at the time. Got a few "send me your resume", none of them were a good fit.
All the interviews I got (some good, some bad) were either from headhunters, or through LinkedIn applications. In the end, a random, "don't know this company, but they want software people" ad on LinkedIn resulted in the GREAT job I've had for 1.5 years now (about a year after getting laid off) - way better pay, better work-life balance, etc.
So applying online CAN work.
When I am in a hiring role, I am not flipping through memories of good times with former coworkers that I had deep and meaningful time with -- I'm thinking back to who was the verb who got ish done and will make my project a success.
looking back, the best options i got was from active networking in tech and business communities. actually, all of my jobs and clients come through that. except the most current one, which is from reconnecting to an old client, but there too the initial connection and the reconnection happened through a tech community.
People who have networks all know this. The issue is that a shocking number of people don't have any network at all. These tend to be the sorts of people who are either actively antisocial at work (the "coworkers aren't your friends" type) or job hop so frequently that they don't spend enough time at any single job to develop any meaningful professional, let alone personal connections.