For example, I have an iframe in which id="myFrame"
and src="https://google.com"
.
How can I remove/hide the google logo image using javascript or jquery. The id
of the Google logo image is "hplogo"
. I also don’t know if this is possible or not.
I used this code to try to delete the logo image, however did this didn’t work:
$("#myFrame").contents().find($("#hplogo")).remove()
How can I fix this?