Firefox
Visit the address about:config
Search for the parameter network.stricttransportsecurity.preloadlist and change it’s value to false
Chrome
You can find some solutions on the Internet talking about the chrome://net-internals/#hsts but this doesn’t seem to be working. if you know a working solution, please let me know in the comments section.