I'm using History.js and all is working fine.
Except for when there is a quote in the URL.
Then instead of working properly, the page loads and suddenly the statechange event is fired and my binded function is called.
This happens when users hit my site after it was liked on Facebook and they clicked on the link, Facebook adds a bunch of parameters to the URL, for example: &action_type_map={"183745848938475":"og.likes"}
Once a user arrives to my site with a " in the url the statechange is invoked (after the page loads) and the page thinks the user is trying to navigate somewhere.
Any ideas why the event is fired and what I can do to stop this behavior?