The front window is a job now. Every dog, every delivery, every person on the far pavement. Out at the fence it is the same, aimed at whatever is on the other side.
You have tried telling them to stop. It works for 4 seconds. Then the next thing goes past.
Why this one gets worse rather than better
Almost every bark at a window appears to work. The dog barks, the trigger keeps moving and leaves. From your dog's side, barking made it go away, hundreds of times a week.
Adolescence adds the rest. Things that were unremarkable last month are worth barking at this month, and that shift is developmental rather than a training failure.
The other thing that matters: your dog is practising being unable to think, at full volume, in their own home. That is why the whole evening is louder.
Today: change the view, not your dog
This is the change that does more than anything you can train, and it takes 15 minutes.
Cover the bottom 4 feet of the front window with removable frosted film, or move the sofa your dog stands on. No view means no rehearsal.
Close the front room when you are not in it. A closed door removes more barking in a day than a week of training does.
In the yard, block the gap your dog watches through. Shade cloth or garden mesh on the fence, at their eye height.
Stop leaving them out there alone for long stretches this fortnight. Fence barking is self-employment, and it is very well paid.
Working below the threshold at which a dog reacts is the condition for learning near a trigger. Blocking the view is how you get below it in a house you cannot rebuild.
Then teach one thing to do instead
Do this with the view mostly blocked, in short sets, when the street is quiet. 3 minutes is a whole session.
Sit near the window with 15 pieces of food. When your dog notices something and does not bark, say "yes" and feed at your knee, away from the glass.
If they bark, say nothing at all. Walk over, take them out of the room by the collar or a house line, and shut the door for 60 seconds.
Come back and carry on. You are paying the quiet look and ending the barking, and both messages need to be boring and consistent.
Stop after 3 minutes or 10 pieces, whichever comes first. Then close the door and let the day be quiet.
The three habits that keep it alive
Shouting at your dog. From their side it sounds like you have joined in, and it is the loudest reward available.
Going to the window to look. That confirms the barking summoned you, which is the best possible outcome for a barker.
Letting them out to the fence to "get it out of their system". Barking is not a tank that empties. It is a skill, and that is a practice session.
Safety note
Some window barking is a different situation. Hackles up, a growl underneath it, teeth on the glass, or a dog who cannot come away at all. Sudden behaviour change warrants a veterinary examination, and pain often presents as a change in behaviour. Book one, and speak to a qualified behaviour professional.
Today's version, in one line: cover the bottom of the window, shut that room, then 3 quiet minutes paid at your knee.