User:Kalikishore/common.js

Force Wikipedia to use the desktop version. Google on mobile uses "en.m.wikipedia.org", this scripts redirects to the normal version. CC0 if(window.location.href.match(/^https?:\/\/[^.]+\.m\./)) { var desktopUrl = $('#mw-mf-display-toggle').attr('href') if(desktopUrl) { window.location.href = desktopUrl } }