I have cleared the purple from sodas and fruit jars with the oven in my kitchen. It takes several hours and should be done when you know no one will open the oven to see whats cooking. They have to cool slowly and if the oven door is opened before the are cool to the touch (2 to 3 hours is what I do) they will fracture all to hell. Don't do it on non tempered bottles and jars.
From what I heard, magnese was only used to make glass clear from 1880- 1915. In the great war, magnese was needed to make clear wind sheilds for fighter planes and the main suplyer of magnese was close to Germany. After that magnese was replaced by selenium oxide wich turns a yellowish color when exposed to sunlight. It was used up until 1930. After that silica sand was added to glass to make it clear.