BT - show links instead of clickbait titles

try to take over the world!

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         BT - show links instead of clickbait titles
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       johnnie johansen
// @match        https://www.bt.dk/*/*
// @grant        none
// @require      http://code.jquery.com/jquery-3.4.1.min.js
// ==/UserScript==

var $ = window.$;

$(document).ready(function(){
    run();
    function run(){
        var links = '';

        $('article').each(function(){
            let href = $(this).find('a').attr('href');
            $(this).hide();
            let title = href.replace('https://', "")
            .replace('www.','')
            .replace('bt.dk/', '')
            .replace('/', ': ');

            links = links + "<p style='display:block;width:100%;border-left:3px solid #f0f;background:#222;'>"
                + "<a style='font-size:22px;color:#FFF;display:block;padding:5px;' href=" + href + ">" + title + "</a>"
                + "<p>";
        });
        $('.aptoma-box').html(links);
    };
});