mirror of
https://github.com/servo/servo.git
synced 2025-06-28 19:13:41 +01:00
15 lines
309 B
HTML
15 lines
309 B
HTML
<script src="./dispatcher.js"></script>
|
|
<script>
|
|
|
|
const params = new URLSearchParams(window.location.search);
|
|
const uuid = params.get('uuid');
|
|
|
|
let executeOrders = async function() {
|
|
while(true) {
|
|
let task = await receive(uuid);
|
|
eval(`(async () => {${task}})()`);
|
|
}
|
|
};
|
|
executeOrders();
|
|
|
|
</script>
|