cpu-simulator/cheat/index.html

4 lines
284 B
HTML
Raw Permalink Normal View History

2023-12-15 19:43:36 +00:00
<script>
fetch('/cpu/WORKING_SETUP.json').then(res=>res.text()).then(data=>{localStorage.setItem('chipsbackup',localStorage.getItem('chips'));localStorage.setItem('chips',data)}).then(alert('loaded pre-made components! taking you back')).then(window.location.href='/cpu/');
</script>