{"js":"cHVibGljIGNsYXNzIElmcmFtZUdlbmVyYXRvciB7CiAgICBwdWJsaWMgc3RhdGljIFN0cmluZyBnZW5lcmF0ZUlmcmFtZUh0bWwoU3RyaW5nIHVybCwgaW50IHdpZHRoLCBpbnQgaGVpZ2h0KSB7CiAgICAgICAgcmV0dXJuIFN0cmluZy5mb3JtYXQoCiAgICAgICAgICAgICI8aWZyYW1lIHNyYz1cIiVzXCIgd2lkdGg9XCIlZFwiIGhlaWdodD1cIiVkXCIgZnJhbWVib3JkZXI9XCIwXCIgc2Nyb2xsaW5nPVwieWVzXCI+PC9pZnJhbWU+IiwKICAgICAgICAgICAgdXJsLCB3aWR0aCwgaGVpZ2h0CiAgICAgICAgKTsKICAgIH0KCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CiAgICAgICAgU3RyaW5nIGFpcnRhYmxlVXJsID0gImh0dHBzOi8vYWlydGFibGUuY29tL2FwcHVvNUg5bjB2Wm9UcVl1L3BhZ1BRbXhMdG9DZVNESmlXL2Zvcm0iOwogICAgICAgIFN0cmluZyBpZnJhbWVIdG1sID0gZ2VuZXJhdGVJZnJhbWVIdG1sKGFpcnRhYmxlVXJsLCAxMDAsIDUwMCk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKGlmcmFtZUh0bWwpOwogICAgfQp9","embed":""}
public class IframeGenerator {
public static String generateIframeHtml(String url, int width, int height) {
return String.format(
"",
url, width, height
);
}
public static void main(String[] args) {
String airtableUrl = "https://airtable.com/appuo5H9n0vZoTqYu/pagPQmxLtoCeSDJiW/form";
String iframeHtml = generateIframeHtml(airtableUrl, 100, 500);
System.out.println(iframeHtml);
}
}