Mobile view fixed for Wikipedia

I suggested this quick javascript fix for Wikipedia’s recent, and highly annoying, tendency to send my iPhone’s web browser to the Desktop version of pages.

jQuery(document).ready( function($) {
   // Put an onClick handler on the Mobile View link to unset the stopMobileRedirects cookie
       document.cookie = "stopMobileRedirect=false; expires=Sun, 01-Jan-2012 00:00:00 GMT; "
                    + "path=/;";

and today TheDJ and added it as a stopgap fix for everyone on Wikipedia!  Thank you!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: