Code examples for opening windows for various purposes in very few bytes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

79 lines
5.6 KiB

0x3c, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x2a, 0x7b, 0x6d, 0x61, 0x72,
0x67, 0x69, 0x6e, 0x3a, 0x30, 0x70, 0x78, 0x3b, 0x70, 0x61, 0x64, 0x64,
0x69, 0x6e, 0x67, 0x3a, 0x30, 0x70, 0x78, 0x3b, 0x6f, 0x76, 0x65, 0x72,
0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x3b,
0x7d, 0x3c, 0x2f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x0a, 0x3c, 0x63,
0x61, 0x6e, 0x76, 0x61, 0x73, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x77, 0x65,
0x62, 0x67, 0x6c, 0x22, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x22,
0x31, 0x39, 0x32, 0x30, 0x22, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
0x3d, 0x22, 0x31, 0x30, 0x38, 0x30, 0x22, 0x3e, 0x3c, 0x2f, 0x63, 0x61,
0x6e, 0x76, 0x61, 0x73, 0x3e, 0x0a, 0x3c, 0x73, 0x63, 0x72, 0x69, 0x70,
0x74, 0x3e, 0x0a, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20,
0x73, 0x50, 0x28, 0x72, 0x2c, 0x65, 0x2c, 0x74, 0x29, 0x7b, 0x76, 0x61,
0x72, 0x20, 0x61, 0x3d, 0x72, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x28, 0x29, 0x2c, 0x6f, 0x3d,
0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x28, 0x65, 0x2c, 0x74,
0x29, 0x7b, 0x76, 0x61, 0x72, 0x20, 0x6f, 0x3d, 0x72, 0x2e, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x64, 0x65, 0x72, 0x28, 0x22,
0x76, 0x65, 0x72, 0x74, 0x65, 0x78, 0x22, 0x3d, 0x3d, 0x65, 0x3f, 0x72,
0x2e, 0x56, 0x45, 0x52, 0x54, 0x45, 0x58, 0x5f, 0x53, 0x48, 0x41, 0x44,
0x45, 0x52, 0x3a, 0x72, 0x2e, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e,
0x54, 0x5f, 0x53, 0x48, 0x41, 0x44, 0x45, 0x52, 0x29, 0x3b, 0x72, 0x2e,
0x73, 0x68, 0x61, 0x64, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x28, 0x6f, 0x2c, 0x74, 0x29, 0x2c, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x70,
0x69, 0x6c, 0x65, 0x53, 0x68, 0x61, 0x64, 0x65, 0x72, 0x28, 0x6f, 0x29,
0x2c, 0x72, 0x2e, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x68, 0x61,
0x64, 0x65, 0x72, 0x28, 0x61, 0x2c, 0x6f, 0x29, 0x7d, 0x3b, 0x72, 0x65,
0x74, 0x75, 0x72, 0x6e, 0x20, 0x6f, 0x28, 0x22, 0x76, 0x65, 0x72, 0x74,
0x65, 0x78, 0x22, 0x2c, 0x65, 0x29, 0x2c, 0x6f, 0x28, 0x22, 0x66, 0x72,
0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x2c, 0x74, 0x29, 0x2c, 0x72,
0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d,
0x28, 0x61, 0x29, 0x2c, 0x61, 0x7d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x20, 0x61, 0x74, 0x73, 0x66, 0x28, 0x72, 0x2c, 0x65, 0x2c,
0x74, 0x2c, 0x61, 0x2c, 0x6f, 0x29, 0x7b, 0x72, 0x2e, 0x62, 0x69, 0x6e,
0x64, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x28, 0x72, 0x2e, 0x41, 0x52,
0x52, 0x41, 0x59, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x45, 0x52, 0x2c, 0x72,
0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65,
0x72, 0x28, 0x29, 0x29, 0x2c, 0x72, 0x2e, 0x62, 0x75, 0x66, 0x66, 0x65,
0x72, 0x44, 0x61, 0x74, 0x61, 0x28, 0x72, 0x2e, 0x41, 0x52, 0x52, 0x41,
0x59, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x45, 0x52, 0x2c, 0x6e, 0x65, 0x77,
0x20, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x33, 0x32, 0x41, 0x72, 0x72, 0x61,
0x79, 0x28, 0x6f, 0x29, 0x2c, 0x72, 0x2e, 0x53, 0x54, 0x41, 0x54, 0x49,
0x43, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x29, 0x3b, 0x76, 0x61, 0x72, 0x20,
0x69, 0x3d, 0x72, 0x2e, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69,
0x62, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x28, 0x65, 0x2c,
0x74, 0x29, 0x3b, 0x72, 0x2e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x56,
0x65, 0x72, 0x74, 0x65, 0x78, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x41,
0x72, 0x72, 0x61, 0x79, 0x28, 0x69, 0x29, 0x2c, 0x72, 0x2e, 0x76, 0x65,
0x72, 0x74, 0x65, 0x78, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x50, 0x6f,
0x69, 0x6e, 0x74, 0x65, 0x72, 0x28, 0x69, 0x2c, 0x61, 0x2c, 0x72, 0x2e,
0x46, 0x4c, 0x4f, 0x41, 0x54, 0x2c, 0x21, 0x31, 0x2c, 0x30, 0x2c, 0x30,
0x29, 0x7d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x64,
0x72, 0x28, 0x29, 0x7b, 0x76, 0x61, 0x72, 0x20, 0x72, 0x3d, 0x64, 0x6f,
0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x67, 0x65, 0x74, 0x45, 0x6c,
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x64, 0x28, 0x22, 0x77,
0x65, 0x62, 0x67, 0x6c, 0x22, 0x29, 0x2e, 0x67, 0x65, 0x74, 0x43, 0x6f,
0x6e, 0x74, 0x65, 0x78, 0x74, 0x28, 0x22, 0x77, 0x65, 0x62, 0x67, 0x6c,
0x22, 0x29, 0x2c, 0x65, 0x3d, 0x73, 0x50, 0x28, 0x72, 0x2c, 0x22, 0x61,
0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x76, 0x65, 0x63,
0x32, 0x20, 0x70, 0x73, 0x3b, 0x76, 0x6f, 0x69, 0x64, 0x20, 0x6d, 0x61,
0x69, 0x6e, 0x28, 0x29, 0x7b, 0x67, 0x6c, 0x5f, 0x50, 0x6f, 0x73, 0x69,
0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x76, 0x65, 0x63, 0x34, 0x28, 0x70, 0x73,
0x2c, 0x30, 0x2e, 0x2c, 0x31, 0x2e, 0x29, 0x3b, 0x7d, 0x22, 0x2c, 0x22,
0x76, 0x6f, 0x69, 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x28, 0x29, 0x7b,
0x67, 0x6c, 0x5f, 0x46, 0x72, 0x61, 0x67, 0x43, 0x6f, 0x6c, 0x6f, 0x72,
0x3d, 0x76, 0x65, 0x63, 0x34, 0x28, 0x67, 0x6c, 0x5f, 0x46, 0x72, 0x61,
0x67, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x2e, 0x78, 0x2f, 0x31, 0x39, 0x32,
0x30, 0x2e, 0x2c, 0x30, 0x2e, 0x35, 0x2c, 0x31, 0x2e, 0x2c, 0x31, 0x2e,
0x29, 0x3b, 0x7d, 0x22, 0x29, 0x3b, 0x72, 0x2e, 0x75, 0x73, 0x65, 0x50,
0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x28, 0x65, 0x29, 0x2c, 0x61, 0x74,
0x73, 0x66, 0x28, 0x72, 0x2c, 0x65, 0x2c, 0x22, 0x70, 0x73, 0x22, 0x2c,
0x32, 0x2c, 0x5b, 0x2d, 0x31, 0x2c, 0x31, 0x2c, 0x31, 0x2c, 0x31, 0x2c,
0x2d, 0x31, 0x2c, 0x2d, 0x31, 0x2c, 0x31, 0x2c, 0x2d, 0x31, 0x5d, 0x29,
0x2c, 0x72, 0x2e, 0x64, 0x72, 0x61, 0x77, 0x41, 0x72, 0x72, 0x61, 0x79,
0x73, 0x28, 0x72, 0x2e, 0x54, 0x52, 0x49, 0x41, 0x4e, 0x47, 0x4c, 0x45,
0x5f, 0x53, 0x54, 0x52, 0x49, 0x50, 0x2c, 0x30, 0x2c, 0x34, 0x29, 0x7d,
0x73, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x28, 0x64,
0x72, 0x2c, 0x31, 0x30, 0x29, 0x2c, 0x64, 0x72, 0x28, 0x29, 0x3b, 0x0a,
0x3c, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x3e
, 0