if I have a site that has a flash header, but it's not mobile friendly on apple products and even some androids, what is the javascript code I can insert into my .html page so that it doesn't show this when it is loaded...
What I'm trying to fix:

if I have a site that has a flash header, but it's not mobile friendly on apple products and even some androids, what is the javascript code I can insert into my .html page so that it doesn't show this when it is loaded...
What I'm trying to fix:

Copyright © 2021 Jogjafile Inc.
You can try using HTML5's
innerHTMLoption with JavaScript to check whether Flash is available or not. From that info, you could then show alternative content like some image file if the device cannot display an.swffile (Flash app).Since you did not show any code of your own page header setup, I'll show a basic example and maybe you can apply logic to your own page.
Put code in blank document (edit widths/heights) and save as
.html.In your browser block Flash and refresh... it shows image banner.
In your browser **enable* Flash and refresh... it shows Flash banner.
Test this code and ask any questions for clarification: