The invention discloses a preparation method, a material and an application of a porous polymer. The preparation method comprises the following steps: (1) evenly dispersing the raw material (aromatic compounds, mixtures of the aromatic compounds, polymers of the aromatic compounds and/or mixtures of the polymers) into a crosslinking agent and solvent, so as to obtain a raw material mixed solution, wherein the crosslinking agent solvent is one or more of alkane dihalides; (2) adding a catalyst, carrying out Friedel-Craft reaction, and carrying out super-crosslinking, so as to obtain a crude product; and (3) washing and extracting a filter cake which is obtained after the coarse product is filtered, removing a catalyst, and drying, so as to obtain a porous polymer. The preparation method disclosed by the invention is simple in process, uses easily available raw materials, the prepared porous polymer is adjustable in pore size and specific surface area, has low cost and good adaptability, and can be used as a catalyst carrier, a separation membrane, a gas storage material or an ion adsorbing material, especially, can be used as materials for storing hydrogen and capturing carbon dioxide or methane storage materials.