User:NguoiDungKhongDinhDanh/NeverUseMobileVersion.js

// For attribution: en:User:Þjarkur/NeverUseMobileVersion

if (window.location.href.match(/^https?:\/\/m\./)) { var desktopUrl = $('#mw-mf-display-toggle').attr('href'); if (desktopUrl) { window.location.href = desktopUrl } }