Ali Tarani
Ali Tarani

Reputation: 158

How to hide angular version from wappalyzer?

for some security reasons I need to hide javascript frameworks version especially angular from wappalyzer but I have no idea!

Upvotes: 6

Views: 2466

Answers (1)

khalil farashiani
khalil farashiani

Reputation: 86

remove ng-version attribute from app component to solve the problem.

@Component({
    selector: '[data-app]',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.scss']
})
export class AppComponent {
    constructor(private _elementRef: ElementRef) {
    }

    ngOnInit(): void {
        this._elementRef.nativeElement.removeAttribute("ng-version");
    }
}

I think it will help you.

Upvotes: 7

Related Questions