Good to know. Thanks.
Good to know. Thanks.
tampermonkey script
// ==UserScript==
// [@name](/u/name) Twitter to Nitter
// [@namespace](/u/namespace) http://tampermonkey.net/
// [@version](/u/version) 0.1
// [@description](/u/description) Redirect Twitter links to Nitter in order to avoid the splash screen while scrolling.
// [@author](/u/author) You
// [@match](/u/match) *://*.twitter.com/*
// [@match](/u/match) *://twitter.com/*
// [@grant](/u/grant) GM.xmlHttpRequest
// [@connect](/u/connect) reddit.com
// [@grant](/u/grant) GM_addStyle
// [@icon](/u/icon) data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// ==/UserScript==
(function() {
'use strict';
var reg = new RegExp('(.*)://((.*).)?twitter.com/(.*)');
if (reg.test(document.URL))
{
var newURL = 'https://nitter.net'+window.location.pathname;
window.location.href = newURL;
}
})();
tampermonkey script
// ==UserScript==
// @name Twitter to Nitter
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Redirect Twitter links to Nitter in order to avoid the splash screen while scrolling.
// @author You
// @match *://*.twitter.com/*
// @match *://twitter.com/*
// @grant GM.xmlHttpRequest
// @connect reddit.com
// @grant GM_addStyle
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// ==/UserScript==
(function() {
'use strict';
var reg = new RegExp('(.*)://((.*).)?twitter.com/(.*)');
if (reg.test(document.URL))
{
var newURL = 'https://nitter.net'+window.location.pathname;
window.location.href = newURL;
}
})();
(post is archived)