In America, even if you ban the sale of them completely, people will still go outside and shoot up into the air to celebrate national holidays. So it's actually better they allow the use of fireworks here when possible, but they are banned within the city where we are (where density is more of an issue), but legal out in the county side of the city or in the rural areas where there is far more space.
I could never fully enjoy the holidays fully because of our pets. That said, mine got older and were more accustomed to it. Partially because for years we had neighbors that celebrated at random throughout the entire effin' week. What was infuriating is when they would do it midday and I'd have to rush outside to calm a panic'ed pup. My neighbor did it out back one year, set off a whole bag of firecrackers it seemed all at once and I nearly jumped the fence only to catch them running away into their home (a grown adult...).
That never used to be a problem at all but started to become more-so in recent years as policing public nuisance activities became less and less as it was becoming too hard to catch. I think inflation hit hard enough though that people stopped being so wasteful with both their ammunition and proper fireworks ($$$)... so that doesn't hardly happen now and thankfully restricted to a few hours at night now. Because in the Central Time zone some people feel inclined on New Years for instance to celebrate both the changeover in NY and in TX