After a few days, your green onions are expected to wither up and die. If you maintain the coolest temperature in the fridge, you will find that certain vegetables still go limp. If you keep opening and closing the door of the fridge, you expose these plants to air that contributes to the degradation. So, the fridge and the freezer are not always the best places to store food.
You can avoid this natural process by regrowing onions. Indoors, keep these vegetables in a jar full of water. Place this container next to the air and sunlight near your window. Continue to add water to the roots and watch the plant flourish in the sunlight.
Another version is to cover the jar with a plastic bag and store it in the fridge. Every few days, check the growth of the plant and replace the water.
After a few days in the water, you may notice that some parts of the onions have browned and wilted. If this happens, you want to snip away the dead parts and see if the vegetable is good enough for use.
The point of buying fresh vegetables is to use them right away. These plants are plucked straight out of the ground and not meant for long-term storage. You can only keep fruits and vegetables fresh by keeping them out of the fridge. That means: you have to use them often and buy them frequently.