26:
This script automatically redirects to desktop site when mobile links are opened on desktop. It does not change the behavior on mobile devices (unless desktop mode is enabled).
55:
38:
https://en.wikipedia.org/search/?title=User:Aveaoz/AutoMobileRedirect.js&action=raw&ctype=text/javascript
43:
58:, and as such most credit goes there. I also based this page on that documentation page.
17:
62:
54:
This is a very lazy script and just adds an extra check to
37:
61:The mobile device detection logic is based on
8:
63:https://stackoverflow.com/a/7995898/3286892
7:
56:User:Þjarkur/NeverUseMobileVersion
24:
1:
79:
70:
41:
36:mw.loader.load("
78:
77:
73:
72:
71:
69:
68:
67:
35:
22:
21:
20:
12:
11:
5:
76:
74:
44:common.js file
23:
15:
14:
13:
10:
9:
6:
4:
3:
2:
75:
66:
64:
59:
57:
52:
51:
47:
45:
39:
32:
31:
27:
19:
60:
53:
49:
48:
33:
30:Installation
29:
28:
25:
18:User:Aveaoz
50:Thanks to
42:to your
16:<
34:Add
40:");
65:.
46:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.