$("iframe").on("load", function() { const newStyleElement = $("<style>.foo{display: none;}</style>"); $(this).contents().find("head").append(newStyleElement); });
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up