sinerider
sinerider copied to clipboard
Display warning when loading sinerider using non-standard URL (social first-play xp)
Description
We need to
- Ensure that every time you are confirmed to have played the sinerider single-player game before, we save a browser cookie to persist that fact (i.e., when sinerider's document::onload() is called, IF the URL DOES NOT contain anything after the top-level domain (suggesting a standard Sinerider play), create a cookie.
- When sinerider's document::onload() is called, and IF the URL contains anything after the top-level domain (suggesting an entry path into sinerider that might be non-standard), check for the existence of the cookie in step no. 1, and if it does not exist: a) set the cookie so the popup doesn't display again and b) display a modal popup with the following copy:
"New to Sinerider? You may want to start by playing the full game at sinerider.com!".
Screenshots
No response
Additional information
No response
@karamassie @polytroper Please approve the copy contained in this issue, I'd prefer having to do this once and only once.
Yeah sounds great. Is it possible to have a direct link in the modal? Or perhaps we have one of the buttons on the modal open a new tab to sinerider.com?
Yeah sounds great. Is it possible to have a direct link in the modal? Or perhaps we have one of the buttons on the modal open a new tab to sinerider.com?
A direct link as in the URL contained within copy should be a hyperlink? Yes that's fine. Please elaborate on the button that you speak of, where should it display what copy on the button and what behavior should it have?
It would be either/or. I think a direct link in the copy is probable best, I just wasn't sure if it's possible to hyperlink in those modals. If that's possible ignore the button remark, that was just a possible alternative to hyperlinking