nickpapoutsis / Twitter - Larger Font Tweets

// ==UserScript==
// @name             Twitter - Larger Font Tweets
// @description      Tweets now have a larger font
// @namespace        nickpapoutsis
// @author           nickpapoutsis
// @copyright        2019, nickpapoutsis (https://openuserjs.org/users/nickpapoutsis)
// @contributionURL  https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A6EL76QADA2YY&source=url
// @license          MIT
// @include          https://twitter.com/*
// @include          https://*.twitter.com/*
// @version          0.2
// @grant            none
// @icon             data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAAB3RJTUUH4wESECMG0JgEDAAAC+tJREFUeNrdm2lwXNWVx3/3vvd6U0tqSdbm3fIWbLwkDiSGhBQhzgSoAjP+QFIsw0zhMMW4auIxIROYMJXATBhIqEyqSDwZJgFmHE8qIUklEEiCy0BsYrAJxptsI1sx1mptrW6pu99273xoocWS7NbSbjH/L11Sv373/v/vnHvOPfc8wRiYdcd9dD77OOb2P6Jq61ChKGgFWmcv0BqipbAUkICmMBBABjiZAc8Z+YWUWG4aq+EgtVs30H397fS8+D+jbmEO/6Nk7dU4X38O508vw6sgM/1R3RdfY6WT8/yiWLUyA6Hs/QUkewzxphMZmEYBIXxtBVMIMfgYDOV6RiLeitYtwkkfPHVGx2MvvEZsyxOoB28hcXDvaAFK1l5N4uk9yDMdlL/5vJle+tG/cOvW/p02zKt8IYoRQo4YVxroQLiw3MeBL0384gol0Clv+cf2B9/483+Z6eTPU/GudOrtPZSv30D3vpez8g2Sf/QlRG8nMt5RoitqH9Shoi9qacQKTWY6ILTOSDv1bOj4vofcRavbnc8vpuTDnyBxcG9WgJqnXqe7qBIvnSpRs2b/K2bgXgpu2tMMrTHSyZ2hk/u36gWXtQdiFcRvrMKouukujNJZrPrWrbJp4z98V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7wyPW4ZK1VxP6wjZk4xHab7yXZU9/2WzccM9cr7RymSouW4Y0ohTuXfGcYSjfMdKJd2Vv59Hi3z/d3HXPd5zSnz2Gv2gV7Hh0xMvTYwaiWdfciHPHQ4RO7qfnsqvxKuejTYucOg5mBASG9jE7mwi9/TLp72wlcsW1xPfvHnXl/wHJz+TRcjz27AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0wMS0xOFQxNTozNTowNiswMTowMNPCZCQAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMDEtMThUMTU6MzU6MDYrMDE6MDCin9yYAAAAK3RFWHRDb21tZW50AFJlc2l6ZWQgb24gaHR0cHM6Ly9lemdpZi5jb20vcmVzaXplQmmNLQAAABJ0RVh0U29mdHdhcmUAZXpnaWYuY29toMOzWAAAAABJRU5ErkJggg==
// ==/UserScript==

(function() {
    'use strict';

    replace();

    new MutationObserver(replace).observe(document.getElementById("stream-items-id"), {
        childList: true,
        subtree: true
    });


    function replace(){

        var target = document.getElementsByClassName("TweetTextSize")

        for (let i = 0; i < target.length; i++){
            target[i].classList.remove("TweetTextSize--normal");
            target[i].classList.add("TweetTextSize--large");
        }}
})();