mrflix / Uberspace stay in tab

// ==UserScript==
// @name         Uberspace stay in tab
// @namespace    https://felixniklas.com/
// @version      1.0
// @description  The login and join links usually open in a new tab. This extension keeps them in check.
// @author       Felix Niklas
// @license      MIT
// @match        https://uberspace.de/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    document.querySelectorAll('[target="_blank"]').forEach(function(el){
        el.removeAttribute('target');
    });
})();