Notice: Welcome to TinyChan, an account has automatically been created and assigned to you, you don't have to register or log in to use the board, but don't clear your cookies unless you have set a memorable name and password. Alternatively, you can restore your ID. The use of this site requires cookies to be enabled; please cease browsing this site if you don't consent.

TinyChan

New reply in topic: Bytebeat/Floatbeat/Funcbeat

You are not recognized as the original poster of this topic.

:

You are required to fill in a captcha for your first 5 posts. Sorry, but this is required to stop people from posting while drunk. Please be responsible and don't drink and post!
If you receive this often, consider not clearing your cookies.

Please familiarise yourself with the rules and markup syntax before posting.


Replying to Phoneposter…

One thing I've noticed about Greggman's HTML5 Bytebeat is that instead of simply setting
window.location.hash
(which would add a new entry to the history), it uses
window.location.replace()
to change the URL without adding a new history entry. This method updates the URL without creating additional entries in the browser's history stack, whereas Dollchan does
window.location.hash=`#v3b64${btoa(String.fromCharCode.apply(undefined,deflateRaw(JSON.stringify(songData)))).replaceAll("=","")}`;
every time you type a character which is annoying ('cause it floods your history). Besides, there's also
window.history.replaceState(null,"",URL)