It’s called the National Popular Vote and some states have passed resolutions supporting it.
NH legislators have put forth resolutions toward this end as well.
2012-H-2221-R relative to electoral college elections. HB Sponsors: (Prime) Weed, Charles – Cheshire 03
2012-H-2290-R calling for a federal constitutional convention to propose an amendment to the United States Constitution to abolish the electoral college. HJR Sponsors: (Prime) Cloutier, John – Sullivan 04