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.
 
 
 
 
 

80 lines
5.6 KiB

  1. 0x3c, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x2a, 0x7b, 0x6d, 0x61, 0x72,
  2. 0x67, 0x69, 0x6e, 0x3a, 0x30, 0x70, 0x78, 0x3b, 0x70, 0x61, 0x64, 0x64,
  3. 0x69, 0x6e, 0x67, 0x3a, 0x30, 0x70, 0x78, 0x3b, 0x6f, 0x76, 0x65, 0x72,
  4. 0x66, 0x6c, 0x6f, 0x77, 0x3a, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x3b,
  5. 0x7d, 0x3c, 0x2f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x0a, 0x3c, 0x63,
  6. 0x61, 0x6e, 0x76, 0x61, 0x73, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x77, 0x65,
  7. 0x62, 0x67, 0x6c, 0x22, 0x20, 0x77, 0x69, 0x64, 0x74, 0x68, 0x3d, 0x22,
  8. 0x31, 0x39, 0x32, 0x30, 0x22, 0x20, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
  9. 0x3d, 0x22, 0x31, 0x30, 0x38, 0x30, 0x22, 0x3e, 0x3c, 0x2f, 0x63, 0x61,
  10. 0x6e, 0x76, 0x61, 0x73, 0x3e, 0x0a, 0x3c, 0x73, 0x63, 0x72, 0x69, 0x70,
  11. 0x74, 0x3e, 0x0a, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20,
  12. 0x73, 0x50, 0x28, 0x72, 0x2c, 0x65, 0x2c, 0x74, 0x29, 0x7b, 0x76, 0x61,
  13. 0x72, 0x20, 0x61, 0x3d, 0x72, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
  14. 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x28, 0x29, 0x2c, 0x6f, 0x3d,
  15. 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x28, 0x65, 0x2c, 0x74,
  16. 0x29, 0x7b, 0x76, 0x61, 0x72, 0x20, 0x6f, 0x3d, 0x72, 0x2e, 0x63, 0x72,
  17. 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x61, 0x64, 0x65, 0x72, 0x28, 0x22,
  18. 0x76, 0x65, 0x72, 0x74, 0x65, 0x78, 0x22, 0x3d, 0x3d, 0x65, 0x3f, 0x72,
  19. 0x2e, 0x56, 0x45, 0x52, 0x54, 0x45, 0x58, 0x5f, 0x53, 0x48, 0x41, 0x44,
  20. 0x45, 0x52, 0x3a, 0x72, 0x2e, 0x46, 0x52, 0x41, 0x47, 0x4d, 0x45, 0x4e,
  21. 0x54, 0x5f, 0x53, 0x48, 0x41, 0x44, 0x45, 0x52, 0x29, 0x3b, 0x72, 0x2e,
  22. 0x73, 0x68, 0x61, 0x64, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
  23. 0x28, 0x6f, 0x2c, 0x74, 0x29, 0x2c, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x70,
  24. 0x69, 0x6c, 0x65, 0x53, 0x68, 0x61, 0x64, 0x65, 0x72, 0x28, 0x6f, 0x29,
  25. 0x2c, 0x72, 0x2e, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x68, 0x61,
  26. 0x64, 0x65, 0x72, 0x28, 0x61, 0x2c, 0x6f, 0x29, 0x7d, 0x3b, 0x72, 0x65,
  27. 0x74, 0x75, 0x72, 0x6e, 0x20, 0x6f, 0x28, 0x22, 0x76, 0x65, 0x72, 0x74,
  28. 0x65, 0x78, 0x22, 0x2c, 0x65, 0x29, 0x2c, 0x6f, 0x28, 0x22, 0x66, 0x72,
  29. 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x2c, 0x74, 0x29, 0x2c, 0x72,
  30. 0x2e, 0x6c, 0x69, 0x6e, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d,
  31. 0x28, 0x61, 0x29, 0x2c, 0x61, 0x7d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
  32. 0x6f, 0x6e, 0x20, 0x61, 0x74, 0x73, 0x66, 0x28, 0x72, 0x2c, 0x65, 0x2c,
  33. 0x74, 0x2c, 0x61, 0x2c, 0x6f, 0x29, 0x7b, 0x72, 0x2e, 0x62, 0x69, 0x6e,
  34. 0x64, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x28, 0x72, 0x2e, 0x41, 0x52,
  35. 0x52, 0x41, 0x59, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x45, 0x52, 0x2c, 0x72,
  36. 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x66, 0x66, 0x65,
  37. 0x72, 0x28, 0x29, 0x29, 0x2c, 0x72, 0x2e, 0x62, 0x75, 0x66, 0x66, 0x65,
  38. 0x72, 0x44, 0x61, 0x74, 0x61, 0x28, 0x72, 0x2e, 0x41, 0x52, 0x52, 0x41,
  39. 0x59, 0x5f, 0x42, 0x55, 0x46, 0x46, 0x45, 0x52, 0x2c, 0x6e, 0x65, 0x77,
  40. 0x20, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x33, 0x32, 0x41, 0x72, 0x72, 0x61,
  41. 0x79, 0x28, 0x6f, 0x29, 0x2c, 0x72, 0x2e, 0x53, 0x54, 0x41, 0x54, 0x49,
  42. 0x43, 0x5f, 0x44, 0x52, 0x41, 0x57, 0x29, 0x3b, 0x76, 0x61, 0x72, 0x20,
  43. 0x69, 0x3d, 0x72, 0x2e, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69,
  44. 0x62, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x28, 0x65, 0x2c,
  45. 0x74, 0x29, 0x3b, 0x72, 0x2e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x56,
  46. 0x65, 0x72, 0x74, 0x65, 0x78, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x41,
  47. 0x72, 0x72, 0x61, 0x79, 0x28, 0x69, 0x29, 0x2c, 0x72, 0x2e, 0x76, 0x65,
  48. 0x72, 0x74, 0x65, 0x78, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x50, 0x6f,
  49. 0x69, 0x6e, 0x74, 0x65, 0x72, 0x28, 0x69, 0x2c, 0x61, 0x2c, 0x72, 0x2e,
  50. 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x2c, 0x21, 0x31, 0x2c, 0x30, 0x2c, 0x30,
  51. 0x29, 0x7d, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x64,
  52. 0x72, 0x28, 0x29, 0x7b, 0x76, 0x61, 0x72, 0x20, 0x72, 0x3d, 0x64, 0x6f,
  53. 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x67, 0x65, 0x74, 0x45, 0x6c,
  54. 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x49, 0x64, 0x28, 0x22, 0x77,
  55. 0x65, 0x62, 0x67, 0x6c, 0x22, 0x29, 0x2e, 0x67, 0x65, 0x74, 0x43, 0x6f,
  56. 0x6e, 0x74, 0x65, 0x78, 0x74, 0x28, 0x22, 0x77, 0x65, 0x62, 0x67, 0x6c,
  57. 0x22, 0x29, 0x2c, 0x65, 0x3d, 0x73, 0x50, 0x28, 0x72, 0x2c, 0x22, 0x61,
  58. 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x76, 0x65, 0x63,
  59. 0x32, 0x20, 0x70, 0x73, 0x3b, 0x76, 0x6f, 0x69, 0x64, 0x20, 0x6d, 0x61,
  60. 0x69, 0x6e, 0x28, 0x29, 0x7b, 0x67, 0x6c, 0x5f, 0x50, 0x6f, 0x73, 0x69,
  61. 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x76, 0x65, 0x63, 0x34, 0x28, 0x70, 0x73,
  62. 0x2c, 0x30, 0x2e, 0x2c, 0x31, 0x2e, 0x29, 0x3b, 0x7d, 0x22, 0x2c, 0x22,
  63. 0x76, 0x6f, 0x69, 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x28, 0x29, 0x7b,
  64. 0x67, 0x6c, 0x5f, 0x46, 0x72, 0x61, 0x67, 0x43, 0x6f, 0x6c, 0x6f, 0x72,
  65. 0x3d, 0x76, 0x65, 0x63, 0x34, 0x28, 0x67, 0x6c, 0x5f, 0x46, 0x72, 0x61,
  66. 0x67, 0x43, 0x6f, 0x6f, 0x72, 0x64, 0x2e, 0x78, 0x2f, 0x31, 0x39, 0x32,
  67. 0x30, 0x2e, 0x2c, 0x30, 0x2e, 0x35, 0x2c, 0x31, 0x2e, 0x2c, 0x31, 0x2e,
  68. 0x29, 0x3b, 0x7d, 0x22, 0x29, 0x3b, 0x72, 0x2e, 0x75, 0x73, 0x65, 0x50,
  69. 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x28, 0x65, 0x29, 0x2c, 0x61, 0x74,
  70. 0x73, 0x66, 0x28, 0x72, 0x2c, 0x65, 0x2c, 0x22, 0x70, 0x73, 0x22, 0x2c,
  71. 0x32, 0x2c, 0x5b, 0x2d, 0x31, 0x2c, 0x31, 0x2c, 0x31, 0x2c, 0x31, 0x2c,
  72. 0x2d, 0x31, 0x2c, 0x2d, 0x31, 0x2c, 0x31, 0x2c, 0x2d, 0x31, 0x5d, 0x29,
  73. 0x2c, 0x72, 0x2e, 0x64, 0x72, 0x61, 0x77, 0x41, 0x72, 0x72, 0x61, 0x79,
  74. 0x73, 0x28, 0x72, 0x2e, 0x54, 0x52, 0x49, 0x41, 0x4e, 0x47, 0x4c, 0x45,
  75. 0x5f, 0x53, 0x54, 0x52, 0x49, 0x50, 0x2c, 0x30, 0x2c, 0x34, 0x29, 0x7d,
  76. 0x73, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x28, 0x64,
  77. 0x72, 0x2c, 0x31, 0x30, 0x29, 0x2c, 0x64, 0x72, 0x28, 0x29, 0x3b, 0x0a,
  78. 0x3c, 0x2f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x3e
  79. , 0