User:Jelincic/common.js

jQuery(document).ready( function($) {   // Put an onClick handler on the Mobile View link to unset the stopMobileRedirects cookie    $('a[href$="toggle_view_mobile"]').click(function{ document.cookie = 'stopMobileRedirect=false; domain=.wikipedia.org;' + 'expires=Thu, 01-Jan-1970 00:00:00 GMT; path=/;'; }); });