One option is to use a product called a "FrogLog" which is a ramp for all kinds of small animals. The FrogLog is not hidden inside the skimmer, so mammals that need to get out quickly before drowning can see the escape route. Frogs and other animals with porous skin need to get out of chlorinated or salt water quickly. They don't like the chlorine. The FrogLog allows for a quick escape. Multiple FrogLogs can be used in larger pools.
There is a solution! A new invention that allows frogs to escape from dying in inground pools. It is called the Critter ... How do you keep frogs away form pool? How do you keep frogs out of the pool? How can you deter tree frogs from pool?
There are a number of different methods you could use to keep ducks away from your swimming pool. You could for example cover or drain your pool when you are not using it.
By putting a rabbit fence around the pool
BAITS>...................... SHOOT THEM . EAT THEM, GET CATS
Try putting a big rubber snake at the edge of the pool. I don't know if it will work on frogs but it sure keeps the ducks off my dock.
because electricity spreads through water
You dont put them in the same pool.
Put moth balls around your pool area as they have been known to keep not only mice away but snakes also.
You clean it.
I've seen fly traps which you can hang near the pool to attract the flies. It seems to do the trick.
shut the doors
Probably the chlorine. I doubt if chlorine is healthy for frogs.