Currently, I am attempting to include a CSS file in a third-party iframe to modify its styling.
My initial idea was to employ the following code snippet:
ngOnInit() {
...
this.myIframe.nativeElement.document.head.appendChild('style.css')
}
Unfortunately, it seems that this approach is not functioning as expected, and the reason remains elusive to me.
Any assistance on this matter would be greatly valued. Thank you!
Cheers!