User:Thewolfchild/common.js

importScript( 'User:Fred Gandt/confirmLogout.js' ); // Backlink: User:Fred Gandt/confirmLogout.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 } }