News for hackers. Stuff that matters.
Re:I made a smooth shadows generator by splatzone on Tuesday June 20, 2023 @06:35AM (#36402053)
Really cool, and I can see my designer friends enjoying this.

My only gripe is that it seems to break my back button in Firefox

Re:I made a smooth shadows generator by jimkoen on Tuesday June 20, 2023 @06:37AM (#36402070)
The entire Apps state seems to be encoded in the URL, so each change also generates a completely new one. This breaks the state for me, I suppose Firefox doesn't like when you update the URL with every drag of a slider.
Re:I made a smooth shadows generator by JimDabell on Tuesday June 20, 2023 @06:40AM (#36402098)
Breaking the back button isn’t necessary for this; all they need to do is call `history.replaceState()` instead of `history.pushState()`.
Re:I made a smooth shadows generator by marttilaine on Tuesday June 20, 2023 @06:51AM (#36402186)
Thank you all for the feedback on this! I agree. It didn't seem like such an issue during development, but that was a misjudgement. Removed that functionality now. Should not add to history anymore (shareable URLs should still work).