Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Twitter refined Greasemonkey / user script

Chrome install - drag + drop onto extensions window at chrome://extensions

// ==UserScript==
// @name twitter_refine
// @description Redirect desktop Wikipedia to mobile
// @match*
// @match*
// ==/UserScript==
'use strict';
var m = /twitter\.com\/(.*)/.exec(location.href)
if (m) { window.location = "" + m[1] };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment