How can I force my desktop browser to never use mobile Wikipedia links (e.g., en.m.wikipedia.org)
Often in the comments of a website someone will post a mobile Wikipedia link (e.g., https://en.m.wikipedia.org/wiki/Main_Page), presumably because their mobile browser sent them there and they copy-pasted the link.
Is there a browser extension or other solution that will convert the explicit en.m.wikipedia.org
mobile link to en.wikipedia.org
?
For my use case this specifically applies to Firefox (version 62.0a1 (2018-05-11) (64-bit) at the time of writing). However, I also often use Chrome as well.
google-chrome firefox mobile-url
add a comment |
Often in the comments of a website someone will post a mobile Wikipedia link (e.g., https://en.m.wikipedia.org/wiki/Main_Page), presumably because their mobile browser sent them there and they copy-pasted the link.
Is there a browser extension or other solution that will convert the explicit en.m.wikipedia.org
mobile link to en.wikipedia.org
?
For my use case this specifically applies to Firefox (version 62.0a1 (2018-05-11) (64-bit) at the time of writing). However, I also often use Chrome as well.
google-chrome firefox mobile-url
add a comment |
Often in the comments of a website someone will post a mobile Wikipedia link (e.g., https://en.m.wikipedia.org/wiki/Main_Page), presumably because their mobile browser sent them there and they copy-pasted the link.
Is there a browser extension or other solution that will convert the explicit en.m.wikipedia.org
mobile link to en.wikipedia.org
?
For my use case this specifically applies to Firefox (version 62.0a1 (2018-05-11) (64-bit) at the time of writing). However, I also often use Chrome as well.
google-chrome firefox mobile-url
Often in the comments of a website someone will post a mobile Wikipedia link (e.g., https://en.m.wikipedia.org/wiki/Main_Page), presumably because their mobile browser sent them there and they copy-pasted the link.
Is there a browser extension or other solution that will convert the explicit en.m.wikipedia.org
mobile link to en.wikipedia.org
?
For my use case this specifically applies to Firefox (version 62.0a1 (2018-05-11) (64-bit) at the time of writing). However, I also often use Chrome as well.
google-chrome firefox mobile-url
google-chrome firefox mobile-url
edited Nov 18 '18 at 16:23
fixer1234
18.9k144982
18.9k144982
asked May 13 '18 at 1:02
Andrew KeetonAndrew Keeton
3772817
3772817
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
You may use the Redirector add-on, available on
Firefox
and
Chrome :
This simple extension allows you to redirect urls using the power of regular expressions.
For example, you can have all mobile Wikipedia urls to open in desktop mode (this is convered in the tutorial below).
For documentation, visit the product home page for a tutorial with this example :
To set up a redirect for mobile Wikipedia urls, enter the following:
From: ^http://(.*?).m.wikipedia.org/(.*)
To: http://$1.wikipedia.org/$2
As another possibility, you could also use the Firefox add-on
Greasemonkey,
available on Chrome under the name of
Tampermonkey.
You could use this
Greasemonkey script which redirects Wikipedia mobile to the desktop version :
// ==UserScript==
// @name wikipedia_desktop_redirect
// @namespace https://jspenguin.org/monkey
// @description Redirect mobile wikipedia to desktop version
// @include http://*.m.wikipedia.org/*
// @include https://*.m.wikipedia.org/*
// @version 1
// @grant none
// ==/UserScript==
var m = /^(https?://.*).m(.wikipedia.org/.*)/.exec(location.href);
if (m) location.href = m[1] + m[2];
1
Is it secure? This seem to be some type of JavaScript. May it redirect to malicious website?
– Biswapriyo
May 17 '18 at 21:00
Redirector is exactly what I needed, thanks. I changedhttp
tohttps
FYI.
– Andrew Keeton
May 17 '18 at 21:16
1
@Biswapriyo: Should be quite secure. AFAIK redirection rules can only be modified by the manual interface.
– harrymc
May 18 '18 at 6:03
add a comment |
https://addons.mozilla.org/en-US/firefox/addon/skip-mobile-wikipedia/
Here is a Firefox extension if you don't want to use such a big hammer (Redirector) for such a small nail (just mobile Wikipedia links).
add a comment |
Mobile-user-agent extensions will help:
For Firefox: Mobile View Switcher
For Chrome: User-Agent Switcher for Chrome
Off-course there are serval others you just have to browse the addon-stores!
This is the opposite of what my question is about. But it has the side effect of I "only" need to click the extension twice to go fromen.m.wikipedia.org
toen.wikipedia.org
. "Only" in the sense that I might as well hand-edit the URL instead.
– Andrew Keeton
May 13 '18 at 19:19
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1322213%2fhow-can-i-force-my-desktop-browser-to-never-use-mobile-wikipedia-links-e-g-en%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You may use the Redirector add-on, available on
Firefox
and
Chrome :
This simple extension allows you to redirect urls using the power of regular expressions.
For example, you can have all mobile Wikipedia urls to open in desktop mode (this is convered in the tutorial below).
For documentation, visit the product home page for a tutorial with this example :
To set up a redirect for mobile Wikipedia urls, enter the following:
From: ^http://(.*?).m.wikipedia.org/(.*)
To: http://$1.wikipedia.org/$2
As another possibility, you could also use the Firefox add-on
Greasemonkey,
available on Chrome under the name of
Tampermonkey.
You could use this
Greasemonkey script which redirects Wikipedia mobile to the desktop version :
// ==UserScript==
// @name wikipedia_desktop_redirect
// @namespace https://jspenguin.org/monkey
// @description Redirect mobile wikipedia to desktop version
// @include http://*.m.wikipedia.org/*
// @include https://*.m.wikipedia.org/*
// @version 1
// @grant none
// ==/UserScript==
var m = /^(https?://.*).m(.wikipedia.org/.*)/.exec(location.href);
if (m) location.href = m[1] + m[2];
1
Is it secure? This seem to be some type of JavaScript. May it redirect to malicious website?
– Biswapriyo
May 17 '18 at 21:00
Redirector is exactly what I needed, thanks. I changedhttp
tohttps
FYI.
– Andrew Keeton
May 17 '18 at 21:16
1
@Biswapriyo: Should be quite secure. AFAIK redirection rules can only be modified by the manual interface.
– harrymc
May 18 '18 at 6:03
add a comment |
You may use the Redirector add-on, available on
Firefox
and
Chrome :
This simple extension allows you to redirect urls using the power of regular expressions.
For example, you can have all mobile Wikipedia urls to open in desktop mode (this is convered in the tutorial below).
For documentation, visit the product home page for a tutorial with this example :
To set up a redirect for mobile Wikipedia urls, enter the following:
From: ^http://(.*?).m.wikipedia.org/(.*)
To: http://$1.wikipedia.org/$2
As another possibility, you could also use the Firefox add-on
Greasemonkey,
available on Chrome under the name of
Tampermonkey.
You could use this
Greasemonkey script which redirects Wikipedia mobile to the desktop version :
// ==UserScript==
// @name wikipedia_desktop_redirect
// @namespace https://jspenguin.org/monkey
// @description Redirect mobile wikipedia to desktop version
// @include http://*.m.wikipedia.org/*
// @include https://*.m.wikipedia.org/*
// @version 1
// @grant none
// ==/UserScript==
var m = /^(https?://.*).m(.wikipedia.org/.*)/.exec(location.href);
if (m) location.href = m[1] + m[2];
1
Is it secure? This seem to be some type of JavaScript. May it redirect to malicious website?
– Biswapriyo
May 17 '18 at 21:00
Redirector is exactly what I needed, thanks. I changedhttp
tohttps
FYI.
– Andrew Keeton
May 17 '18 at 21:16
1
@Biswapriyo: Should be quite secure. AFAIK redirection rules can only be modified by the manual interface.
– harrymc
May 18 '18 at 6:03
add a comment |
You may use the Redirector add-on, available on
Firefox
and
Chrome :
This simple extension allows you to redirect urls using the power of regular expressions.
For example, you can have all mobile Wikipedia urls to open in desktop mode (this is convered in the tutorial below).
For documentation, visit the product home page for a tutorial with this example :
To set up a redirect for mobile Wikipedia urls, enter the following:
From: ^http://(.*?).m.wikipedia.org/(.*)
To: http://$1.wikipedia.org/$2
As another possibility, you could also use the Firefox add-on
Greasemonkey,
available on Chrome under the name of
Tampermonkey.
You could use this
Greasemonkey script which redirects Wikipedia mobile to the desktop version :
// ==UserScript==
// @name wikipedia_desktop_redirect
// @namespace https://jspenguin.org/monkey
// @description Redirect mobile wikipedia to desktop version
// @include http://*.m.wikipedia.org/*
// @include https://*.m.wikipedia.org/*
// @version 1
// @grant none
// ==/UserScript==
var m = /^(https?://.*).m(.wikipedia.org/.*)/.exec(location.href);
if (m) location.href = m[1] + m[2];
You may use the Redirector add-on, available on
Firefox
and
Chrome :
This simple extension allows you to redirect urls using the power of regular expressions.
For example, you can have all mobile Wikipedia urls to open in desktop mode (this is convered in the tutorial below).
For documentation, visit the product home page for a tutorial with this example :
To set up a redirect for mobile Wikipedia urls, enter the following:
From: ^http://(.*?).m.wikipedia.org/(.*)
To: http://$1.wikipedia.org/$2
As another possibility, you could also use the Firefox add-on
Greasemonkey,
available on Chrome under the name of
Tampermonkey.
You could use this
Greasemonkey script which redirects Wikipedia mobile to the desktop version :
// ==UserScript==
// @name wikipedia_desktop_redirect
// @namespace https://jspenguin.org/monkey
// @description Redirect mobile wikipedia to desktop version
// @include http://*.m.wikipedia.org/*
// @include https://*.m.wikipedia.org/*
// @version 1
// @grant none
// ==/UserScript==
var m = /^(https?://.*).m(.wikipedia.org/.*)/.exec(location.href);
if (m) location.href = m[1] + m[2];
answered May 17 '18 at 19:47
harrymcharrymc
261k14271577
261k14271577
1
Is it secure? This seem to be some type of JavaScript. May it redirect to malicious website?
– Biswapriyo
May 17 '18 at 21:00
Redirector is exactly what I needed, thanks. I changedhttp
tohttps
FYI.
– Andrew Keeton
May 17 '18 at 21:16
1
@Biswapriyo: Should be quite secure. AFAIK redirection rules can only be modified by the manual interface.
– harrymc
May 18 '18 at 6:03
add a comment |
1
Is it secure? This seem to be some type of JavaScript. May it redirect to malicious website?
– Biswapriyo
May 17 '18 at 21:00
Redirector is exactly what I needed, thanks. I changedhttp
tohttps
FYI.
– Andrew Keeton
May 17 '18 at 21:16
1
@Biswapriyo: Should be quite secure. AFAIK redirection rules can only be modified by the manual interface.
– harrymc
May 18 '18 at 6:03
1
1
Is it secure? This seem to be some type of JavaScript. May it redirect to malicious website?
– Biswapriyo
May 17 '18 at 21:00
Is it secure? This seem to be some type of JavaScript. May it redirect to malicious website?
– Biswapriyo
May 17 '18 at 21:00
Redirector is exactly what I needed, thanks. I changed
http
to https
FYI.– Andrew Keeton
May 17 '18 at 21:16
Redirector is exactly what I needed, thanks. I changed
http
to https
FYI.– Andrew Keeton
May 17 '18 at 21:16
1
1
@Biswapriyo: Should be quite secure. AFAIK redirection rules can only be modified by the manual interface.
– harrymc
May 18 '18 at 6:03
@Biswapriyo: Should be quite secure. AFAIK redirection rules can only be modified by the manual interface.
– harrymc
May 18 '18 at 6:03
add a comment |
https://addons.mozilla.org/en-US/firefox/addon/skip-mobile-wikipedia/
Here is a Firefox extension if you don't want to use such a big hammer (Redirector) for such a small nail (just mobile Wikipedia links).
add a comment |
https://addons.mozilla.org/en-US/firefox/addon/skip-mobile-wikipedia/
Here is a Firefox extension if you don't want to use such a big hammer (Redirector) for such a small nail (just mobile Wikipedia links).
add a comment |
https://addons.mozilla.org/en-US/firefox/addon/skip-mobile-wikipedia/
Here is a Firefox extension if you don't want to use such a big hammer (Redirector) for such a small nail (just mobile Wikipedia links).
https://addons.mozilla.org/en-US/firefox/addon/skip-mobile-wikipedia/
Here is a Firefox extension if you don't want to use such a big hammer (Redirector) for such a small nail (just mobile Wikipedia links).
answered Jan 20 at 3:55
Andrew KeetonAndrew Keeton
3772817
3772817
add a comment |
add a comment |
Mobile-user-agent extensions will help:
For Firefox: Mobile View Switcher
For Chrome: User-Agent Switcher for Chrome
Off-course there are serval others you just have to browse the addon-stores!
This is the opposite of what my question is about. But it has the side effect of I "only" need to click the extension twice to go fromen.m.wikipedia.org
toen.wikipedia.org
. "Only" in the sense that I might as well hand-edit the URL instead.
– Andrew Keeton
May 13 '18 at 19:19
add a comment |
Mobile-user-agent extensions will help:
For Firefox: Mobile View Switcher
For Chrome: User-Agent Switcher for Chrome
Off-course there are serval others you just have to browse the addon-stores!
This is the opposite of what my question is about. But it has the side effect of I "only" need to click the extension twice to go fromen.m.wikipedia.org
toen.wikipedia.org
. "Only" in the sense that I might as well hand-edit the URL instead.
– Andrew Keeton
May 13 '18 at 19:19
add a comment |
Mobile-user-agent extensions will help:
For Firefox: Mobile View Switcher
For Chrome: User-Agent Switcher for Chrome
Off-course there are serval others you just have to browse the addon-stores!
Mobile-user-agent extensions will help:
For Firefox: Mobile View Switcher
For Chrome: User-Agent Switcher for Chrome
Off-course there are serval others you just have to browse the addon-stores!
answered May 13 '18 at 1:20
Stackcraft_noobStackcraft_noob
1,322313
1,322313
This is the opposite of what my question is about. But it has the side effect of I "only" need to click the extension twice to go fromen.m.wikipedia.org
toen.wikipedia.org
. "Only" in the sense that I might as well hand-edit the URL instead.
– Andrew Keeton
May 13 '18 at 19:19
add a comment |
This is the opposite of what my question is about. But it has the side effect of I "only" need to click the extension twice to go fromen.m.wikipedia.org
toen.wikipedia.org
. "Only" in the sense that I might as well hand-edit the URL instead.
– Andrew Keeton
May 13 '18 at 19:19
This is the opposite of what my question is about. But it has the side effect of I "only" need to click the extension twice to go from
en.m.wikipedia.org
to en.wikipedia.org
. "Only" in the sense that I might as well hand-edit the URL instead.– Andrew Keeton
May 13 '18 at 19:19
This is the opposite of what my question is about. But it has the side effect of I "only" need to click the extension twice to go from
en.m.wikipedia.org
to en.wikipedia.org
. "Only" in the sense that I might as well hand-edit the URL instead.– Andrew Keeton
May 13 '18 at 19:19
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1322213%2fhow-can-i-force-my-desktop-browser-to-never-use-mobile-wikipedia-links-e-g-en%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown