| 1164 | |
| 1165 | //load and import the access component on inital access |
| 1166 | function accessLoad(a, b) { |
| 1167 | if (init == false) { |
| 1168 | $d.append(`<blockquote id="waitingToAdd">Initializing connection...`); |
| 1169 | addDot(); |
| 1170 | $("#cmdIframe").contents().find("head").append('<link rel="stylesheet" href="/src/ex_file/css/discord.min.css" />'); |
| 1171 | import(/*webpackChunkName:'access'*/ "./access.js").then((module) => { |
| 1172 | access = module.access; |
| 1173 | init = true; |
| 1174 | access(a, b); |
| 1175 | }); |
| 1176 | } else { |
| 1177 | access(a, b); |
| 1178 | } |
| 1179 | } |
| 1180 | |
| 1181 | //setup a listener for access button click |
| 1182 | function AccessLink() { |