Viewport snap scripts snaps to the orthographic viewport that's closest to the current orthographic, perspective or camera view. It also frames current selection to fit into new view. If viewport that is snaps to is closest to the bottom or top orthographic views script will also try to detect the orientation of the current view and orient new view correctly.
This script is meant to replace repetitive task of switching to the top, side, bottom etc. views while modeling.