What are the (cont.) endomorphisms resp. automorphisms of the adeles (for a given global field)

1) as a topological abelian group and

2) as a topological ring?

3) What are the endomorphisms and the automorphisms group of the ideles?

4) What is known for the adelic points of an algebraic group?