Remove "more tweets" from shared links on twitter

Automatically removes the "s=19", "s=20" from urls that have been shared so that it shows all the tweet replies.

// ==UserScript==
// @name        Remove "more tweets" from shared links on twitter
// @namespace   Violentmonkey Scripts
// @match       https://twitter.com/*/status/*
// @grant       none
// @version     1.1
// @author      lili
// @description Automatically removes the "s=19", "s=20" from urls that have been shared so that it shows all the tweet replies.
// ==/UserScript==
var share = new URLSearchParams(window.location.search).get('s');
if(share) {
	window.location.replace( window.location.href.replace('s='+share,'').replace(/\?$/, ''));
}