The fluid, flowing past the surface, is incompressible and its electro-conductivity is constant. The present magnetic field is homogenous and perpendicular to the surface and through the porous contour the fluid has been injected or ejected. In order to study this problem, a polyparametric method known as generalized similarity method has been established. The corresponding equations of unsteady boundary layer, by introducing the appropriate variable transformations, momentum and energy equations and three similarity parameters sets, being transformed into generalized form. The numerical integration of the generalized equation with boundary conditions has been performed by means of the difference schemes and by using Tridiagonal Algorithm Method with iterations in the four parametric and twice localized approximation. So obtained generalized solutions are used to calculate the shear stress distribution in laminar-turbulent transition of unsteady boundary layer on porous high accelerating aerofoil. It's shown that for both in confuser and in diffuser regions the ejection of fluid postpones the boundary layer separation, and vice versa the fluid injection favors the separation. For both injection and ejection of fluid, the magnetic field increases the friction and postpones the laminar-turbulent transition.