3 ms·
Nice and to the point. I clicked on the "..." bubble out of curiousity, and it brought up some ad, which is fine. When I went to leave by hitting back, the ad c
by mysterydip 5y ago
Nice and to the point. I clicked on the "..." bubble out of curiousity, and it brought up some ad, which is fine. When I went to leave by hitting back, the ad came up again. I had to hit back again to close it, then back to come here. Just FYI.
- neet-vc 5y agoThanks. I think this is a consequence of me using URL hashes for modal state instead of implementing my own logic. That modal is also for resetting your score, if you'd like.
- koolba 5y agoURL based state is fine but you should use “replace” or “replaceState” so that each new location isn’t considered a new history page: https://developer.mozilla.org/en-US/docs/Web/API/Location/replace https://developer.mozilla.org/en-US/docs/Web/API/Location/re... https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState https://developer.mozilla.org/en-US/docs/Web/API/History/rep...
- neet-vc 5y agoRight, I was using CSS :target and plain links without click handlers.
- neet-vc 5y agoFixed -- thanks again for surfacing this.