Chrome install - drag + drop onto extensions window at chrome://extensions
Created
May 4, 2016 22:06
-
-
Save nikcub/b8cf72f564cde9000875be798e883928 to your computer and use it in GitHub Desktop.
Twitter refined Greasemonkey / user script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name twitter_refine | |
// @description Redirect desktop Wikipedia to mobile | |
// @match https://www.twitter.com/* | |
// @match https://twitter.com/* | |
// ==/UserScript== | |
'use strict'; | |
var m = /twitter\.com\/(.*)/.exec(location.href) | |
if (m) { window.location = "https://mobile.twitter.com/" + m[1] }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment