Untitled


SUBMITTED BY: Andrade

DATE: Nov. 23, 2023, 10:22 p.m.

FORMAT: Text only

SIZE: 32.8 kB

HITS: 286

  1. [
  2. {
  3. "label": "Nome do app",
  4. "name": "APP_NAME",
  5. "value": "DTunnel VPN",
  6. "type": "STRING"
  7. },
  8. {
  9. "label": "Logo do app",
  10. "name": "APP_LOGO",
  11. "value": "https://i.ibb.co/pWdWk99/1700777439447.png",
  12. "type": "IMAGE"
  13. },
  14. {
  15. "label": "Imagem de fundo",
  16. "name": "APP_BACKGROUND_IMAGE",
  17. "value": "https://i.ibb.co/gt8ZzQb/images-19.jpg",
  18. "type": "IMAGE"
  19. },
  20. {
  21. "label": "Tipo do fundo do app",
  22. "name": "APP_BACKGROUND_TYPE",
  23. "value": {
  24. "options": [
  25. {
  26. "label": "Imagem",
  27. "value": "IMAGE"
  28. },
  29. {
  30. "label": "Cor",
  31. "value": "COLOR"
  32. }
  33. ],
  34. "selected": "IMAGE"
  35. },
  36. "type": "SELECT"
  37. },
  38. {
  39. "label": "Cor de fundo",
  40. "name": "APP_BACKGROUND_COLOR",
  41. "value": "#292d32c7",
  42. "type": "COLOR"
  43. },
  44. {
  45. "label": "Cor do card inicial",
  46. "name": "APP_CARD_COLOR",
  47. "value": "#00000000",
  48. "type": "COLOR"
  49. },
  50. {
  51. "label": "Raio do card inicial",
  52. "name": "APP_CARD_RADIUS",
  53. "value": 20,
  54. "type": "INTEGER"
  55. },
  56. {
  57. "label": "Cor do card de status",
  58. "name": "APP_CARD_STATUS_COLOR",
  59. "value": "#1d242e73",
  60. "type": "COLOR"
  61. },
  62. {
  63. "label": "Raio do card de status",
  64. "name": "APP_CARD_STATUS_RADIUS",
  65. "value": 25,
  66. "type": "INTEGER"
  67. },
  68. {
  69. "label": "Cor do card de configurações",
  70. "name": "APP_CARD_CONFIG_COLOR",
  71. "value": "#00000000",
  72. "type": "COLOR"
  73. },
  74. {
  75. "label": "Cor do fundo dos dialogs",
  76. "name": "APP_DIALOG_BACKGROUND_COLOR",
  77. "value": "#00000000",
  78. "type": "COLOR"
  79. },
  80. {
  81. "label": "Cor do fundo do dialog de log",
  82. "name": "APP_DIALOG_LOGGER_COLOR",
  83. "value": "#080e16c7",
  84. "type": "COLOR"
  85. },
  86. {
  87. "label": "Cor das bordas",
  88. "name": "APP_BORDER_COLOR",
  89. "value": "#00000000",
  90. "type": "COLOR"
  91. },
  92. {
  93. "label": "Cor dos inputs",
  94. "name": "APP_INPUT_COLOR",
  95. "value": "#1d242e73",
  96. "type": "COLOR"
  97. },
  98. {
  99. "label": "Raio dos inputs",
  100. "name": "APP_INPUT_RADIUS",
  101. "value": 25,
  102. "type": "INTEGER"
  103. },
  104. {
  105. "label": "Cor dos textos",
  106. "name": "APP_TEXT_COLOR",
  107. "value": "#FFFFFF",
  108. "type": "COLOR"
  109. },
  110. {
  111. "label": "Cor dos botões",
  112. "name": "APP_BUTTON_COLOR",
  113. "value": "#3E074956",
  114. "type": "COLOR"
  115. },
  116. {
  117. "label": "Raio dos botões",
  118. "name": "APP_BUTTON_RADIUS",
  119. "value": 25,
  120. "type": "INTEGER"
  121. },
  122. {
  123. "label": "Cor dos icones",
  124. "name": "APP_ICON_COLOR",
  125. "value": "#BB1CD4FF",
  126. "type": "COLOR"
  127. },
  128. {
  129. "label": "Exibir modo de conexão",
  130. "name": "APP_SHOW_CONNECTION_MODE",
  131. "value": true,
  132. "type": "BOOLEAN"
  133. },
  134. {
  135. "label": "Atualizar automaticamente as configurações ao lançar uma atualização.",
  136. "name": "APP_CONFIG_AUTO_UPDATE",
  137. "value": false,
  138. "type": "BOOLEAN"
  139. },
  140. {
  141. "label": "Iniciar o app automaticamente ao reiniciar o dispositivo",
  142. "name": "APP_AUTO_START",
  143. "value": false,
  144. "type": "BOOLEAN"
  145. },
  146. {
  147. "label": "Usar limiter de conexão",
  148. "name": "APP_CONNECTION_LIMITER",
  149. "value": false,
  150. "type": "BOOLEAN"
  151. },
  152. {
  153. "label": "Usar botão de atualizações",
  154. "name": "APP_BTN_UPDATE_ENABLED",
  155. "value": true,
  156. "type": "BOOLEAN"
  157. },
  158. {
  159. "label": "Usar botão de registros",
  160. "name": "APP_BTN_LOGGER_ENABLED",
  161. "value": true,
  162. "type": "BOOLEAN"
  163. },
  164. {
  165. "label": "Usar botão de pagina webview",
  166. "name": "APP_BTN_PAGE_ENABLED",
  167. "value": true,
  168. "type": "BOOLEAN"
  169. },
  170. {
  171. "label": "Ativar dialog de erros",
  172. "name": "APP_DIALOG_ERROR_ENABLED",
  173. "value": true,
  174. "type": "BOOLEAN"
  175. },
  176. {
  177. "label": "Ativar dialog de checkuser",
  178. "name": "APP_CHECKUSER_DIALOG_ENABLED",
  179. "value": true,
  180. "type": "BOOLEAN"
  181. },
  182. {
  183. "label": "Ativar toast de sucesso",
  184. "name": "APP_SUCCESS_TOAST_ENABLED",
  185. "value": true,
  186. "type": "BOOLEAN"
  187. },
  188. {
  189. "label": "Ativar toast de erro",
  190. "name": "APP_ERROR_TOAST_ENABLED",
  191. "value": true,
  192. "type": "BOOLEAN"
  193. },
  194. {
  195. "label": "Usar layout webview",
  196. "name": "APP_LAYOUT_WEBVIEW_ENABLED",
  197. "value": false,
  198. "type": "BOOLEAN"
  199. },
  200. {
  201. "label": "Mensagem",
  202. "name": "APP_MESSAGE",
  203. "value": "Bem vindo ao DTunnel VPN",
  204. "type": "TEXT"
  205. },
  206. {
  207. "label": "URL de atualização do aplicativo",
  208. "name": "APP_UPDATE_URL",
  209. "value": null,
  210. "type": "URL"
  211. },
  212. {
  213. "label": "Tipo de mensagem",
  214. "name": "APP_MESSAGE_TYPE",
  215. "value": {
  216. "options": [
  217. {
  218. "label": "Alerta",
  219. "value": "ALERT"
  220. },
  221. {
  222. "label": "Informação",
  223. "value": "INFO"
  224. },
  225. {
  226. "label": "Boas vindas",
  227. "value": "WELCOME"
  228. },
  229. {
  230. "label": "Sem mensagem",
  231. "value": "NONE"
  232. }
  233. ],
  234. "selected": "WELCOME"
  235. },
  236. "type": "SELECT"
  237. },
  238. {
  239. "label": "LAYOUT WEBVIEW (POR SUA CONTA E RISCO)",
  240. "name": "APP_LAYOUT_WEBVIEW",
  241. "value": null,
  242. "type": "HTML"
  243. },
  244. {
  245. "label": "ANDROID WEBVIEW (POR SUA CONTA E RISCO)",
  246. "name": "APP_SUPPORT_BUTTON",
  247. "value": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n\n <title>1429503272 - @Tauros_projectVPN | design by @rei_da_net1</title>\n\n <style>\n :root {\n font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;\n line-height: 1.5;\n font-weight: 400;\n font-synthesis: none;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n\n --space-status-bar: 10px;\n --space-android-nav-bar: 33px;\n }\n\n @-webkit-keyframes onePulse {\n 0% {\n box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.5);\n }\n 50% {\n box-shadow: 0px 0px 4px 8px rgba(255, 255, 255, 0.1);\n }\n 100% {\n box-shadow: 0px 0px 4px 4px rgba(255, 255, 255, 0.5);\n }\n }\n\n @keyframes onePulse {\n 0% {\n box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.5);\n }\n 50% {\n box-shadow: 0px 0px 4px 8px rgba(255, 255, 255, 0.1);\n }\n 100% {\n box-shadow: 0px 0px 4px 4px rgba(255, 255, 255, 0.5);\n }\n }\n\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n\n html,\n body,\n main {\n width: 100%;\n height: 100%;\n }\n\n body {\n background: transparent;\n }\n\n section.home {\n width: 100%;\n height: 100%;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n\n padding: var(--space-status-bar) 10px var(--space-android-nav-bar) 10px;\n }\n\n section.home header {\n width: 100%;\n height: auto;\n\n display: flex;\n flex-direction: column;\n gap: 5px;\n }\n\n section.home header div.row {\n width: auto;\n height: auto;\n\n display: flex;\n gap: 10px;\n\n margin: 0px 0px 0px auto;\n }\n\n section.home header div.row button {\n width: 40px;\n height: 40px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n border: 1px solid #ffffff;\n border-radius: 50%;\n\n box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.5);\n\n background: transparent;\n }\n\n section.home header div.row button svg {\n color: #000;\n }\n\n /* ICONE DE NOVO VIDEO */\n section.home header div.row button:nth-child(1) {\n border: 1px solid #00ECFF;\n\n box-shadow: 0px 0px 10px 0px rgba(255, 171, 0, 0.5);\n }\n\n section.home header div.row button:nth-child(1) svg {\n color: #00ECFF;\n }\n\n /* ICONE DE MUSICA */\n section.home header div.row button:nth-child(2) {\n border: 1px solid #FF8D00;\n\n box-shadow: 0px 0px 10px 0px rgba(33, 150, 243, 0.5);\n }\n\n section.home header div.row button:nth-child(2) svg {\n color: #FF8D00;\n }\n\n /* ICONE DO YOUTUBE */\n section.home header div.row button:nth-child(3) {\n border: 1px solid #d50000;\n\n box-shadow: 0px 0px 10px 0px rgba(213, 0, 0, 0.5);\n }\n\n section.home header div.row button:nth-child(3) svg {\n color: #d50000;\n }\n\n /* ICONE DE RENOVAR */\n section.home header div.row button:nth-child(4) {\n border: 1px solid #00FF57;\n\n box-shadow: 0px 0px 10px 0px rgba(149, 117, 205, 0.5);\n }\n\n section.home header div.row button:nth-child(4) svg {\n color: #00FF57;\n }\n\n /* ICONE DE ADMINISTRADOR */\n section.home header div.row button:nth-child(5) {\n border: 1px solid #FF00D9;\n\n box-shadow: 0px 0px 10px 0px rgba(49, 27, 146, 0.5);\n }\n\n section.home header div.row button:nth-child(5) svg {\n color: #FF00D9;\n }\n\n section.home section {\n width: 100%;\n height: auto;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 1rem;\n }\n\n section.home section div.container-local-ip {\n width: auto;\n height: auto;\n\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n padding: 10px 10%;\n\n border-radius: 25px;\n\n background: rgba(0, 0, 0, 0.5);\n\n transition: all 0.3s ease 0.1s;\n }\n\n section.home section div.container-local-ip span {\n color: #ffffff;\n }\n\n section.home section div.container-tools {\n width: 100%;\n height: auto;\n\n display: flex;\n justify-content: center;\n\n position: relative;\n }\n\n section.home section div.container-tools button {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n\n margin: auto 0px 0px 0px;\n padding: 10px 8%;\n\n border: 0;\n border-radius: 50px;\n\n box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.5);\n\n color: #ffffff;\n\n background: rgba(0, 0, 0, 0.5);\n\n transition: all linear;\n }\n\n section.home section div.container-tools button svg {\n color: #9e9e9e;\n }\n\n section.home section div.container-tools ul {\n width: 90%;\n max-width: 300px;\n height: 55px;\n\n display: flex;\n align-items: center;\n justify-content: space-around;\n gap: 5px;\n\n position: absolute;\n top: -190%;\n\n padding: 0 5px;\n\n border-radius: 50px;\n box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.5);\n\n opacity: 0;\n transform: scale(0);\n transform-origin: bottom center;\n\n transition: all 0.3s ease 0.1s;\n\n background: rgba(0, 0, 0, 0.5);\n }\n\n section.home section div.container-tools ul li {\n width: 40px;\n height: 40px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n border: 1px solid #ffffff;\n border-radius: 50%;\n\n box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.5);\n\n background: transparent;\n }\n\n @media (max-width: 320px) {\n section.home section div.container-tools ul li {\n width: 30px;\n height: 30px;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n border: 1px solid #ffffff;\n border-radius: 50%;\n\n box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.5);\n\n background: transparent;\n }\n\n section.home section div.container-tools ul li svg {\n transform: scale(0.9);\n }\n }\n\n section.home section div.container-tools ul li svg {\n color: #ffffff;\n }\n\n /* ICONE DO CHECKUSER */\n section.home section div.container-tools ul li:nth-child(1) {\n border-color: #fff176;\n\n box-shadow: 0px 0px 10px 0px rgba(255, 241, 118, 0.5);\n }\n\n section.home section div.container-tools ul li:nth-child(1) svg {\n color: #fff176;\n }\n\n /* ICONE DE BATERIA */\n section.home section div.container-tools ul li:nth-child(2) {\n border-color: #8bc34a;\n\n box-shadow: 0px 0px 10px 0px rgba(139, 195, 74, 0.5);\n }\n\n section.home section div.container-tools ul li:nth-child(2) svg {\n color: #8bc34a;\n }\n\n /* ICONE DE APN */\n section.home section div.container-tools ul li:nth-child(3) {\n border-color: #F2FF00;\n\n box-shadow: 0px 0px 10px 0px rgba(148, 143, 168, 0.5);\n }\n\n section.home section div.container-tools ul li:nth-child(3) svg {\n color: #F2FF00;\n }\n\n /* ICONE DE LIMPAR DADOS */\n section.home section div.container-tools ul li:nth-child(4) {\n border-color: #847ea7;\n\n box-shadow: 0px 0px 10px 0px rgba(132, 126, 167, 0.5);\n }\n\n section.home section div.container-tools ul li:nth-child(4) svg {\n color: #847ea7;\n }\n\n /* ICONE DE SPEEDTEST */\n section.home section div.container-tools ul li:nth-child(5) {\n border-color: #1a237e;\n border-radius: 50%;\n\n box-shadow: 0px 0px 10px 0px rgba(26, 35, 126, 0.5);\n }\n\n section.home section div.container-tools ul li:nth-child(5) svg {\n color: #1a237e;\n }\n\n /* ICONE DE HOTSPOT */\n section.home section div.container-tools ul li:nth-child(6) {\n border-color: #00FF3F;\n border-radius: 50%;\n\n box-shadow: 0px 0px 10px 0px rgba(26, 35, 126, 0.5);\n }\n\n section.home section div.container-tools ul li:nth-child(6) svg {\n color: #FFFFFF;\n }\n\n section.home section div.container-tools.active button {\n -webkit-animation: onePulse 0.6s forwards linear;\n animation: onePulse 0.6s forwards linear;\n }\n\n section.home section div.container-tools.active ul {\n opacity: 1;\n transform: scale(1);\n }\n\n .hidden {\n opacity: 0;\n visibility: hidden;\n }\n\n .display-none {\n display: none;\n }\n </style>\n </head>\n\n <body>\n <main>\n <section class=\"home\">\n <header>\n <div class=\"row\">\n <button type=\"button\" title=\"Vídeo novo\" id=\"new-video\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-play-fill\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z\"\n />\n </svg>\n </button>\n\n <button type=\"button\" title=\"musica\" id=\"music\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-music-note-beamed\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M6 13c0 1.105-1.12 2-2.5 2S1 14.105 1 13c0-1.104 1.12-2 2.5-2s2.5.896 2.5 2zm9-2c0 1.105-1.12 2-2.5 2s-2.5-.895-2.5-2 1.12-2 2.5-2 2.5.895 2.5 2z\"\n />\n <path fill-rule=\"evenodd\" d=\"M14 11V2h1v9h-1zM6 3v10H5V3h1z\" />\n <path d=\"M5 2.905a1 1 0 0 1 .9-.995l8-.8a1 1 0 0 1 1.1.995V3L5 4V2.905z\" />\n </svg>\n </button>\n\n <button type=\"button\" title=\"Youtube\" id=\"youtube\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-youtube\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z\"\n />\n </svg>\n </button>\n\n <button type=\"button\" title=\"renovação\" id=\"renew\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-bag-check-fill\"\n viewBox=\"0 0 16 16\"\n >\n <path\n fill-rule=\"evenodd\"\n d=\"M10.5 3.5a2.5 2.5 0 0 0-5 0V4h5v-.5zm1 0V4H15v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V4h3.5v-.5a3.5 3.5 0 1 1 7 0zm-.646 5.354a.5.5 0 0 0-.708-.708L7.5 10.793 6.354 9.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z\"\n />\n </svg>\n </button>\n\n <button type=\"button\" title=\"admin\" id=\"admin-acess\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-person-fill-up\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M12.5 16a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm.354-5.854 1.5 1.5a.5.5 0 0 1-.708.708L13 11.707V14.5a.5.5 0 0 1-1 0v-2.793l-.646.647a.5.5 0 0 1-.708-.708l1.5-1.5a.5.5 0 0 1 .708 0ZM11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"\n />\n <path\n d=\"M2 13c0 1 1 1 1 1h5.256A4.493 4.493 0 0 1 8 12.5a4.49 4.49 0 0 1 1.544-3.393C9.077 9.038 8.564 9 8 9c-5 0-6 3-6 4Z\"\n />\n </svg>\n </button>\n </div>\n </header>\n\n <section>\n <div class=\"container-local-ip\">\n <span>IP: 0.0.0.0</span>\n </div>\n\n <div class=\"container-tools\">\n <button type=\"button\" title=\"ferramentas\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-nut-fill\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M4.58 1a1 1 0 0 0-.868.504l-3.428 6a1 1 0 0 0 0 .992l3.428 6A1 1 0 0 0 4.58 15h6.84a1 1 0 0 0 .868-.504l3.429-6a1 1 0 0 0 0-.992l-3.429-6A1 1 0 0 0 11.42 1H4.58zm5.018 9.696a3 3 0 1 1-3-5.196 3 3 0 0 1 3 5.196z\"\n />\n </svg>\n\n <span>Ferramentas</span>\n </button>\n\n <ul> \n <li id=\"checkuser\" title=\"Perfil\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-person-fill\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\"\n />\n </svg>\n </li>\n\n <li id=\"battery\" title=\"Bateria\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-battery-half\"\n viewBox=\"0 0 16 16\"\n >\n <path d=\"M2 6h5v4H2V6z\" />\n <path\n d=\"M2 4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H2zm10 1a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h10zm4 3a1.5 1.5 0 0 1-1.5 1.5v-3A1.5 1.5 0 0 1 16 8z\"\n />\n </svg>\n </li>\n\n <li id=\"apn\" title=\"Configuração de nome de ponto de acesso (APN)\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-wrench\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M.102 2.223A3.004 3.004 0 0 0 3.78 5.897l6.341 6.252A3.003 3.003 0 0 0 13 16a3 3 0 1 0-.851-5.878L5.897 3.781A3.004 3.004 0 0 0 2.223.1l2.141 2.142L4 4l-1.757.364L.102 2.223zm13.37 9.019.528.026.287.445.445.287.026.529L15 13l-.242.471-.026.529-.445.287-.287.445-.529.026L13 15l-.471-.242-.529-.026-.287-.445-.445-.287-.026-.529L11 13l.242-.471.026-.529.445-.287.287-.445.529-.026L13 11l.471.242z\"\n />\n </svg>\n </li>\n\n <li id=\"clean-data-app\" title=\"Limpar dados do app\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-trash-fill\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M2.5 1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1H3v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V4h.5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1H2.5zm3 4a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 .5-.5zM8 5a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-1 0v-7A.5.5 0 0 1 8 5zm3 .5v7a.5.5 0 0 1-1 0v-7a.5.5 0 0 1 1 0z\"\n />\n </svg>\n </li>\n\n <li id=\"speedtest\" title=\"teste de velocidade de internet\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n fill=\"currentColor\"\n class=\"bi bi-speedometer2\"\n viewBox=\"0 0 16 16\"\n >\n <path\n d=\"M8 4a.5.5 0 0 1 .5.5V6a.5.5 0 0 1-1 0V4.5A.5.5 0 0 1 8 4zM3.732 5.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707zM2 10a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 10zm9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5zm.754-4.246a.389.389 0 0 0-.527-.02L7.547 9.31a.91.91 0 1 0 1.302 1.258l3.434-4.297a.389.389 0 0 0-.029-.518z\"\n />\n <path\n fill-rule=\"evenodd\"\n d=\"M0 10a8 8 0 1 1 15.547 2.661c-.442 1.253-1.845 1.602-2.932 1.25C11.309 13.488 9.475 13 8 13c-1.474 0-3.31.488-4.615.911-1.087.352-2.49.003-2.932-1.25A7.988 7.988 0 0 1 0 10zm8-7a7 7 0 0 0-6.603 9.329c.203.575.923.876 1.68.63C4.397 12.533 6.358 12 8 12s3.604.532 4.923.96c.757.245 1.477-.056 1.68-.631A7 7 0 0 0 8 3z\"\n />\n </svg>\n </li>\n\n <li id=\"hotspot\" title=\"Hotspot\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" id=\"hotspot-on\" class=\"bi bi-wifi\" viewBox=\"0 0 16 16\">\n <path d=\"M15.384 6.115a.485.485 0 0 0-.047-.736A12.444 12.444 0 0 0 8 3C5.259 3 2.723 3.882.663 5.379a.485.485 0 0 0-.048.736.518.518 0 0 0 .668.05A11.448 11.448 0 0 1 8 4c2.507 0 4.827.802 6.716 2.164.205.148.49.13.668-.049z\"/>\n <path d=\"M13.229 8.271a.482.482 0 0 0-.063-.745A9.455 9.455 0 0 0 8 6c-1.905 0-3.68.56-5.166 1.526a.48.48 0 0 0-.063.745.525.525 0 0 0 .652.065A8.46 8.46 0 0 1 8 7a8.46 8.46 0 0 1 4.576 1.336c.206.132.48.108.653-.065zm-2.183 2.183c.226-.226.185-.605-.1-.75A6.473 6.473 0 0 0 8 9c-1.06 0-2.062.254-2.946.704-.285.145-.326.524-.1.75l.015.015c.16.16.407.19.611.09A5.478 5.478 0 0 1 8 10c.868 0 1.69.201 2.42.56.203.1.45.07.61-.091l.016-.015zM9.06 12.44c.196-.196.198-.52-.04-.66A1.99 1.99 0 0 0 8 11.5a1.99 1.99 0 0 0-1.02.28c-.238.14-.236.464-.04.66l.706.706a.5.5 0 0 0 .707 0l.707-.707z\"/>\n </svg>\n\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" id=\"hotspot-off\" class=\"bi bi-wifi-off display-none\" viewBox=\"0 0 16 16\">\n <path d=\"M10.706 3.294A12.545 12.545 0 0 0 8 3C5.259 3 2.723 3.882.663 5.379a.485.485 0 0 0-.048.736.518.518 0 0 0 .668.05A11.448 11.448 0 0 1 8 4c.63 0 1.249.05 1.852.148l.854-.854zM8 6c-1.905 0-3.68.56-5.166 1.526a.48.48 0 0 0-.063.745.525.525 0 0 0 .652.065 8.448 8.448 0 0 1 3.51-1.27L8 6zm2.596 1.404.785-.785c.63.24 1.227.545 1.785.907a.482.482 0 0 1 .063.745.525.525 0 0 1-.652.065 8.462 8.462 0 0 0-1.98-.932zM8 10l.933-.933a6.455 6.455 0 0 1 2.013.637c.285.145.326.524.1.75l-.015.015a.532.532 0 0 1-.611.09A5.478 5.478 0 0 0 8 10zm4.905-4.905.747-.747c.59.3 1.153.645 1.685 1.03a.485.485 0 0 1 .047.737.518.518 0 0 1-.668.05 11.493 11.493 0 0 0-1.811-1.07zM9.02 11.78c.238.14.236.464.04.66l-.707.706a.5.5 0 0 1-.707 0l-.707-.707c-.195-.195-.197-.518.04-.66A1.99 1.99 0 0 1 8 11.5c.374 0 .723.102 1.021.28zm4.355-9.905a.53.53 0 0 1 .75.75l-10.75 10.75a.53.53 0 0 1-.75-.75l10.75-10.75z\"/>\n </svg>\n </li>\n </ul>\n </div>\n </section>\n </section>\n </main>\n\n <!-- FUNÇÕES DO APP -->\n <script>\n const appStatusBar = () => DtGetStatusBarHeight.execute()\n const appNavBar = () => DtGetNavigationBarHeight.execute()\n\n const appCarrier = () => Android.getNetworkName()\n const appLocalIp = () => Android.getLocalIP()\n\n const appBattery = () => DtIgnoreBatteryOptimizations.execute()\n const appApn = () => DtStartApnActivity.execute()\n const appLink = (value) => DtStartWebViewActivity.execute(value)\n const appClean = () => DtCleanApp.execute()\n const appCheckUser = () => DtStartCheckUser.execute()\n\n const appGetStatusHotspot = () => DtGetStatusHotSpotService.execute()\n const appStartHotspot = () => DtStartHotSpotService.execute()\n const appStopHotspot = () => DtStopHotSpotService.execute()\n </script>\n\n <!-- DOM WRAPPER -->\n <script>\n const Dom = (selector) => {\n const _elements = document.querySelectorAll(selector)\n\n const wrapper = {\n on(listeners) {\n for (const [event, listener] of Object.entries(listeners)) {\n _elements.forEach((element) => {\n element.addEventListener(event, listener)\n })\n }\n\n return wrapper\n },\n toggleClass: (token, force) => {\n _elements.forEach((element) => {\n element.classList.toggle(token, force)\n })\n\n return wrapper\n },\n html(value) {\n _elements.forEach((element) => (element.innerHTML = value))\n return wrapper\n },\n }\n\n return wrapper\n }\n </script>\n\n <!-- VÁRIAVEIS -->\n <script>\n const video = Dom('#new-video')\n const music = Dom('#music')\n const youtube = Dom('#youtube')\n const renew = Dom('#renew')\n const adminAcess = Dom('#admin-acess')\n\n const containerLocalIp = Dom('section.home section div.container-local-ip')\n const localIp = Dom('section.home section div.container-local-ip span')\n\n const containerTools = Dom('section.home section div.container-tools')\n const toolsButton = Dom('section.home section div.container-tools button')\n const tools = Dom('section.home section div.container-tools ul')\n\n const hotspot = Dom('#hotspot')\n const checkuser = Dom('#checkuser')\n const battery = Dom('#battery')\n const apn = Dom('#apn')\n const CleanDataApp = Dom('#clean-data-app')\n const speedtest = Dom('#speedtest')\n\n const hotspotIconOn = Dom('#hotspot-on')\n const hotspotIconOff = Dom('#hotspot-off')\n </script>\n\n <!-- FUNÇÕES -->\n <script>\n document.documentElement.style.setProperty('--space-status-bar', `${appStatusBar() + 10}px`)\n\n document.documentElement.style.setProperty('--space-android-nav-bar', `${appNavBar() + 10}px`)\n\n const toggleTools = () => {\n containerLocalIp.toggleClass('hidden')\n containerTools.toggleClass('active')\n }\n\n const carrierNameAndLocalIp = () => {\n setInterval(() => {\n const carrierName = appCarrier()\n const carrierLocalIp = appLocalIp()\n\n if (!carrierName || !carrierLocalIp) {\n localIp.html('IP: 0.0.0.0')\n } else {\n localIp.html(`${carrierName}: ${carrierLocalIp}`)\n }\n }, 500)\n }\n\n carrierNameAndLocalIp()\n\n const startHotspot = () => {\n appStartHotspot()\n\n hotspotIconOff.toggleClass('display-none')\n hotspotIconOn.toggleClass('display-none')\n }\n\n const stopHotspot = () => {\n appStopHotspot()\n\n hotspotIconOn.toggleClass('display-none')\n hotspotIconOff.toggleClass('display-none')\n }\n\n const toggleHotspot = () => {\n appGetStatusHotspot() === 'STOPPED' ? startHotspot() : stopHotspot()\n }\n </script>\n\n <!-- AÇÕES -->\n <script>\n video.on({ click: () => appLink('https://radiosaovivo.net') })\n music.on({ click: () => appLink('https://m.soundcloud.com') })\n youtube.on({ click: () => appLink('https://www.cxtv.com.br') })\n renew.on({ click: () => appLink('https://m.youtube.com.br') })\n adminAcess.on({ click: () => appLink('http://cdn.xtrem.cloud/live/485816/004898/891469.m3u8') })\n\n toolsButton.on({ click: () => toggleTools() })\n\n hotspot.on({click: () => toggleHotspot()})\n checkuser.on({ click: () => appCheckUser() })\n battery.on({ click: () => appBattery() })\n apn.on({ click: () => appApn() })\n CleanDataApp.on({ click: () => appClean() })\n speedtest.on({ click: () => appLink('https://fast.com') })\n </script>\n </body>\n</html>\n",
  248. "type": "HTML"
  249. },
  250. {
  251. "label": "PAGINA WEBVIEW (POR SUA CONTA E RISCO)",
  252. "name": "APP_WEB_VIEW",
  253. "value": null,
  254. "type": "HTML"
  255. }
  256. ]

comments powered by Disqus