-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preference Cookie? #8
Comments
+1 If you have a multipage application you need the |
+1, saving the user choice in a cookie seems only logical. |
I'm not maintaining this project now, but would accept a pull request. On Tue, Jul 15, 2014 at 10:43 AM, Adrien be [email protected]
|
Does anybody does? seems like almost nothing happened since April 2013... https://github.com/borismus/device.js/graphs/contributors |
well i think if i don't want the user to have the option of switching to desktop version then i suppose device.js is proper. |
hold on this library is awesome!!! :-) |
Nice solution.
But it is not ideal if we want to let the user stay on the desktop website after using the force=1 GET parameter. (Many users like to browse the desktop version of a website even if displayed on a mobile device.)
You may want to consider creating a "preference cookie" when that parameter is used.
In such a scenario, the desktop website can offer a link to the mobile version if our user wants to go back to that version.
The text was updated successfully, but these errors were encountered: